diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index c22ec97..c71ca45 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -143,14 +143,14 @@ jobs: run: python examples/deepzoom/deepzoom_tile.py --viewer -o tiled tests/fixtures/small.svs - name: Archive sdist if: matrix.sdist - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: ${{ needs.pre-commit.outputs.dist-base }}-source path: artifacts/src compression-level: 0 - name: Archive wheel if: env.archive_wheel - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: ${{ needs.pre-commit.outputs.dist-base }}-${{ env.OS_ARCH_TAG }}-${{ matrix.python-version }} path: artifacts/whl @@ -222,7 +222,7 @@ jobs: run: python examples/deepzoom/deepzoom_tile.py --viewer -o tiled tests/fixtures/small.svs - name: Archive wheel if: env.archive_wheel - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: ${{ needs.pre-commit.outputs.dist-base }}-windows-x64-${{ matrix.python-version }} path: artifacts/whl @@ -267,7 +267,7 @@ jobs: - name: Build run: sphinx-build -d doctrees doc artifact/${{ needs.pre-commit.outputs.docs-base }} - name: Archive - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: ${{ needs.pre-commit.outputs.docs-base }} path: artifact @@ -286,7 +286,7 @@ jobs: id-token: write steps: - name: Download artifacts - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 with: pattern: "${{ needs.pre-commit.outputs.dist-base }}-*" merge-multiple: true diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9fe75a8..b18c213 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,14 +16,14 @@ repos: - id: trailing-whitespace - repo: https://github.com/asottile/pyupgrade - rev: v3.20.0 + rev: v3.21.0 hooks: - id: pyupgrade name: Modernize python code args: ["--py39-plus"] - repo: https://github.com/PyCQA/isort - rev: 6.1.0 + rev: 7.0.0 hooks: - id: isort name: Reorder python imports with isort