Skip to content

chore: remove redundant black pin from dev requirements - #278

Merged
andrii-bodnar merged 1 commit into
mainfrom
chore/remove-black-dev-pin
Sep 3, 2026
Merged

chore: remove redundant black pin from dev requirements#278
andrii-bodnar merged 1 commit into
mainfrom
chore/remove-black-dev-pin

Conversation

@andrii-bodnar

Copy link
Copy Markdown
Member

black is supplied by pre-commit via black-pre-commit-mirror in its own isolated environment, so the requirements-dev.txt pin was unused by CI (which runs only flake8 and pytest) and disagreed with the hook rev (23.3.0 vs 23.9.1). Removing it also clears two FOSSA findings against black 23.3.0, neither of which applies here: CVE-2026-31900 affects the psf/black GitHub Action (not used in this repo) and CVE-2026-32274 was introduced in 24.3.0. Bumping the pin instead is not an option, since black >= 25.12.0 requires Python 3.10+ while CI installs these requirements on 3.8 and 3.9.

black is supplied by pre-commit via black-pre-commit-mirror in its own
isolated environment, so the requirements-dev.txt pin was unused by CI
(which runs only flake8 and pytest) and disagreed with the hook rev
(23.3.0 vs 23.9.1). Removing it also clears two FOSSA findings against
black 23.3.0, neither of which applies here: CVE-2026-31900 affects the
psf/black GitHub Action (not used in this repo) and CVE-2026-32274 was
introduced in 24.3.0. Bumping the pin instead is not an option, since
black >= 25.12.0 requires Python 3.10+ while CI installs these
requirements on 3.8 and 3.9.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@andrii-bodnar
andrii-bodnar merged commit dbbe0a9 into main Sep 3, 2026
6 checks passed
@andrii-bodnar
andrii-bodnar deleted the chore/remove-black-dev-pin branch September 3, 2026 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant