diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7459d624..c739e385 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,7 +29,7 @@ repos: additional_dependencies: [black==24.*] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.9" + rev: "v0.15.11" hooks: - id: ruff-check args: ["--fix", "--show-fixes"] @@ -43,7 +43,7 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.20.0" + rev: "v1.20.1" hooks: - id: mypy files: "(src|tests|noxfile.py)" @@ -60,14 +60,14 @@ repos: - types-PyYAML - repo: https://github.com/rbubley/mirrors-prettier - rev: "v3.8.1" + rev: "v3.8.3" hooks: - id: prettier types_or: [yaml, markdown, html, css, scss, javascript, json] args: [--prose-wrap=always] - repo: https://github.com/crate-ci/typos - rev: "v1.45.0" + rev: "v1.45.1" hooks: - id: typos exclude: ^Gemfile\.lock$ diff --git a/docs/pages/guides/gha_basic.md b/docs/pages/guides/gha_basic.md index cf9645e4..4834de9e 100644 --- a/docs/pages/guides/gha_basic.md +++ b/docs/pages/guides/gha_basic.md @@ -115,7 +115,7 @@ tests: allow-prereleases: true - name: Download uv - uses: astral-sh/setup-uv@v8.0.0 + uses: astral-sh/setup-uv@v8.1.0 - name: Test package run: uv run pytest @@ -694,7 +694,7 @@ this action later; specifically, may want to use ```yaml - name: Upload artifact - uses: actions/upload-pages-artifact@v4 + uses: actions/upload-pages-artifact@v5 ``` This actions defaults to uploading `_site`, but you can give any `with: path:` diff --git a/docs/pages/guides/gha_wheels.md b/docs/pages/guides/gha_wheels.md index 73206b3a..6d4e6582 100644 --- a/docs/pages/guides/gha_wheels.md +++ b/docs/pages/guides/gha_wheels.md @@ -83,7 +83,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@v8.0.0 + - uses: astral-sh/setup-uv@v8.1.0 - name: Build SDist run: uv build --sdist @@ -125,7 +125,7 @@ build_wheels: fetch-depth: 0 submodules: true - - uses: astral-sh/setup-uv@v8.0.0 + - uses: astral-sh/setup-uv@v8.1.0 - uses: pypa/cibuildwheel@v3.4 diff --git a/docs/pages/guides/style.md b/docs/pages/guides/style.md index 0775e305..80e2ee14 100644 --- a/docs/pages/guides/style.md +++ b/docs/pages/guides/style.md @@ -158,7 +158,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.15.9" + rev: "v0.15.11" hooks: # id: ruff-check would go here if using both - id: ruff-format @@ -248,7 +248,7 @@ pre-commit hook. ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.9" + rev: "v0.15.11" hooks: - id: ruff-check args: ["--fix", "--show-fixes"] @@ -639,7 +639,7 @@ The MyPy addition for pre-commit: ```yaml - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.20.0" + rev: "v1.20.1" hooks: - id: mypy files: src @@ -804,7 +804,7 @@ integration. ```yaml - repo: https://github.com/crate-ci/typos - rev: "v1.45.0" + rev: "v1.45.1" hooks: - id: typos args: [] @@ -884,7 +884,7 @@ following pre-commit config: ```yaml - repo: https://github.com/pre-commit/mirrors-clang-format - rev: "v22.1.2" + rev: "v22.1.3" hooks: - id: clang-format types_or: [c++, c, cuda] @@ -913,7 +913,7 @@ number of different file types. An example of usage: ```yaml - repo: https://github.com/rbubley/mirrors-prettier - rev: "v3.8.1" + rev: "v3.8.3" hooks: - id: prettier types_or: [yaml, markdown, html, css, scss, javascript, json] diff --git a/docs/pages/guides/tasks.md b/docs/pages/guides/tasks.md index 0dc5ae31..79eeaaac 100644 --- a/docs/pages/guides/tasks.md +++ b/docs/pages/guides/tasks.md @@ -75,7 +75,7 @@ On GitHub Actions or Azure, pipx is available by default, so you should use action: ```yaml -- uses: wntrblm/nox@2026.02.09 +- uses: wntrblm/nox@2026.04.10 ``` You can now access all current versions of Python from nox. At least in GitHub @@ -84,7 +84,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.02.09 +- uses: wntrblm/nox@2026.04.10 with: python-versions: "3.10, 3.11, 3.12, 3.13, 3.13t, 3.14, 3.14t, pypy-3.11" ``` @@ -319,7 +319,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@v8.0.0 +- uses: astral-sh/setup-uv@v8.1.0 ``` 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 99974b5d..66ec6a3e 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/ci.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: with: python-version: "3.x" - - uses: astral-sh/setup-uv@v8.0.0 + - uses: astral-sh/setup-uv@v8.1.0 - uses: j178/prek-action@v2 @@ -67,7 +67,7 @@ jobs: python-version: {% raw %}${{ matrix.python-version }}{% endraw %} allow-prereleases: true - - uses: astral-sh/setup-uv@v8.0.0 + - uses: astral-sh/setup-uv@v8.1.0 {%- 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 b4e95d88..3b5eb3fe 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 %} @@ -54,7 +54,7 @@ jobs: with: fetch-depth: 0 - - uses: astral-sh/setup-uv@v8.0.0 + - uses: astral-sh/setup-uv@v8.1.0 - uses: pypa/cibuildwheel@v3.4 diff --git a/{{cookiecutter.project_name}}/.pre-commit-config.yaml b/{{cookiecutter.project_name}}/.pre-commit-config.yaml index 608821a5..554e29ec 100644 --- a/{{cookiecutter.project_name}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_name}}/.pre-commit-config.yaml @@ -36,14 +36,14 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/rbubley/mirrors-prettier - rev: "v3.8.1" + rev: "v3.8.3" hooks: - id: prettier types_or: [yaml, markdown, html, css, scss, javascript, json] args: [--prose-wrap=always] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.9" + rev: "v0.15.11" hooks: - id: ruff-check args: ["--fix"] @@ -52,7 +52,7 @@ repos: {%- if cookiecutter.backend in ["pybind11", "skbuild", "mesonpy"] %} - repo: https://github.com/pre-commit/mirrors-clang-format - rev: "v22.1.2" + rev: "v22.1.3" hooks: - id: clang-format types_or: [c++, c, cuda] @@ -60,7 +60,7 @@ repos: {%- endif %} - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.20.0" + rev: "v1.20.1" hooks: - id: mypy files: src|tests|noxfile.py