Skip to content

Update dependencies for setuptools and markdownlint-cli#84

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

Update dependencies for setuptools and markdownlint-cli#84
bybatkhuu merged 5 commits into
mainfrom
dev

Conversation

@bybatkhuu

Copy link
Copy Markdown
Owner

This pull request introduces several improvements to the CI/CD workflows, dependency management, and pre-commit configuration. The main highlights include updating GitHub Actions to use newer versions, adding a dedicated pre-commit workflow, and adjusting dependency version constraints for better compatibility and maintainability.

CI/CD Workflow Updates:

  • Updated actions/setup-python to version 7 in .github/workflows/2.build-publish.yml and .github/workflows/publish-docs.yml for improved compatibility and security. [1] [2] [3]
  • Added a new .github/workflows/pre-commit.yml workflow to automatically run pre-commit checks on pull requests targeting main and dev branches, ensuring code quality before merging.

Pre-commit and Linting Configuration:

  • Upgraded markdownlint-cli in .pre-commit-config.yaml from v0.49.0 to v0.49.1 for the latest markdown linting improvements.
  • Reactivated the local pyright static type checker hook in .pre-commit-config.yaml, ensuring type checks are run as part of pre-commit hooks.

Dependency Version Updates:

  • Relaxed the upper bound for setuptools in both pyproject.toml and requirements/requirements.build.txt from <83.0.0 to <84.0.0 to allow newer patch releases. [1] [2]

Code Quality and Typing:

  • Added a # type: ignore comment to the sink field in LogHandlerPM to suppress type-checking errors, improving compatibility with type checkers.

dependabot Bot and others added 5 commits July 6, 2026 19:44
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

chore(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

chore(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:03
@bybatkhuu bybatkhuu added cicd [👷 CI/CD] style [🎨 Styles] labels Jul 23, 2026
@bybatkhuu
bybatkhuu merged commit 0d291f1 into main Jul 23, 2026
1 check passed

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 dependency constraints and CI/pre-commit automation to improve build compatibility and enforce code-quality checks in pull requests.

Changes:

  • Bumped setuptools upper bound from <83.0.0 to <84.0.0 in build requirements.
  • Updated pre-commit tooling (markdownlint-cli rev bump; re-enabled local pyright hook).
  • Added a dedicated GitHub Actions workflow to run pre-commit on PRs and updated setup-python usage in existing workflows.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/beans_logging/schemas.py Adds an inline type-check suppression for the sink field override.
requirements/requirements.build.txt Relaxes setuptools upper-bound for build tooling.
pyproject.toml Relaxes setuptools upper-bound for build-system requirements.
.pre-commit-config.yaml Updates markdownlint-cli and enables a local pyright hook.
.github/workflows/publish-docs.yml Updates Python setup action version in the docs publish workflow.
.github/workflows/pre-commit.yml Introduces a new workflow to run pre-commit on PRs.
.github/workflows/2.build-publish.yml Updates Python setup action version in build/publish workflow.

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

class LogHandlerPM(LoguruHandlerPM):
type_: LogHandlerTypeEnum = Field(default=LogHandlerTypeEnum.UNKNOWN)
sink: _SinkType | None = Field(default=None)
sink: _SinkType | None = Field(default=None) # type: ignore
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