Skip to content

Commit 6046ad6

Browse files
Merge pull request #267 from tillahoffmann/twine
Add `twine check` to CI.
2 parents 76c87d8 + 861040e commit 6046ad6

File tree

8 files changed

+403
-215
lines changed

8 files changed

+403
-215
lines changed

.github/workflows/main.yml

+4
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,7 @@ jobs:
7272
run: |
7373
py.test -svx --cov-config .coveragerc --cov-report html:skip-covered --cov-report term:skip-covered --cov=testcontainers --tb=short tests/test_${{ matrix.test-component }}
7474
codecov
75+
- name: Build package and check it
76+
run: |
77+
python setup.py bdist_wheel
78+
twine check dist/*

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ requirements : ${REQUIREMENTS}
1717

1818
${REQUIREMENTS} : requirements/%.txt : requirements.in setup.py
1919
mkdir -p $(dir $@)
20-
${RUN} -w /workspace -v `pwd`:/workspace python:$* bash -c \
21-
"pip install pip-tools && pip-compile -v --upgrade -o $@ $<"
20+
${RUN} -w /workspace -v `pwd`:/workspace --platform=linux/amd64 python:$* bash -c \
21+
"pip install pip-tools && pip-compile --resolver=backtracking -v --upgrade -o $@ $<"
2222

2323

2424
# Targets to build docker images

requirements.in

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ pg8000
66
pytest
77
pytest-cov
88
sphinx
9+
twine

requirements/3.10.txt

+98-51
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This file is autogenerated by pip-compile with python 3.10
33
# To update, run:
44
#
5-
# pip-compile --output-file=requirements/3.10.txt requirements.in
5+
# pip-compile --output-file=requirements/3.10.txt --resolver=backtracking requirements.in
66
#
77
-e file:.
88
# via -r requirements.in
@@ -22,19 +22,21 @@ attrs==22.1.0
2222
# outcome
2323
# pytest
2424
# trio
25-
azure-core==1.25.1
25+
azure-core==1.26.1
2626
# via
2727
# azure-storage-blob
2828
# msrest
29-
azure-storage-blob==12.13.1
29+
azure-storage-blob==12.14.1
3030
# via testcontainers
31-
babel==2.10.3
31+
babel==2.11.0
3232
# via sphinx
33-
bcrypt==4.0.0
33+
bcrypt==4.0.1
3434
# via paramiko
35+
bleach==5.0.1
36+
# via readme-renderer
3537
cachetools==5.2.0
3638
# via google-auth
37-
certifi==2022.9.14
39+
certifi==2022.9.24
3840
# via
3941
# msrest
4042
# requests
@@ -49,7 +51,9 @@ clickhouse-driver==0.2.4
4951
# via testcontainers
5052
codecov==2.1.12
5153
# via -r requirements.in
52-
coverage[toml]==6.4.4
54+
commonmark==0.9.1
55+
# via rich
56+
coverage[toml]==6.5.0
5357
# via
5458
# codecov
5559
# pytest-cov
@@ -58,15 +62,16 @@ cryptography==36.0.2
5862
# -r requirements.in
5963
# azure-storage-blob
6064
# paramiko
65+
# secretstorage
6166
cx-oracle==8.3.0
6267
# via testcontainers
63-
deprecated==1.2.13
64-
# via redis
6568
deprecation==2.1.0
6669
# via testcontainers
67-
distro==1.7.0
70+
distro==1.8.0
6871
# via docker-compose
69-
docker[ssh]==6.0.0
72+
dnspython==2.2.1
73+
# via pymongo
74+
docker[ssh]==6.0.1
7075
# via
7176
# docker-compose
7277
# testcontainers
@@ -77,63 +82,83 @@ dockerpty==0.4.1
7782
docopt==0.6.2
7883
# via docker-compose
7984
docutils==0.19
80-
# via sphinx
85+
# via
86+
# readme-renderer
87+
# sphinx
8188
ecdsa==0.18.0
8289
# via python-jose
8390
entrypoints==0.3
8491
# via flake8
92+
exceptiongroup==1.0.4
93+
# via
94+
# pytest
95+
# trio
8596
flake8==3.7.9
8697
# via -r requirements.in
87-
google-api-core[grpc]==2.10.1
98+
google-api-core[grpc]==2.10.2
8899
# via google-cloud-pubsub
89-
google-auth==2.11.1
100+
google-auth==2.14.1
90101
# via google-api-core
91102
google-cloud-pubsub==1.7.2
92103
# via testcontainers
93-
googleapis-common-protos[grpc]==1.56.4
104+
googleapis-common-protos[grpc]==1.57.0
94105
# via
95106
# google-api-core
96107
# grpc-google-iam-v1
97108
# grpcio-status
98-
greenlet==1.1.3
109+
greenlet==2.0.1
99110
# via sqlalchemy
100111
grpc-google-iam-v1==0.12.4
101112
# via google-cloud-pubsub
102-
grpcio==1.48.1
113+
grpcio==1.50.0
103114
# via
104115
# google-api-core
105116
# googleapis-common-protos
106117
# grpc-google-iam-v1
107118
# grpcio-status
108-
grpcio-status==1.48.1
119+
grpcio-status==1.48.2
109120
# via google-api-core
110-
h11==0.13.0
121+
h11==0.14.0
111122
# via wsproto
112123
idna==3.4
113124
# via
114125
# requests
115126
# trio
116127
imagesize==1.4.1
117128
# via sphinx
129+
importlib-metadata==5.0.0
130+
# via
131+
# keyring
132+
# twine
118133
iniconfig==1.1.1
119134
# via pytest
120135
isodate==0.6.1
121136
# via msrest
137+
jaraco-classes==3.2.3
138+
# via keyring
139+
jeepney==0.8.0
140+
# via
141+
# keyring
142+
# secretstorage
122143
jinja2==3.1.2
123144
# via sphinx
124145
jsonschema==3.2.0
125146
# via docker-compose
126147
kafka-python==2.0.2
127148
# via testcontainers
149+
keyring==23.11.0
150+
# via twine
128151
markupsafe==2.1.1
129152
# via jinja2
130153
mccabe==0.6.1
131154
# via flake8
155+
more-itertools==9.0.0
156+
# via jaraco-classes
132157
msrest==0.7.1
133158
# via azure-storage-blob
134-
neo4j==5.0.1
159+
neo4j==5.2.1
135160
# via testcontainers
136-
oauthlib==3.2.1
161+
oauthlib==3.2.2
137162
# via requests-oauthlib
138163
outcome==1.2.0
139164
# via trio
@@ -144,24 +169,24 @@ packaging==21.3
144169
# pytest
145170
# redis
146171
# sphinx
147-
paramiko==2.11.0
172+
paramiko==2.12.0
148173
# via docker
149-
pg8000==1.29.1
174+
pg8000==1.29.3
150175
# via -r requirements.in
151-
pika==1.3.0
176+
pika==1.3.1
152177
# via testcontainers
178+
pkginfo==1.8.3
179+
# via twine
153180
pluggy==1.0.0
154181
# via pytest
155-
protobuf==3.20.2
182+
protobuf==3.20.3
156183
# via
157184
# google-api-core
158185
# google-cloud-pubsub
159186
# googleapis-common-protos
160187
# grpcio-status
161-
psycopg2-binary==2.9.3
188+
psycopg2-binary==2.9.5
162189
# via testcontainers
163-
py==1.11.0
164-
# via pytest
165190
pyasn1==0.4.8
166191
# via
167192
# pyasn1-modules
@@ -176,38 +201,43 @@ pycparser==2.21
176201
pyflakes==2.1.1
177202
# via flake8
178203
pygments==2.13.0
179-
# via sphinx
180-
pyjwt==2.5.0
204+
# via
205+
# readme-renderer
206+
# rich
207+
# sphinx
208+
pyjwt==2.6.0
181209
# via python-arango
182-
pymongo==4.2.0
210+
pymongo==4.3.3
183211
# via testcontainers
184-
pymssql==2.2.5
212+
pymssql==2.2.7
185213
# via testcontainers
186214
pymysql==1.0.2
187215
# via testcontainers
188216
pynacl==1.5.0
189217
# via paramiko
190218
pyparsing==3.0.9
191219
# via packaging
192-
pyrsistent==0.18.1
220+
pyrsistent==0.19.2
193221
# via jsonschema
194222
pysocks==1.7.1
195223
# via urllib3
196-
pytest==7.1.3
224+
pytest==7.2.0
197225
# via
198226
# -r requirements.in
199227
# pytest-cov
200-
pytest-cov==3.0.0
228+
pytest-cov==4.0.0
201229
# via -r requirements.in
202-
python-arango==7.4.1
230+
python-arango==7.5.2
203231
# via testcontainers
232+
python-dateutil==2.8.2
233+
# via pg8000
204234
python-dotenv==0.21.0
205235
# via docker-compose
206236
python-jose==3.3.0
207237
# via python-keycloak
208-
python-keycloak==2.5.0
238+
python-keycloak==2.6.0
209239
# via testcontainers
210-
pytz==2022.2.1
240+
pytz==2022.6
211241
# via
212242
# babel
213243
# clickhouse-driver
@@ -216,7 +246,9 @@ pytz-deprecation-shim==0.1.0.post0
216246
# via tzlocal
217247
pyyaml==5.4.1
218248
# via docker-compose
219-
redis==4.3.4
249+
readme-renderer==37.3
250+
# via twine
251+
redis==4.3.5
220252
# via testcontainers
221253
requests==2.28.1
222254
# via
@@ -231,38 +263,48 @@ requests==2.28.1
231263
# requests-oauthlib
232264
# requests-toolbelt
233265
# sphinx
266+
# twine
234267
requests-oauthlib==1.3.1
235268
# via msrest
236269
requests-toolbelt==0.9.1
237270
# via
238271
# python-arango
239272
# python-keycloak
273+
# twine
274+
rfc3986==2.0.0
275+
# via twine
276+
rich==12.6.0
277+
# via twine
240278
rsa==4.9
241279
# via
242280
# google-auth
243281
# python-jose
244-
scramp==1.4.1
282+
scramp==1.4.4
245283
# via pg8000
246-
selenium==4.4.3
284+
secretstorage==3.3.3
285+
# via keyring
286+
selenium==4.6.0
247287
# via testcontainers
248288
six==1.16.0
249289
# via
250290
# azure-core
291+
# bleach
251292
# dockerpty
252293
# ecdsa
253294
# google-auth
254295
# grpcio
255296
# isodate
256297
# jsonschema
257298
# paramiko
299+
# python-dateutil
258300
# websocket-client
259301
sniffio==1.3.0
260302
# via trio
261303
snowballstemmer==2.2.0
262304
# via sphinx
263305
sortedcontainers==2.4.0
264306
# via trio
265-
sphinx==5.1.1
307+
sphinx==5.3.0
266308
# via -r requirements.in
267309
sphinxcontrib-applehelp==1.0.2
268310
# via sphinx
@@ -276,43 +318,48 @@ sphinxcontrib-qthelp==1.0.3
276318
# via sphinx
277319
sphinxcontrib-serializinghtml==1.1.5
278320
# via sphinx
279-
sqlalchemy==1.4.41
321+
sqlalchemy==1.4.44
280322
# via testcontainers
281-
texttable==1.6.4
323+
texttable==1.6.7
282324
# via docker-compose
283325
tomli==2.0.1
284326
# via
285327
# coverage
286328
# pytest
287-
trio==0.21.0
329+
trio==0.22.0
288330
# via
289331
# selenium
290332
# trio-websocket
291333
trio-websocket==0.9.2
292334
# via selenium
293-
typing-extensions==4.3.0
335+
twine==4.0.1
336+
# via -r requirements.in
337+
typing-extensions==4.4.0
294338
# via azure-core
295-
tzdata==2022.2
339+
tzdata==2022.6
296340
# via pytz-deprecation-shim
297341
tzlocal==4.2
298342
# via clickhouse-driver
299-
urllib3[socks]==1.26.12
343+
urllib3[socks]==1.26.13
300344
# via
301345
# docker
302346
# python-arango
303347
# python-keycloak
304348
# requests
305349
# selenium
350+
# twine
351+
webencodings==0.5.1
352+
# via bleach
306353
websocket-client==0.59.0
307354
# via
308355
# docker
309356
# docker-compose
310357
wrapt==1.14.1
311-
# via
312-
# deprecated
313-
# testcontainers
358+
# via testcontainers
314359
wsproto==1.2.0
315360
# via trio-websocket
361+
zipp==3.10.0
362+
# via importlib-metadata
316363

317364
# The following packages are considered to be unsafe in a requirements file:
318365
# setuptools

0 commit comments

Comments
 (0)