Skip to content

Commit fc6d4cd

Browse files
committed
build: check kits in the actions where we build them
1 parent c5ce9cd commit fc6d4cd

File tree

7 files changed

+85
-11
lines changed

7 files changed

+85
-11
lines changed

.github/workflows/kit.yml

+13-1
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,10 @@ jobs:
176176
run: |
177177
ls -al wheelhouse/
178178
179+
- name: "Check wheels"
180+
run: |
181+
python -m twine check wheelhouse/*
182+
179183
- name: "Upload wheels"
180184
uses: actions/upload-artifact@v4
181185
with:
@@ -206,10 +210,14 @@ jobs:
206210
run: |
207211
python -m build
208212
209-
- name: "List tarballs"
213+
- name: "List sdist"
210214
run: |
211215
ls -al dist/
212216
217+
- name: "Check sdist"
218+
run: |
219+
python -m twine check dist/*
220+
213221
- name: "Upload sdist"
214222
uses: actions/upload-artifact@v4
215223
with:
@@ -248,6 +256,10 @@ jobs:
248256
run: |
249257
ls -al dist/
250258
259+
- name: "Check wheels"
260+
run: |
261+
python -m twine check dist/*
262+
251263
- name: "Upload wheels"
252264
uses: actions/upload-artifact@v4
253265
with:

requirements/dev.pip

+2-2
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ pygments==2.18.0
118118
# rich
119119
pylint==3.2.3
120120
# via -r requirements/dev.in
121-
pyproject-api==1.6.1
121+
pyproject-api==1.7.1
122122
# via tox
123123
pyproject-hooks==1.1.0
124124
# via build
@@ -181,7 +181,7 @@ urwid==2.6.14
181181
# urwid-readline
182182
urwid-readline==0.14
183183
# via pudb
184-
virtualenv==20.26.2
184+
virtualenv==20.26.3
185185
# via
186186
# -r requirements/pip.in
187187
# tox

requirements/kit.in

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ auditwheel
1010
build
1111
cibuildwheel
1212
setuptools
13+
twine
1314
wheel
1415

1516
# Build has a windows-only dependency on colorama:

requirements/kit.pip

+65-4
Original file line numberDiff line numberDiff line change
@@ -6,43 +6,104 @@
66
#
77
auditwheel==6.0.0
88
# via -r requirements/kit.in
9+
backports-tarfile==1.2.0
10+
# via jaraco-context
911
bashlex==0.18
1012
# via cibuildwheel
1113
bracex==2.4
1214
# via cibuildwheel
1315
build==1.2.1
1416
# via -r requirements/kit.in
1517
certifi==2024.6.2
16-
# via cibuildwheel
18+
# via
19+
# cibuildwheel
20+
# requests
21+
charset-normalizer==3.3.2
22+
# via requests
1723
cibuildwheel==2.19.1
1824
# via -r requirements/kit.in
1925
colorama==0.4.6
2026
# via -r requirements/kit.in
27+
docutils==0.20.1
28+
# via readme-renderer
2129
filelock==3.15.3
2230
# via cibuildwheel
31+
idna==3.7
32+
# via requests
2333
importlib-metadata==7.2.0
24-
# via build
34+
# via
35+
# build
36+
# keyring
37+
# twine
38+
importlib-resources==6.4.0
39+
# via keyring
40+
jaraco-classes==3.4.0
41+
# via keyring
42+
jaraco-context==5.3.0
43+
# via keyring
44+
jaraco-functools==4.0.1
45+
# via keyring
46+
keyring==25.2.1
47+
# via twine
48+
markdown-it-py==3.0.0
49+
# via rich
50+
mdurl==0.1.2
51+
# via markdown-it-py
52+
more-itertools==10.3.0
53+
# via
54+
# jaraco-classes
55+
# jaraco-functools
56+
nh3==0.2.17
57+
# via readme-renderer
2558
packaging==24.1
2659
# via
2760
# auditwheel
2861
# build
2962
# cibuildwheel
63+
pkginfo==1.11.1
64+
# via twine
3065
platformdirs==4.2.2
3166
# via cibuildwheel
3267
pyelftools==0.31
3368
# via auditwheel
69+
pygments==2.18.0
70+
# via
71+
# readme-renderer
72+
# rich
3473
pyproject-hooks==1.1.0
3574
# via build
75+
readme-renderer==43.0
76+
# via twine
77+
requests==2.32.3
78+
# via
79+
# requests-toolbelt
80+
# twine
81+
requests-toolbelt==1.0.0
82+
# via twine
83+
rfc3986==2.0.0
84+
# via twine
85+
rich==13.7.1
86+
# via twine
3687
tomli==2.0.1
3788
# via
3889
# build
3990
# cibuildwheel
91+
twine==5.1.0
92+
# via -r requirements/kit.in
4093
typing-extensions==4.12.2
41-
# via cibuildwheel
94+
# via
95+
# cibuildwheel
96+
# rich
97+
urllib3==2.2.2
98+
# via
99+
# requests
100+
# twine
42101
wheel==0.43.0
43102
# via -r requirements/kit.in
44103
zipp==3.19.2
45-
# via importlib-metadata
104+
# via
105+
# importlib-metadata
106+
# importlib-resources
46107

47108
# The following packages are considered to be unsafe in a requirements file:
48109
setuptools==70.1.0

requirements/mypy.pip

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ tomli==2.0.1
4242
# via
4343
# mypy
4444
# pytest
45-
types-requests==2.32.0.20240602
45+
types-requests==2.32.0.20240622
4646
# via -r requirements/mypy.in
4747
types-tabulate==0.9.0.20240106
4848
# via -r requirements/mypy.in

requirements/pip.pip

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ filelock==3.15.3
1010
# via virtualenv
1111
platformdirs==4.2.2
1212
# via virtualenv
13-
virtualenv==20.26.2
13+
virtualenv==20.26.3
1414
# via -r requirements/pip.in
1515

1616
# The following packages are considered to be unsafe in a requirements file:

requirements/tox.pip

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ platformdirs==4.2.2
2828
# virtualenv
2929
pluggy==1.5.0
3030
# via tox
31-
pyproject-api==1.6.1
31+
pyproject-api==1.7.1
3232
# via tox
3333
tomli==2.0.1
3434
# via
@@ -40,5 +40,5 @@ tox==4.15.1
4040
# tox-gh
4141
tox-gh==1.3.1
4242
# via -r requirements/tox.in
43-
virtualenv==20.26.2
43+
virtualenv==20.26.3
4444
# via tox

0 commit comments

Comments
 (0)