Skip to content

Commit 68f5d53

Browse files
authored
build: fix tox requirements task and hypothesis setting with updated version (#1472)
Fix bugs appearing in the daily CI task: - Fix `tox` config for `requirements-` tasks - Fix `hypothesis` config in cartesian tests - Update requirements
1 parent f59dc2c commit 68f5d53

File tree

5 files changed

+83
-78
lines changed

5 files changed

+83
-78
lines changed

.pre-commit-config.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ repos:
6262
## version = re.search('black==([0-9\.]*)', open("constraints.txt").read())[1]
6363
## print(f"rev: '{version}' # version from constraints.txt")
6464
##]]]
65-
rev: '24.1.1' # version from constraints.txt
65+
rev: '24.2.0' # version from constraints.txt
6666
##[[[end]]]
6767
hooks:
6868
- id: black
@@ -73,7 +73,7 @@ repos:
7373
# ## version = re.search('ruff==([0-9\.]*)', open("constraints.txt").read())[1]
7474
# ## print(f"# rev: 'v{version}' # version from constraints.txt")
7575
# ##]]]
76-
# rev: 'v0.2.0' # version from constraints.txt
76+
# rev: 'v0.2.2' # version from constraints.txt
7777
# ##[[[end]]]
7878
# hooks:
7979
# - id: ruff
@@ -109,7 +109,7 @@ repos:
109109
## print(f"- {pkg}==" + str(re.search(f'\n{pkg}==([0-9\.]*)', constraints)[1]))
110110
##]]]
111111
- darglint==1.8.1
112-
- flake8-bugbear==24.1.17
112+
- flake8-bugbear==24.2.6
113113
- flake8-builtins==2.2.0
114114
- flake8-debugger==4.1.2
115115
- flake8-docstrings==1.7.0
@@ -178,27 +178,27 @@ repos:
178178
##]]]
179179
- astunparse==1.6.3
180180
- attrs==23.2.0
181-
- black==24.1.1
181+
- black==24.2.0
182182
- boltons==23.1.1
183183
- cached-property==1.5.2
184184
- click==8.1.7
185-
- cmake==3.28.1
185+
- cmake==3.28.3
186186
- cytoolz==0.12.3
187187
- deepdiff==6.7.1
188188
- devtools==0.12.2
189189
- factory-boy==3.3.0
190190
- frozendict==2.4.0
191191
- gridtools-cpp==2.3.2
192-
- importlib-resources==6.1.1
192+
- importlib-resources==6.1.2
193193
- jinja2==3.1.3
194194
- lark==1.1.9
195195
- mako==1.3.2
196-
- nanobind==1.8.0
196+
- nanobind==1.9.2
197197
- ninja==1.11.1.1
198198
- numpy==1.24.4
199199
- packaging==23.2
200200
- pybind11==2.11.1
201-
- setuptools==69.0.3
201+
- setuptools==69.1.1
202202
- tabulate==0.9.0
203203
- typing-extensions==4.5.0
204204
- xxhash==3.0.0

constraints.txt

+34-34
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,36 @@
66
#
77
aenum==3.1.15 # via dace
88
alabaster==0.7.13 # via sphinx
9-
appnope==0.1.3 # via ipykernel, ipython
109
asttokens==2.4.1 # via devtools, stack-data
1110
astunparse==1.6.3 ; python_version < "3.9" # via dace, gt4py (pyproject.toml)
1211
attrs==23.2.0 # via flake8-bugbear, flake8-eradicate, gt4py (pyproject.toml), hypothesis, jsonschema, referencing
1312
babel==2.14.0 # via sphinx
1413
backcall==0.2.0 # via ipython
15-
black==24.1.1 # via gt4py (pyproject.toml)
14+
black==24.2.0 # via gt4py (pyproject.toml)
1615
blinker==1.7.0 # via flask
1716
boltons==23.1.1 # via gt4py (pyproject.toml)
1817
build==1.0.3 # via pip-tools
1918
cached-property==1.5.2 # via gt4py (pyproject.toml)
20-
cachetools==5.3.2 # via tox
19+
cachetools==5.3.3 # via tox
2120
certifi==2024.2.2 # via requests
2221
cffi==1.16.0 # via cryptography
2322
cfgv==3.4.0 # via pre-commit
2423
chardet==5.2.0 # via tox
2524
charset-normalizer==3.3.2 # via requests
2625
clang-format==17.0.6 # via -r requirements-dev.in, gt4py (pyproject.toml)
2726
click==8.1.7 # via black, flask, gt4py (pyproject.toml), pip-tools
28-
cmake==3.28.1 # via gt4py (pyproject.toml)
27+
cmake==3.28.3 # via gt4py (pyproject.toml)
2928
cogapp==3.3.0 # via -r requirements-dev.in
3029
colorama==0.4.6 # via tox
3130
comm==0.2.1 # via ipykernel
3231
contourpy==1.1.1 # via matplotlib
33-
coverage==7.4.1 # via -r requirements-dev.in, pytest-cov
34-
cryptography==42.0.2 # via types-paramiko, types-pyopenssl, types-redis
32+
coverage==7.4.3 # via -r requirements-dev.in, pytest-cov
33+
cryptography==42.0.5 # via types-paramiko, types-pyopenssl, types-redis
3534
cycler==0.12.1 # via matplotlib
3635
cytoolz==0.12.3 # via gt4py (pyproject.toml)
3736
dace==0.15.1 # via gt4py (pyproject.toml)
3837
darglint==1.8.1 # via -r requirements-dev.in
39-
debugpy==1.8.0 # via ipykernel
38+
debugpy==1.8.1 # via ipykernel
4039
decorator==5.1.1 # via ipython
4140
deepdiff==6.7.1 # via gt4py (pyproject.toml)
4241
devtools==0.12.2 # via gt4py (pyproject.toml)
@@ -47,12 +46,12 @@ eradicate==2.3.0 # via flake8-eradicate
4746
exceptiongroup==1.2.0 # via hypothesis, pytest
4847
execnet==2.0.2 # via pytest-cache, pytest-xdist
4948
executing==2.0.1 # via devtools, stack-data
50-
factory-boy==3.3.0 # via -r requirements-dev.in, pytest-factoryboy
51-
faker==22.7.0 # via factory-boy
49+
factory-boy==3.3.0 # via gt4py (pyproject.toml), pytest-factoryboy
50+
faker==23.2.1 # via factory-boy
5251
fastjsonschema==2.19.1 # via nbformat
5352
filelock==3.13.1 # via tox, virtualenv
5453
flake8==7.0.0 # via -r requirements-dev.in, flake8-bugbear, flake8-builtins, flake8-debugger, flake8-docstrings, flake8-eradicate, flake8-mutable, flake8-pyproject, flake8-rst-docstrings
55-
flake8-bugbear==24.1.17 # via -r requirements-dev.in
54+
flake8-bugbear==24.2.6 # via -r requirements-dev.in
5655
flake8-builtins==2.2.0 # via -r requirements-dev.in
5756
flake8-debugger==4.1.2 # via -r requirements-dev.in
5857
flake8-docstrings==1.7.0 # via -r requirements-dev.in
@@ -61,19 +60,19 @@ flake8-mutable==1.2.0 # via -r requirements-dev.in
6160
flake8-pyproject==1.2.3 # via -r requirements-dev.in
6261
flake8-rst-docstrings==0.3.0 # via -r requirements-dev.in
6362
flask==3.0.2 # via dace
64-
fonttools==4.47.2 # via matplotlib
63+
fonttools==4.49.0 # via matplotlib
6564
fparser==0.1.4 # via dace
6665
frozendict==2.4.0 # via gt4py (pyproject.toml)
6766
gridtools-cpp==2.3.2 # via gt4py (pyproject.toml)
68-
hypothesis==6.98.2 # via -r requirements-dev.in, gt4py (pyproject.toml)
69-
identify==2.5.33 # via pre-commit
67+
hypothesis==6.98.13 # via -r requirements-dev.in, gt4py (pyproject.toml)
68+
identify==2.5.35 # via pre-commit
7069
idna==3.6 # via requests
7170
imagesize==1.4.1 # via sphinx
7271
importlib-metadata==7.0.1 # via build, flask, jax, jupyter-client, sphinx
73-
importlib-resources==6.1.1 ; python_version < "3.9" # via gt4py (pyproject.toml), jsonschema, jsonschema-specifications, matplotlib
72+
importlib-resources==6.1.2 ; python_version < "3.9" # via gt4py (pyproject.toml), jsonschema, jsonschema-specifications, matplotlib
7473
inflection==0.5.1 # via pytest-factoryboy
7574
iniconfig==2.0.0 # via pytest
76-
ipykernel==6.29.1 # via nbmake
75+
ipykernel==6.29.3 # via nbmake
7776
ipython==8.12.3 # via ipykernel
7877
isort==5.13.2 # via -r requirements-dev.in
7978
itsdangerous==2.1.2 # via flask
@@ -91,7 +90,7 @@ lark==1.1.9 # via gt4py (pyproject.toml)
9190
mako==1.3.2 # via gt4py (pyproject.toml)
9291
markdown-it-py==3.0.0 # via jupytext, mdit-py-plugins
9392
markupsafe==2.1.5 # via jinja2, mako, werkzeug
94-
matplotlib==3.7.4 # via -r requirements-dev.in
93+
matplotlib==3.7.5 # via -r requirements-dev.in
9594
matplotlib-inline==0.1.6 # via ipykernel, ipython
9695
mccabe==0.7.0 # via flake8
9796
mdit-py-plugins==0.4.0 # via jupytext
@@ -100,7 +99,7 @@ ml-dtypes==0.2.0 # via jax, jaxlib
10099
mpmath==1.3.0 # via sympy
101100
mypy==1.8.0 # via -r requirements-dev.in
102101
mypy-extensions==1.0.0 # via black, mypy
103-
nanobind==1.8.0 # via gt4py (pyproject.toml)
102+
nanobind==1.9.2 # via gt4py (pyproject.toml)
104103
nbclient==0.6.8 # via nbmake
105104
nbformat==5.9.2 # via jupytext, nbclient, nbmake
106105
nbmake==1.5.0 # via -r requirements-dev.in
@@ -117,8 +116,8 @@ pathspec==0.12.1 # via black
117116
pexpect==4.9.0 # via ipython
118117
pickleshare==0.7.5 # via ipython
119118
pillow==10.2.0 # via matplotlib
120-
pip-tools==7.3.0 # via -r requirements-dev.in
121-
pipdeptree==2.13.2 # via -r requirements-dev.in
119+
pip-tools==7.4.0 # via -r requirements-dev.in
120+
pipdeptree==2.15.1 # via -r requirements-dev.in
122121
pkgutil-resolve-name==1.3.10 # via jsonschema
123122
platformdirs==4.2.0 # via black, jupyter-core, tox, virtualenv
124123
pluggy==1.4.0 # via pytest, tox
@@ -136,8 +135,8 @@ pyflakes==3.2.0 # via flake8
136135
pygments==2.17.2 # via -r requirements-dev.in, devtools, flake8-rst-docstrings, ipython, nbmake, sphinx
137136
pyparsing==3.1.1 # via matplotlib
138137
pyproject-api==1.6.1 # via tox
139-
pyproject-hooks==1.0.0 # via build
140-
pytest==8.0.0 # via -r requirements-dev.in, gt4py (pyproject.toml), nbmake, pytest-cache, pytest-cov, pytest-factoryboy, pytest-xdist
138+
pyproject-hooks==1.0.0 # via build, pip-tools
139+
pytest==8.0.2 # via -r requirements-dev.in, gt4py (pyproject.toml), nbmake, pytest-cache, pytest-cov, pytest-factoryboy, pytest-xdist
141140
pytest-cache==1.0 # via -r requirements-dev.in
142141
pytest-cov==4.1.0 # via -r requirements-dev.in
143142
pytest-factoryboy==2.6.0 # via -r requirements-dev.in
@@ -149,8 +148,8 @@ pyzmq==25.1.2 # via ipykernel, jupyter-client
149148
referencing==0.33.0 # via jsonschema, jsonschema-specifications
150149
requests==2.31.0 # via dace, sphinx
151150
restructuredtext-lint==1.4.0 # via flake8-rst-docstrings
152-
rpds-py==0.17.1 # via jsonschema, referencing
153-
ruff==0.2.1 # via -r requirements-dev.in
151+
rpds-py==0.18.0 # via jsonschema, referencing
152+
ruff==0.2.2 # via -r requirements-dev.in
154153
scipy==1.10.1 # via gt4py (pyproject.toml), jax, jaxlib
155154
setuptools-scm==8.0.4 # via fparser
156155
six==1.16.0 # via asttokens, astunparse, python-dateutil
@@ -172,15 +171,15 @@ toml==0.10.2 # via jupytext
172171
tomli==2.0.1 ; python_version < "3.11" # via -r requirements-dev.in, black, build, coverage, flake8-pyproject, mypy, pip-tools, pyproject-api, pyproject-hooks, pytest, setuptools-scm, tox
173172
toolz==0.12.1 # via cytoolz
174173
tornado==6.4 # via ipykernel, jupyter-client
175-
tox==4.12.1 # via -r requirements-dev.in
174+
tox==4.13.0 # via -r requirements-dev.in
176175
traitlets==5.14.1 # via comm, ipykernel, ipython, jupyter-client, jupyter-core, matplotlib-inline, nbclient, nbformat
177176
types-aiofiles==23.2.0.20240106 # via types-all
178177
types-all==1.0.0 # via -r requirements-dev.in
179178
types-annoy==1.17.8.4 # via types-all
180179
types-atomicwrites==1.4.5.1 # via types-all
181180
types-backports==0.1.3 # via types-all
182181
types-backports-abc==0.5.2 # via types-all
183-
types-bleach==6.1.0.1 # via types-all
182+
types-bleach==6.1.0.20240222 # via types-all
184183
types-boto==2.49.18.20240205 # via types-all
185184
types-cachetools==5.3.0.7 # via types-all
186185
types-certifi==2021.10.8.3 # via types-all
@@ -199,7 +198,7 @@ types-datetimerange==2.0.0.6 # via types-all
199198
types-decorator==5.1.8.20240106 # via types-all
200199
types-deprecated==1.2.9.20240106 # via types-all
201200
types-docopt==0.6.11.4 # via types-all
202-
types-docutils==0.20.0.20240201 # via types-all
201+
types-docutils==0.20.0.20240227 # via types-all
203202
types-emoji==2.1.0.3 # via types-all
204203
types-enum34==1.1.8 # via types-all
205204
types-fb303==1.0.0 # via types-all, types-scribe
@@ -210,6 +209,7 @@ types-freezegun==1.1.10 # via types-all
210209
types-frozendict==2.0.9 # via types-all
211210
types-futures==3.3.8 # via types-all
212211
types-geoip2==3.0.0 # via types-all
212+
types-html5lib==1.1.11.20240222 # via types-bleach
213213
types-ipaddress==1.0.8 # via types-all, types-maxminddb
214214
types-itsdangerous==1.1.6 # via types-all
215215
types-jack-client==0.5.10.20240106 # via types-all
@@ -225,7 +225,7 @@ types-openssl-python==0.1.3 # via types-all
225225
types-orjson==3.6.2 # via types-all
226226
types-paramiko==3.4.0.20240205 # via types-all, types-pysftp
227227
types-pathlib2==2.3.0 # via types-all
228-
types-pillow==10.2.0.20240206 # via types-all
228+
types-pillow==10.2.0.20240213 # via types-all
229229
types-pkg-resources==0.1.3 # via types-all
230230
types-polib==1.2.0.20240115 # via types-all
231231
types-protobuf==4.24.0.20240129 # via types-all
@@ -244,13 +244,13 @@ types-python-slugify==8.0.2.20240127 # via types-all
244244
types-pytz==2024.1.0.20240203 # via types-all, types-tzlocal
245245
types-pyvmomi==8.0.0.6 # via types-all
246246
types-pyyaml==6.0.12.12 # via types-all
247-
types-redis==4.6.0.20240106 # via types-all
248-
types-requests==2.31.0.20240125 # via types-all
247+
types-redis==4.6.0.20240218 # via types-all
248+
types-requests==2.31.0.20240218 # via types-all
249249
types-retry==0.9.9.4 # via types-all
250250
types-routes==2.5.0 # via types-all
251251
types-scribe==2.0.0 # via types-all
252-
types-setuptools==69.0.0.20240125 # via types-cffi
253-
types-simplejson==3.19.0.2 # via types-all
252+
types-setuptools==69.1.0.20240223 # via types-cffi
253+
types-simplejson==3.19.0.20240218 # via types-all
254254
types-singledispatch==4.1.0.0 # via types-all
255255
types-six==1.16.21.20240106 # via types-all
256256
types-tabulate==0.9.0.20240106 # via types-all
@@ -264,8 +264,8 @@ types-waitress==2.1.4.20240106 # via types-all
264264
types-werkzeug==1.0.9 # via types-all, types-flask
265265
types-xxhash==3.0.5.2 # via types-all
266266
typing-extensions==4.5.0 # via black, faker, gt4py (pyproject.toml), ipython, mypy, pytest-factoryboy, setuptools-scm
267-
urllib3==2.2.0 # via requests, types-requests
268-
virtualenv==20.25.0 # via pre-commit, tox
267+
urllib3==2.2.1 # via requests, types-requests
268+
virtualenv==20.25.1 # via pre-commit, tox
269269
wcwidth==0.2.13 # via prompt-toolkit
270270
websockets==12.0 # via dace
271271
werkzeug==3.0.1 # via flask
@@ -275,4 +275,4 @@ zipp==3.17.0 # via importlib-metadata, importlib-resources
275275

276276
# The following packages are considered to be unsafe in a requirements file:
277277
pip==24.0 # via pip-tools
278-
setuptools==69.0.3 # via gt4py (pyproject.toml), nodeenv, pip-tools, setuptools-scm
278+
setuptools==69.1.1 # via gt4py (pyproject.toml), nodeenv, pip-tools, setuptools-scm

0 commit comments

Comments
 (0)