File tree Expand file tree Collapse file tree 2 files changed +7
-12
lines changed Expand file tree Collapse file tree 2 files changed +7
-12
lines changed Original file line number Diff line number Diff line change 1313 steps :
1414 - uses : actions/checkout@v4
1515
16- - name : Build SDist and wheel
17- run : pipx run build
18-
19- - uses : actions/upload-artifact@v4
20- with :
21- name : cibw-sdist
22- path : dist/*
23-
24- - name : Check metadata
25- run : pipx run twine check dist/*
16+ - uses : hynek/build-and-inspect-python-package@v2
2617
2718 publish :
2819 needs : [dist]
@@ -38,13 +29,14 @@ jobs:
3829 steps :
3930 - uses : actions/download-artifact@v4
4031 with :
41- pattern : cibw-*
32+ name : Packages
4233 path : dist
43- merge-multiple : true
4434
4535 - name : Generate artifact attestation for sdist and wheel
4636 uses : actions/attest-build-provenance@1c608d11d69870c2092266b3f9a6f3abbf17002c # v1.4.3
4737 with :
4838 subject-path : " dist/cibuildwheel-*"
4939
5040 - uses : pypa/gh-action-pypi-publish@release/v1
41+ with :
42+ attestations : true
Original file line number Diff line number Diff line change @@ -240,3 +240,6 @@ flake8-unused-arguments.ignore-variadic-names = true
240240
241241[tool .repo-review ]
242242ignore = [" PC170" , " PP303" ]
243+
244+ [tool .check-wheel-contents ]
245+ ignore = [" W002" ] # requirements-*.txt are allowed to be duplicates of one another
You can’t perform that action at this time.
0 commit comments