diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4969546f..2bb62b19 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.17.1" + rev: "v0.17.3" hooks: - id: ruff-check args: ["--fix"] @@ -38,7 +38,7 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v2.4.0" + rev: "v2.4.1" hooks: - id: mypy files: "(src|tests|noxfile.py)" @@ -59,7 +59,7 @@ repos: types_or: [yaml, html, css, scss, javascript, json] - repo: https://github.com/rvben/rumdl-pre-commit - rev: "v0.3.0" + rev: "v0.3.2" hooks: - id: rumdl args: [--no-exclude] # Disable all exclude patterns diff --git a/docs/guides/gha_basic.md b/docs/guides/gha_basic.md index 260e5377..3ccb1b1a 100644 --- a/docs/guides/gha_basic.md +++ b/docs/guides/gha_basic.md @@ -122,7 +122,7 @@ tests: allow-prereleases: true - name: Download uv - uses: astral-sh/setup-uv@v10.3.0 + uses: astral-sh/setup-uv@v10.3.3 - name: Test package run: uv run pytest diff --git a/docs/guides/gha_pure.md b/docs/guides/gha_pure.md index c1a70e2f..c930153f 100644 --- a/docs/guides/gha_pure.md +++ b/docs/guides/gha_pure.md @@ -111,7 +111,7 @@ pre-upload checks & nice GitHub summaries. ```yaml steps: - uses: actions/checkout@v7 - - uses: hynek/build-and-inspect-python-package@v3.0.1 + - uses: hynek/build-and-inspect-python-package@v3.0.2 ``` The artifact it produces is named `Packages`, so that's what you need to use @@ -215,7 +215,7 @@ jobs: with: fetch-depth: 0 - - uses: hynek/build-and-inspect-python-package@v3.0.1 + - uses: hynek/build-and-inspect-python-package@v3.0.2 publish: needs: [dist] @@ -266,7 +266,7 @@ jobs: with: fetch-depth: 0 - - uses: hynek/build-and-inspect-python-package@v3.0.1 + - uses: hynek/build-and-inspect-python-package@v3.0.2 publish: needs: [dist] diff --git a/docs/guides/gha_wheels.md b/docs/guides/gha_wheels.md index 20c28898..edeb67b7 100644 --- a/docs/guides/gha_wheels.md +++ b/docs/guides/gha_wheels.md @@ -73,7 +73,7 @@ make_sdist: with: fetch-depth: 0 # Optional, use if you use setuptools_scm submodules: true # Optional, use if you have submodules - - uses: astral-sh/setup-uv@v10.3.0 + - uses: astral-sh/setup-uv@v10.3.3 - name: Build SDist run: uv build --sdist @@ -113,7 +113,7 @@ build_wheels: fetch-depth: 0 submodules: true - - uses: astral-sh/setup-uv@v10.3.0 + - uses: astral-sh/setup-uv@v10.3.3 - uses: pypa/cibuildwheel@v4.3 diff --git a/docs/guides/style.md b/docs/guides/style.md index f1b452a0..fbfa18b8 100644 --- a/docs/guides/style.md +++ b/docs/guides/style.md @@ -148,7 +148,7 @@ Here is the snippet to add the formatter to your `.pre-commit-config.yml` ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.17.1" + rev: "v0.17.3" hooks: # id: ruff-check would go here if using both - id: ruff-format @@ -216,7 +216,7 @@ your code and your docs. Add `markdown` to the `ruff-format` hook's `types_or`: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.17.1" + rev: "v0.17.3" hooks: - id: ruff-format types_or: [python, pyi, jupyter, markdown, pyproject] @@ -256,7 +256,7 @@ pre-commit hook. ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.17.1" + rev: "v0.17.3" hooks: - id: ruff-check args: ["--fix", "--show-fixes"] @@ -456,7 +456,7 @@ use the manual stage, it's opt-in instead of automatic. ```yaml - repo: https://github.com/hadialqattan/pycln - rev: "v2.6.0" + rev: "v2.6.1" hooks: - id: pycln args: [--all] @@ -496,7 +496,7 @@ the flake8 addition for pre-commit, with the `bugbear` plugin: ```yaml - repo: https://github.com/pycqa/flake8 - rev: "7.4.1" + rev: "7.5.0" hooks: - id: flake8 additional_dependencies: [flake8-bugbear] @@ -640,7 +640,7 @@ The pre-commit addition for type checking: :sync: mypy ```yaml - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v2.4.0" + rev: "v2.4.1" hooks: - id: mypy files: src @@ -672,7 +672,7 @@ with `additional_dependencies`, and pass extra flags via `args`. :sync: ty ```yaml - repo: https://github.com/astral-sh/ty-pre-commit - rev: "v0.0.89" + rev: "v0.0.95" hooks: - id: ty ``` @@ -1053,7 +1053,7 @@ validate-pyproject-schema-store plugin. Using it looks like this: ```yaml - repo: https://github.com/abravalheri/validate-pyproject - rev: "0.26" + rev: "v0.27" hooks: - id: validate-pyproject additional_dependencies: ["validate-pyproject-schema-store[all]"] @@ -1067,7 +1067,7 @@ schemas, and you can load them via URL. It work on JSON, YAML, and TOML. ```yaml - repo: https://github.com/python-jsonschema/check-jsonschema - rev: "0.38.2" + rev: "0.39.0" hooks: - id: check-dependabot - id: check-github-workflows diff --git a/docs/guides/tasks.md b/docs/guides/tasks.md index 71c0e27f..ac61a81f 100644 --- a/docs/guides/tasks.md +++ b/docs/guides/tasks.md @@ -65,7 +65,7 @@ On GitHub Actions or Azure, pipx is available by default, so you should use action: ```yaml -- uses: wntrblm/nox@2026.08.17 +- uses: wntrblm/nox@2026.10.20 ``` You can now access all current versions of Python from nox. At least in GitHub @@ -74,7 +74,7 @@ your logs, or set `env: FORCE_COLOR: 3`[^force_color]. If you'd like to customize the versions of Python prepared for you, then use input like this: ```yaml -- uses: wntrblm/nox@2026.08.17 +- uses: wntrblm/nox@2026.10.20 with: python-versions: "3.11, 3.12, 3.13, 3.13t, 3.14, 3.14t, pypy-3.11" ``` @@ -309,7 +309,7 @@ You can install `uv` with `pipx`, `brew`, etc. If you want to use uv in GitHub Actions, one way is to use this: ```yaml -- uses: astral-sh/setup-uv@v10.3.0 +- uses: astral-sh/setup-uv@v10.3.3 ``` Check your jobs with `uv`; most things do not need to change. The main diff --git a/{{cookiecutter.project_name}}/.github/workflows/ci.yml b/{{cookiecutter.project_name}}/.github/workflows/ci.yml index 5832483b..e9e3f2e3 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/ci.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/ci.yml @@ -37,7 +37,7 @@ jobs: with: python-version: "3.x" - - uses: astral-sh/setup-uv@v10.3.0 + - uses: astral-sh/setup-uv@v10.3.3 - uses: j178/prek-action@v2 @@ -75,7 +75,7 @@ jobs: python-version: {% raw %}${{ matrix.python-version }}{% endraw %} allow-prereleases: true - - uses: astral-sh/setup-uv@v10.3.0 + - uses: astral-sh/setup-uv@v10.3.3 {%- if cookiecutter.backend == "mesonpy" %} diff --git a/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type!='compiled' %}cd.yml{% endif %} b/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type!='compiled' %}cd.yml{% endif %} index 84d87331..9c88c623 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type!='compiled' %}cd.yml{% endif %} +++ b/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type!='compiled' %}cd.yml{% endif %} @@ -34,7 +34,7 @@ jobs: persist-credentials: false fetch-depth: 0 - - uses: hynek/build-and-inspect-python-package@v3.0.1 + - uses: hynek/build-and-inspect-python-package@v3.0.2 publish: needs: [dist] diff --git a/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type=='compiled' %}cd.yml{% endif %} b/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type=='compiled' %}cd.yml{% endif %} index a759ce92..5f9c9d92 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type=='compiled' %}cd.yml{% endif %} +++ b/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type=='compiled' %}cd.yml{% endif %} @@ -62,7 +62,7 @@ jobs: persist-credentials: false fetch-depth: 0 - - uses: astral-sh/setup-uv@v10.3.0 + - uses: astral-sh/setup-uv@v10.3.3 with: # Disable caching to avoid poisoning published wheels enable-cache: false diff --git a/{{cookiecutter.project_name}}/.pre-commit-config.yaml b/{{cookiecutter.project_name}}/.pre-commit-config.yaml index dd63a04a..8edc832c 100644 --- a/{{cookiecutter.project_name}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_name}}/.pre-commit-config.yaml @@ -37,7 +37,7 @@ repos: args: [--prose-wrap=always] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.17.1" + rev: "v0.17.3" hooks: - id: ruff-check args: ["--fix"] @@ -55,7 +55,7 @@ repos: {%- endif %} - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v2.4.0" + rev: "v2.4.1" hooks: - id: mypy files: src|tests|noxfile.py @@ -92,13 +92,13 @@ repos: {%- endif %} - repo: https://github.com/abravalheri/validate-pyproject - rev: "0.26" + rev: "v0.27" hooks: - id: validate-pyproject additional_dependencies: ["validate-pyproject-schema-store[all]"] - repo: https://github.com/python-jsonschema/check-jsonschema - rev: "0.38.2" + rev: "0.39.0" hooks: {%- if cookiecutter.__ci == "github" %} - id: check-dependabot