Skip to content

Update dependencies for setuptools and markdownlint-cli - #62

Merged
bybatkhuu merged 7 commits into
mainfrom
dev
Jul 23, 2026
Merged

bybatkhuu merged 7 commits into
mainfrom
dev

Conversation

@bybatkhuu

Copy link
Copy Markdown
Owner

This pull request introduces several updates to the CI/CD workflows, dependency management, and pre-commit configuration. The main changes include adding a new pre-commit workflow, upgrading the setuptools version constraint, updating various GitHub Actions to newer versions, and making minor improvements to pre-commit hooks.

CI/CD Workflow Improvements:

  • Added a new .github/workflows/pre-commit.yml workflow to automatically run pre-commit checks on pull requests targeting main or dev branches. This ensures code quality by running linting and formatting checks before merging.
  • Updated actions/setup-python to version v7 in all relevant workflow files (2.build-publish.yml, publish-docs.yml) to use the latest features and security updates. [1] [2] [3]

Dependency Updates:

  • Increased the upper bound for setuptools from <83.0.0 to <84.0.0 in both pyproject.toml and requirements/requirements.build.txt to allow compatibility with newer releases. [1] [2]
  • Updated the beans_logging submodule to a newer commit, likely pulling in upstream fixes or improvements.

Pre-commit Configuration Updates:

  • Upgraded markdownlint-cli pre-commit hook from v0.49.0 to v0.49.1, and updated the commented-out pyright-python hook version. [1] [2]
  • Removed commented-out local test hooks (pytest-collect, pytest) from .pre-commit-config.yaml for clarity.

dependabot Bot and others added 5 commits July 6, 2026 12:14
Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](pypa/setuptools@v70.3.0...v83.0.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-version: 83.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…te-70.3.0-and-lt-84.0.0

build(deps): update setuptools requirement from <83.0.0,>=70.3.0 to >=70.3.0,<84.0.0
Bumps [https://github.com/igorshubovych/markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) from v0.49.0 to 0.49.1.
- [Release notes](https://github.com/igorshubovych/markdownlint-cli/releases)
- [Commits](igorshubovych/markdownlint-cli@v0.49.0...v0.49.1)

---
updated-dependencies:
- dependency-name: https://github.com/igorshubovych/markdownlint-cli
  dependency-version: 0.49.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…-/github.com/igorshubovych/markdownlint-cli-0.49.1

build(deps): bump https://github.com/igorshubovych/markdownlint-cli from v0.49.0 to 0.49.1
@bybatkhuu bybatkhuu self-assigned this Jul 23, 2026
Copilot AI review requested due to automatic review settings July 23, 2026 12:12
@bybatkhuu bybatkhuu added cicd [👷 CI/CD] style [🎨 Styles] labels Jul 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates build tooling and CI automation to keep dependency constraints current and to enforce code-quality checks via pre-commit on pull requests.

Changes:

  • Bumped the setuptools upper bound from <83.0.0 to <84.0.0 in build requirements and pyproject.toml.
  • Updated CI workflows to use actions/setup-python@v7.
  • Added a new PR-triggered workflow to run pre-commit checks; updated the markdownlint-cli hook version and cleaned up commented-out hooks.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
requirements/requirements.build.txt Expands setuptools constraint upper bound for build tooling.
pyproject.toml Aligns build-system requires setuptools upper bound with build requirements.
.pre-commit-config.yaml Updates markdownlint-cli version and removes stale commented-out hooks.
.github/workflows/publish-docs.yml Updates Python setup action to actions/setup-python@v7.
.github/workflows/pre-commit.yml Introduces a new PR pre-commit workflow (with a couple of adjustments recommended).
.github/workflows/2.build-publish.yml Updates Python setup action references to actions/setup-python@v7.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +14 to +16
pre-commit:
name: Run pre-commit checks
runs-on: ubuntu-24.04
Comment on lines +18 to +22
- name: Checkout repository
uses: actions/checkout@v7
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
@bybatkhuu
bybatkhuu merged commit 7e3ba5b into main Jul 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cicd [👷 CI/CD] style [🎨 Styles]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants