From 49e9ca2d1cd864d19718be355351f1e94b649ff2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Oct 2026 05:54:21 +0000 Subject: [PATCH 1/2] chore: bump black Bumps the python-dependencies group with 1 update: [black](https://github.com/psf/black). Updates `black` from 26.5.1 to 26.10.1 - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/26.5.1...26.10.1) --- updated-dependencies: - dependency-name: black dependency-version: 26.10.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: python-dependencies ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 46c6f5e..a4644fd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,7 @@ dev = [ "tiktoken>=0.7.0", "pytest-timeout>=2.3.0", "pytest-cov>=5.0.0", - "black==26.5.1", + "black==26.10.1", ] [project.scripts] From 936a778807f65e41854fb39eddb684efbfee249b Mon Sep 17 00:00:00 2001 From: Tony Lin Date: Tue, 13 Oct 2026 14:15:44 +0800 Subject: [PATCH 2/2] ci: pin black to 26.10.1 in CI and pre-commit The dev extra now requires black==26.10.1, but the CI lint job and pre-commit config still pinned black to 26.5.1, causing pip dependency resolution to fail (CI lint job). Keep all three pins in sync as the comment in ci.yml requires. No formatting changes are needed under black 26.10.1. Signed-off-by: hlin99 --- .github/workflows/ci.yml | 2 +- .pre-commit-config.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f0fe461..3f893a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: with: {python-version: "3.12"} # Pinned to the revisions in .pre-commit-config.yaml so the two gates # cannot disagree; bump both together. - - run: pip install -e ".[dev]" ruff isort==5.13.2 black==26.5.1 + - run: pip install -e ".[dev]" ruff isort==5.13.2 black==26.10.1 - run: ruff check . - run: isort --check-only --diff . - run: black --check --diff xpyd diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 67a363a..35facf7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,7 @@ repos: args: [--fix=lf] - repo: https://github.com/psf/black - rev: 26.5.1 + rev: 26.10.1 hooks: - id: black language_version: python3