@@ -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
8989{% endraw %}
9090
9191We 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
9595By default this will make an SDist and a wheel from the package in the current
9696directory, 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:
166166When you make a GitHub release in the web UI, we publish to PyPI. You'll just
167167need to tell PyPI which org, repo, workflow, and set the `pypi` environment to
168168allow 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
172172We are also generating artifact attestations, which can allow users to verify
173173that 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
0 commit comments