diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6938676..678a5f2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -132,7 +132,7 @@ jobs: echo "dir=$(pip cache dir)" >> $Env:GITHUB_OUTPUT - name: pip cache (default) - uses: actions/cache@v4 + uses: actions/cache@v5 if: ${{ !startsWith(runner.os, 'Windows') }} with: path: ${{ steps.pip-cache-default.outputs.dir }} @@ -141,7 +141,7 @@ jobs: ${{ runner.os }}-pip- - name: pip cache (Windows) - uses: actions/cache@v4 + uses: actions/cache@v5 if: ${{ startsWith(runner.os, 'Windows') }} with: path: ${{ steps.pip-cache-windows.outputs.dir }} @@ -217,7 +217,7 @@ jobs: - name: Upload ExtensionClass wheel (macOS x86_64) if: > startsWith(runner.os, 'Mac') - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: # The x86_64 wheel is uploaded with a different name just so it can be # manually downloaded when desired. The wheel itself *cannot* be tested @@ -228,14 +228,14 @@ jobs: if: > startsWith(runner.os, 'Mac') && !startsWith(matrix.python-version, 'pypy') - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ExtensionClass-${{ runner.os }}-${{ matrix.python-version }}.whl path: dist/*arm64.whl - name: Upload ExtensionClass wheel (all other platforms) if: > !startsWith(runner.os, 'Mac') - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ExtensionClass-${{ runner.os }}-${{ matrix.python-version }}.whl path: dist/*whl @@ -291,7 +291,7 @@ jobs: echo "dir=$(pip cache dir)" >> $Env:GITHUB_OUTPUT - name: pip cache (default) - uses: actions/cache@v4 + uses: actions/cache@v5 if: ${{ !startsWith(runner.os, 'Windows') }} with: path: ${{ steps.pip-cache-default.outputs.dir }} @@ -300,7 +300,7 @@ jobs: ${{ runner.os }}-pip- - name: pip cache (Windows) - uses: actions/cache@v4 + uses: actions/cache@v5 if: ${{ startsWith(runner.os, 'Windows') }} with: path: ${{ steps.pip-cache-windows.outputs.dir }} @@ -309,7 +309,7 @@ jobs: ${{ runner.os }}-pip- - name: Download ExtensionClass wheel - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: ExtensionClass-${{ runner.os }}-${{ matrix.python-version }}.whl path: dist/ @@ -407,7 +407,7 @@ jobs: echo "dir=$(pip cache dir)" >> $Env:GITHUB_OUTPUT - name: pip cache (default) - uses: actions/cache@v4 + uses: actions/cache@v5 if: ${{ !startsWith(runner.os, 'Windows') }} with: path: ${{ steps.pip-cache-default.outputs.dir }} @@ -416,7 +416,7 @@ jobs: ${{ runner.os }}-pip- - name: pip cache (Windows) - uses: actions/cache@v4 + uses: actions/cache@v5 if: ${{ startsWith(runner.os, 'Windows') }} with: path: ${{ steps.pip-cache-windows.outputs.dir }} @@ -425,7 +425,7 @@ jobs: ${{ runner.os }}-pip- - name: Download ExtensionClass wheel - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: ExtensionClass-${{ runner.os }}-${{ matrix.python-version }}.whl path: dist/ @@ -485,7 +485,7 @@ jobs: echo "dir=$(pip cache dir)" >> $Env:GITHUB_OUTPUT - name: pip cache (default) - uses: actions/cache@v4 + uses: actions/cache@v5 if: ${{ !startsWith(runner.os, 'Windows') }} with: path: ${{ steps.pip-cache-default.outputs.dir }} @@ -494,7 +494,7 @@ jobs: ${{ runner.os }}-pip- - name: pip cache (Windows) - uses: actions/cache@v4 + uses: actions/cache@v5 if: ${{ startsWith(runner.os, 'Windows') }} with: path: ${{ steps.pip-cache-windows.outputs.dir }} @@ -523,7 +523,7 @@ jobs: bash .manylinux.sh - name: Upload ExtensionClass wheels - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: path: wheelhouse/*whl name: manylinux_${{ matrix.image }}_wheels.zip @@ -550,7 +550,7 @@ jobs: steps: - name: Download all wheel artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: path: dist/ pattern: '*' diff --git a/.meta.toml b/.meta.toml index 7ecdd79..84caad4 100644 --- a/.meta.toml +++ b/.meta.toml @@ -2,7 +2,7 @@ # https://github.com/zopefoundation/meta/tree/master/src/zope/meta/c-code [meta] template = "c-code" -commit-id = "2dc4f53b" +commit-id = "0dcd78fe" [python] with-windows = true diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c1e0027..8c13365 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,6 +20,7 @@ repos: rev: 0.4.3 hooks: - id: teyit + language_version: python3.13 - repo: https://github.com/PyCQA/flake8 rev: "7.3.0" hooks: