diff --git a/.github/workflows/diff_shades.yml b/.github/workflows/diff_shades.yml index 59a59bbe49c..01de92c0a97 100644 --- a/.github/workflows/diff_shades.yml +++ b/.github/workflows/diff_shades.yml @@ -24,6 +24,7 @@ concurrency: env: HATCH_BUILD_HOOKS_ENABLE: "1" + PIP_UPLOADED_PRIOR_TO: P2D # Clang is less picky with the C code it's given than gcc (and may generate faster # binaries too). CC: clang-18 @@ -44,8 +45,10 @@ jobs: - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: "3.13" - pip-version: "25.3" - pip-install: --group diff-shades --group diff-shades-comment + pip-version: "26.1" + + - name: Install dependencies + run: python -m pip install --group diff-shades --group diff-shades-comment - name: Calculate run configuration & metadata id: set-config @@ -73,8 +76,10 @@ jobs: - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: "3.13" - pip-version: "25.3" - pip-install: --group diff-shades + pip-version: "26.1" + + - name: Install dependencies + run: python -m pip install --group diff-shades - name: Configure git run: | @@ -128,8 +133,10 @@ jobs: - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: "3.13" - pip-version: "25.3" - pip-install: --group diff-shades + pip-version: "26.1" + + - name: Install dependencies + run: python -m pip install --group diff-shades - name: Configure git run: | @@ -196,8 +203,10 @@ jobs: - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: "3.13" - pip-version: "25.3" - pip-install: --group diff-shades --group diff-shades-comment + pip-version: "26.1" + + - name: Install dependencies + run: python -m pip install --group diff-shades --group diff-shades-comment - name: Generate HTML diff report run: | diff --git a/.github/workflows/diff_shades_comment.yml b/.github/workflows/diff_shades_comment.yml index 106177b422f..fc0c3809975 100644 --- a/.github/workflows/diff_shades_comment.yml +++ b/.github/workflows/diff_shades_comment.yml @@ -7,6 +7,9 @@ on: permissions: {} +env: + PIP_UPLOADED_PRIOR_TO: P2D + jobs: comment: runs-on: ubuntu-latest @@ -81,8 +84,10 @@ jobs: - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: "3.13" - pip-version: "25.3" - pip-install: --group diff-shades-comment + pip-version: "26.1" + + - name: Install dependencies + run: python -m pip install --group diff-shades-comment - name: Get PR number id: pr diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7daed152958..2b2ad577669 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -10,6 +10,9 @@ on: permissions: contents: read +env: + PIP_UPLOADED_PRIOR_TO: P2D + jobs: docs: # We want to run on external PRs, but not on our own internal PRs as they'll be run @@ -34,8 +37,10 @@ jobs: uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: "3.13" - pip-version: "25.3" - pip-install: -e .[d] --group docs + pip-version: "26.1" + + - name: Install dependencies + run: python -m pip install -e ".[d]" --group docs - name: Build documentation run: sphinx-build -a -b html -W --keep-going docs/ docs/_build diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index e50a9828944..3454c460b2b 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -18,6 +18,9 @@ concurrency: permissions: contents: read +env: + PIP_UPLOADED_PRIOR_TO: P2D + jobs: fuzz: runs-on: ubuntu-latest @@ -37,8 +40,10 @@ jobs: with: python-version: ${{ matrix.python-version }} allow-prereleases: true - pip-version: "25.3" - pip-install: --group tox + pip-version: "26.1" + + - name: Install dependencies + run: python -m pip install --group tox - name: Run fuzz tests id: fuzz diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4a0c76682fd..28f487ced33 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -4,6 +4,9 @@ on: [push, pull_request] permissions: {} +env: + PIP_UPLOADED_PRIOR_TO: P2D + jobs: lint: # We want to run on external PRs, but not on our own internal PRs as they'll be run @@ -31,8 +34,10 @@ jobs: uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: "3.13" - pip-version: "25.3" - pip-install: -e . --group tox + pip-version: "26.1" + + - name: Install dependencies + run: python -m pip install -e . --group tox - name: Run pre-commit hooks uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 diff --git a/.github/workflows/publish_binaries.yml b/.github/workflows/publish_binaries.yml index 5a496b957ed..2e86889029f 100644 --- a/.github/workflows/publish_binaries.yml +++ b/.github/workflows/publish_binaries.yml @@ -11,6 +11,9 @@ on: permissions: {} +env: + PIP_UPLOADED_PRIOR_TO: P2D + jobs: publish: name: publish (${{ matrix.os }}) @@ -51,8 +54,10 @@ jobs: uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: "3.13" - pip-version: "25.3" - pip-install: .[colorama] --group pyinstaller + pip-version: "26.1" + + - name: Install dependencies + run: python -m pip install ".[colorama]" --group pyinstaller - name: Build executable with PyInstaller run: diff --git a/.github/workflows/pypi_upload.yml b/.github/workflows/pypi_upload.yml index 7b549ea375e..bbaf8745b5d 100644 --- a/.github/workflows/pypi_upload.yml +++ b/.github/workflows/pypi_upload.yml @@ -10,6 +10,7 @@ on: permissions: {} env: + PIP_UPLOADED_PRIOR_TO: P2D PROJECT: https://pypi.org/p/black jobs: @@ -27,8 +28,10 @@ jobs: uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: "3.13" - pip-version: "25.3" - pip-install: --group cibw + pip-version: "26.1" + + - name: Install dependencies + run: python -m pip install --group cibw - name: generate matrix if: | @@ -80,8 +83,10 @@ jobs: uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: "3.13" - pip-version: "25.3" - pip-install: --group cibw + pip-version: "26.1" + + - name: Install dependencies + run: python -m pip install --group cibw - name: Run cibuildwheel run: cibuildwheel . --only ${{ matrix.only }} @@ -105,8 +110,10 @@ jobs: uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: "3.13" - pip-version: "25.3" - pip-install: --group hatch + pip-version: "26.1" + + - name: Install dependencies + run: python -m pip install --group hatch - name: Build wheel and source distributions run: python -m hatch build diff --git a/.github/workflows/release_tests.yml b/.github/workflows/release_tests.yml index 7464748e69d..883f5143e0f 100644 --- a/.github/workflows/release_tests.yml +++ b/.github/workflows/release_tests.yml @@ -14,6 +14,9 @@ on: permissions: {} +env: + PIP_UPLOADED_PRIOR_TO: P2D + jobs: test-release-tool: # We want to run on external PRs, but not on our own internal PRs as they'll be run @@ -41,8 +44,10 @@ jobs: with: python-version: ${{ matrix.python-version }} allow-prereleases: true - pip-version: "25.3" - pip-install: --group coverage + pip-version: "26.1" + + - name: Install dependencies + run: python -m pip install --group coverage - name: Print Python Version run: python --version --version && which python diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ee8a3acb1e0..4206600f7d8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,6 +20,9 @@ on: permissions: contents: read +env: + PIP_UPLOADED_PRIOR_TO: P2D + concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} cancel-in-progress: true @@ -56,8 +59,10 @@ jobs: with: python-version: ${{ matrix.python-version }} allow-prereleases: true - pip-version: "25.3" - pip-install: --group tox + pip-version: "26.1" + + - name: Install dependencies + run: python -m pip install --group tox - name: Unit tests if: "!startsWith(matrix.python-version, 'pypy')" @@ -116,8 +121,10 @@ jobs: uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: "3.13" - pip-version: "25.3" - pip-install: -e .[uvloop] + pip-version: "26.1" + + - name: Install dependencies + run: python -m pip install -e ".[uvloop]" - name: Format ourselves run: python -m black --check .