diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index ff77ae6..bf22c0a 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -21,8 +21,8 @@ jobs: name: linting runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - uses: actions/checkout@v5 + - uses: actions/setup-python@v6 with: python-version: 3.x - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd #v3.0.1 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9e0b4cb..8cb5ba8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -43,17 +43,17 @@ jobs: if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name name: ${{ matrix.os[0] }}-${{ matrix.config[1] }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: persist-credentials: false - name: Install uv + caching - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v6 with: enable-cache: true cache-dependency-glob: | setup.* tox.ini - python-version: ${{ matrix.matrix.config[0] }} + python-version: ${{ matrix.config[0] }} github-token: ${{ secrets.GITHUB_TOKEN }} - name: Test if: ${{ !startsWith(runner.os, 'Mac') }} diff --git a/.meta.toml b/.meta.toml index dd63ad2..c5b68d7 100644 --- a/.meta.toml +++ b/.meta.toml @@ -2,7 +2,7 @@ # https://github.com/zopefoundation/meta/tree/master/config/pure-python [meta] template = "pure-python" -commit-id = "a0de4e93" +commit-id = "7dcce077" [python] with-pypy = false diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 05b8035..d2607c9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ minimum_pre_commit_version: '3.6' repos: - repo: https://github.com/pycqa/isort - rev: "6.0.1" + rev: "6.1.0" hooks: - id: isort - repo: https://github.com/hhatto/autopep8 @@ -12,7 +12,7 @@ repos: - id: autopep8 args: [--in-place, --aggressive, --aggressive] - repo: https://github.com/asottile/pyupgrade - rev: v3.19.1 + rev: v3.20.0 hooks: - id: pyupgrade args: [--py39-plus] @@ -21,7 +21,7 @@ repos: hooks: - id: teyit - repo: https://github.com/PyCQA/flake8 - rev: "7.1.2" + rev: "7.3.0" hooks: - id: flake8 additional_dependencies: diff --git a/pyproject.toml b/pyproject.toml index 156ade6..89faa35 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ [build-system] requires = [ - "setuptools == 75.8.2", + "setuptools >= 78.1.1,< 81", "wheel", ] build-backend = "setuptools.build_meta" diff --git a/tox.ini b/tox.ini index 06a5809..4015b3a 100644 --- a/tox.ini +++ b/tox.ini @@ -22,7 +22,7 @@ package = wheel wheel_build_env = .pkg pip_pre = py314: true deps = - setuptools == 75.8.2 + setuptools >= 78.1.1,< 81 datetime: DateTime -cconstraints.txt pytest-cov @@ -67,7 +67,7 @@ description = ensure that the distribution is ready to release basepython = python3 skip_install = true deps = - setuptools == 75.8.2 + setuptools >= 78.1.1,< 81 wheel twine build