From a73eed2b5d6dbc78e95482dbd79809b4bd6dd1fd Mon Sep 17 00:00:00 2001 From: Natalia <124304+nessita@users.noreply.github.com> Date: Tue, 24 Feb 2026 16:21:05 -0300 Subject: [5.2.x] Pinned black == 25.12.0 in GitHub actions, pre-commit and test requirements. --- .github/workflows/linters.yml | 2 +- .pre-commit-config.yaml | 4 ++-- tests/requirements/py3.txt | 2 +- tox.ini | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 936f2f90e5..dfe5afd8a3 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -68,7 +68,7 @@ jobs: with: persist-credentials: false - name: black - uses: psf/black@stable + uses: psf/black@25.12.0 zizmor: runs-on: ubuntu-latest diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d22066cbde..38644c9c74 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/psf/black-pre-commit-mirror - rev: 25.1.0 + rev: 25.12.0 hooks: - id: black exclude: \.py-tpl$ @@ -9,7 +9,7 @@ repos: hooks: - id: blacken-docs additional_dependencies: - - black==25.1.0 + - black==25.12.0 files: 'docs/.*\.txt$' args: ["--rst-literal-block"] - repo: https://github.com/PyCQA/isort diff --git a/tests/requirements/py3.txt b/tests/requirements/py3.txt index a9679af97c..bc5b290b34 100644 --- a/tests/requirements/py3.txt +++ b/tests/requirements/py3.txt @@ -2,7 +2,7 @@ aiosmtpd asgiref >= 3.8.1 argon2-cffi >= 19.2.0 bcrypt -black +black == 25.12.0 docutils >= 0.19 geoip2 jinja2 >= 2.11.0 diff --git a/tox.ini b/tox.ini index 7781a1ab6a..d80ad03c3d 100644 --- a/tox.ini +++ b/tox.ini @@ -38,7 +38,7 @@ commands = [testenv:black] basepython = python3 usedevelop = false -deps = black +deps = black == 25.12.0 changedir = {toxinidir} commands = black --check --diff . -- cgit v1.3