Skip to content

Commit a0fcb39

Browse files
chore(deps): bump versions (#522)
* [create-pull-request] automated change * style: pre-commit fixes --------- Co-authored-by: scientific-python-pr-tokenbot[bot] <181030687+scientific-python-pr-tokenbot[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 771d789 commit a0fcb39

22 files changed

+79
-77
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ repos:
2929
additional_dependencies: [black==24.*]
3030

3131
- repo: https://github.com/astral-sh/ruff-pre-commit
32-
rev: "v0.7.4"
32+
rev: "v0.8.2"
3333
hooks:
3434
- id: ruff
3535
args: ["--fix", "--show-fixes"]
@@ -59,7 +59,7 @@ repos:
5959
- types-PyYAML
6060

6161
- repo: https://github.com/rbubley/mirrors-prettier
62-
rev: "v3.3.3"
62+
rev: "v3.4.2"
6363
hooks:
6464
- id: prettier
6565
types_or: [yaml, markdown, html, css, scss, javascript, json]

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ During generation you can select from the following backends for your package:
3939
1. [hatch][]: This uses hatchling, a modern builder with nice file inclusion,
4040
extendable via plugins, and good error messages. **(Recommended for pure
4141
Python projects)**
42-
2. [flit][]: A modern, lightweight [PEP 621][] build system for pure Python projects.
43-
Replaces setuptools, no MANIFEST.in, setup.py, or setup.cfg. Low learning curve.
44-
Easy to bootstrap into new distributions. Difficult to get the right files included,
45-
little dynamic metadata support.
42+
2. [flit][]: A modern, lightweight [PEP 621][] build system for pure Python
43+
projects. Replaces setuptools, no MANIFEST.in, setup.py, or setup.cfg. Low
44+
learning curve. Easy to bootstrap into new distributions. Difficult to get
45+
the right files included, little dynamic metadata support.
4646
3. [pdm][]: A modern, less opinionated all-in-one solution to pure Python
4747
projects supporting standards. Replaces setuptools, venv/pipenv, pip, wheel,
4848
and twine. Supports [PEP 621][].
@@ -57,8 +57,8 @@ During generation you can select from the following backends for your package:
5757
7. [scikit-build][]: A scikit-build (CMake) project also using pybind11, using
5858
scikit-build-core. **(Recommended for C++ projects)**
5959
8. [meson-python][]: A Meson project also using pybind11. (No VCS versioning)
60-
9. [maturin][]: A [PEP 621][] builder for Rust binary extensions. (No VCS versioning)
61-
**(Recommended for Rust projects)**
60+
9. [maturin][]: A [PEP 621][] builder for Rust binary extensions. (No VCS
61+
versioning) **(Recommended for Rust projects)**
6262

6363
Currently, the best choice is probably hatch for pure Python projects, and
6464
scikit-build (such as the scikit-build-core + pybind11 choice) for binary
@@ -218,8 +218,8 @@ A lot of the guide, cookiecutter, and repo-review started out as part of
218218

219219
<!-- sp-repo-review -->
220220

221-
`sp-repo-review` provides checks based on the [Scientific-Python
222-
Development Guide][] at [scientific-python/cookie][] for [repo-review][].
221+
`sp-repo-review` provides checks based on the [Scientific-Python Development
222+
Guide][] at [scientific-python/cookie][] for [repo-review][].
223223

224224
This tool can check the style of a repository. Use like this:
225225

docs/pages/guides/coverage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ enough for a simple testing suite, can be written as follows:
9191

9292
```yaml
9393
- name: Upload coverage report
94-
uses: codecov/codecov-action@v5.0.2
94+
uses: codecov/codecov-action@v5.1.1
9595
with:
9696
token: ${{ secrets.CODECOV_TOKEN }}
9797
```

docs/pages/guides/gha_pure.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ custom_title: GitHub Actions for pure Python wheels
1111

1212
# GitHub Actions: Pure Python wheels
1313

14-
We will cover binary wheels [on the next page][], but if you do not have a compiled
15-
extension, this is called a universal (pure Python) package, and the procedure to
16-
make a "built" wheel is simple. At the end of this page, there is a recipe that can
17-
often be used exactly for pure Python wheels (if the previous recommendations were
18-
followed).
14+
We will cover binary wheels [on the next page][], but if you do not have a
15+
compiled extension, this is called a universal (pure Python) package, and the
16+
procedure to make a "built" wheel is simple. At the end of this page, there is a
17+
recipe that can often be used exactly for pure Python wheels (if the previous
18+
recommendations were followed).
1919

2020
{: .note }
2121

@@ -89,8 +89,8 @@ dist:
8989
{% endraw %}
9090

9191
We use [PyPA-Build](https://pypa-build.readthedocs.io/en/latest/), a new build
92-
tool designed to make building wheels and SDists easy. It run a [PEP 517][] backend
93-
and can get [PEP 518][] requirements even for making SDists.
92+
tool designed to make building wheels and SDists easy. It run a [PEP 517][]
93+
backend and can get [PEP 518][] requirements even for making SDists.
9494

9595
By default this will make an SDist and a wheel from the package in the current
9696
directory, and they will be placed in `./dist`. You can only build SDist (`-s`),
@@ -154,7 +154,7 @@ publish:
154154
path: dist
155155
156156
- name: Generate artifact attestation for sdist and wheel
157-
uses: actions/attest-build-provenance@v1.4.4
157+
uses: actions/attest-build-provenance@v2.0.1
158158
with:
159159
subject-path: "dist/*"
160160
@@ -166,8 +166,8 @@ publish:
166166
When you make a GitHub release in the web UI, we publish to PyPI. You'll just
167167
need to tell PyPI which org, repo, workflow, and set the `pypi` environment to
168168
allow pushes from GitHub. If it's the first time you've published a package, go
169-
to the [PyPI trusted publisher docs] for instructions on preparing PyPI to accept
170-
your initial package publish.
169+
to the [PyPI trusted publisher docs] for instructions on preparing PyPI to
170+
accept your initial package publish.
171171

172172
We are also generating artifact attestations, which can allow users to verify
173173
that the artifacts were built on your actions.
@@ -252,7 +252,7 @@ jobs:
252252
path: dist
253253
254254
- name: Generate artifact attestation for sdist and wheel
255-
uses: actions/attest-build-provenance@v1.4.4
255+
uses: actions/attest-build-provenance@v2.0.1
256256
with:
257257
subject-path: "dist/*"
258258

docs/pages/guides/gha_wheels.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ build_wheels:
114114
fetch-depth: 0
115115
submodules: true
116116
117-
- uses: pypa/cibuildwheel@v2.21
117+
- uses: pypa/cibuildwheel@v2.22
118118
119119
- name: Upload wheels
120120
uses: actions/upload-artifact@v4
@@ -178,7 +178,7 @@ upload_all:
178178
merge-multiple: true
179179
180180
- name: Generate artifact attestations
181-
uses: actions/attest-build-provenance@v1.4.4
181+
uses: actions/attest-build-provenance@v2.0.1
182182
with:
183183
subject-path: "dist/*"
184184
@@ -190,8 +190,8 @@ upload_all:
190190
When you make a GitHub release in the web UI, we publish to PyPI. You'll just
191191
need to tell PyPI which org, repo, workflow, and set the `pypi` environment to
192192
allow pushes from GitHub. If it's the first time you've published a package, go
193-
to the [PyPI trusted publisher docs] for instructions on preparing PyPI to accept
194-
your initial package publish.
193+
to the [PyPI trusted publisher docs] for instructions on preparing PyPI to
194+
accept your initial package publish.
195195

196196
We are also generating artifact attestations, which can allow users to verify
197197
that the artifacts were built on your actions.

docs/pages/guides/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ for your `CONTRIBUTING.md`, and at least glance through other sections.
1818
Following that, there are recommendations for [style][], intended to promote
1919
good practices and to ensure continuity across the packages. There is a
2020
[dedicated page for static type checking with MyPy][mypy]. There is then a guide
21-
on [simple packaging][], [compiled packaging][], or even [classic packaging][], which
22-
should help in ensuring a consistent developer and user experience when working with
23-
distribution.
21+
on [simple packaging][], [compiled packaging][], or even [classic packaging][],
22+
which should help in ensuring a consistent developer and user experience when
23+
working with distribution.
2424

2525
A section on CI follows, with a [general setup guide][gha_basic], and then two
2626
choices for using CI to distribute your package, on for [pure Python][gha_pure],
@@ -43,8 +43,8 @@ on setting up [docs][], as well.
4343
> Checking an existing project
4444
>
4545
> We provide [sp-repo-review][], a set of [repo-review][] checks for comparing
46-
> your repository with the guidelines, runnable [right in the guide][] via WebAssembly!
47-
> All checks point to a linked badge in the guide.
46+
> your repository with the guidelines, runnable [right in the guide][] via
47+
> WebAssembly! All checks point to a linked badge in the guide.
4848
4949
<!-- prettier-ignore-start -->
5050

docs/pages/guides/mypy.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ to a code base. By default:
7777
You can add configuration to `pyproject.toml` (and a little bit to the files
7878
themselves), or you can go all the way and pass `--strict`, which will turn on
7979
everything. Try to turn on as much as possible, and increase it until you can
80-
run with full `strict` checking. See the [style page][] for configuration suggestions.
80+
run with full `strict` checking. See the [style page][] for configuration
81+
suggestions.
8182

8283
[style page]: {% link pages/guides/style.md %}
8384

docs/pages/guides/packaging_classic.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ like [Hatch][] are drastically simpler - most of this page is unneeded for those
2222
systems. Even setuptools supports modern config now, though setup.py is still
2323
also required for compiled packages to be supported.
2424

25-
Also see the [Python packaging guide][], especially the [Python
26-
packaging tutorial][].
25+
Also see the [Python packaging guide][], especially the [Python packaging
26+
tutorial][].
2727

2828
{: .note }
2929

docs/pages/guides/packaging_compiled.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ The most exciting developments have been new native build backends:
2626

2727
{: .note }
2828

29-
You should be familiar with [packing a pure
30-
Python project]({% link pages/guides/packaging_compiled.md %}) - the metadata
29+
You should be familiar with [packing a pure Python
30+
project]({% link pages/guides/packaging_compiled.md %}) - the metadata
3131
configuration is the same.
3232

3333
There are also classic setuptools plugins:

docs/pages/guides/packaging_simple.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ parent: Topical Guides
1313
Python packages can now use a modern build system instead of the classic but
1414
verbose setuptools and `setup.py`. The one you select doesn't really matter that
1515
much; they all use a [standard configuration language][metadata] introduced in
16-
[PEP 621][]. The PyPA's Flit is a great option. [scikit-build-core][] and [meson-python][]
17-
are being developed to support this sort of configuration, enabling binary extension
18-
packages to benefit too. These [PEP 621][] tools currently include [Hatch][],
19-
[PDM][], [Flit][], and [Setuptools][]. [Poetry][] will eventually gain support
20-
in 2.0.
16+
[PEP 621][]. The PyPA's Flit is a great option. [scikit-build-core][] and
17+
[meson-python][] are being developed to support this sort of configuration,
18+
enabling binary extension packages to benefit too. These [PEP 621][] tools
19+
currently include [Hatch][], [PDM][], [Flit][], and [Setuptools][]. [Poetry][]
20+
will eventually gain support in 2.0.
2121

2222
{: .note-title }
2323

0 commit comments

Comments
 (0)