Skip to content

Commit

Permalink
Bump requirements version and update ruff format settings to stable.
Browse files Browse the repository at this point in the history
  • Loading branch information
egparedes committed Apr 2, 2024
1 parent 7d14a27 commit a9540aa
Show file tree
Hide file tree
Showing 6 changed files with 185 additions and 168 deletions.
22 changes: 11 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ repos:
## version = re.search('ruff==([0-9\.]*)', open("constraints.txt").read())[1]
## print(f"rev: v{version}")
##]]]
rev: v0.2.0
rev: v0.3.5
##[[[end]]]
hooks:
# Run the linter.
Expand All @@ -66,9 +66,9 @@ repos:
## version = re.search('mypy==([0-9\.]*)', open("constraints.txt").read())[1]
## print(f"#========= FROM constraints.txt: v{version} =========")
##]]]
#========= FROM constraints.txt: v1.8.0 =========
#========= FROM constraints.txt: v1.9.0 =========
##[[[end]]]
rev: v1.8.0 # MUST match version ^^^^ in constraints.txt (if the mirror is up-to-date)
rev: v1.9.0 # MUST match version ^^^^ in constraints.txt (if the mirror is up-to-date)
hooks:
- id: mypy
additional_dependencies: # versions from constraints.txt
Expand All @@ -86,27 +86,27 @@ repos:
##]]]
- astunparse==1.6.3
- attrs==23.2.0
- black==24.2.0
- boltons==23.1.1
- black==24.3.0
- boltons==24.0.0
- cached-property==1.5.2
- click==8.1.7
- cmake==3.28.3
- cmake==3.29.0.1
- cytoolz==0.12.3
- deepdiff==6.7.1
- devtools==0.12.2
- factory-boy==3.3.0
- frozendict==2.4.0
- frozendict==2.4.1
- gridtools-cpp==2.3.2
- importlib-resources==6.1.2
- importlib-resources==6.4.0
- jinja2==3.1.3
- lark==1.1.9
- mako==1.3.2
- nanobind==1.9.2
- ninja==1.11.1.1
- numpy==1.24.4
- packaging==23.2
- pybind11==2.11.1
- setuptools==69.1.1
- packaging==24.0
- pybind11==2.12.0
- setuptools==69.2.0
- tabulate==0.9.0
- typing-extensions==4.5.0
- xxhash==3.0.0
Expand Down
161 changes: 85 additions & 76 deletions constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,32 @@
#
aenum==3.1.15 # via dace
alabaster==0.7.13 # via sphinx
annotated-types==0.6.0 # via pydantic
asttokens==2.4.1 # via devtools, stack-data
astunparse==1.6.3 ; python_version < "3.9" # via dace, gt4py (pyproject.toml)
attrs==23.2.0 # via flake8-bugbear, flake8-eradicate, gt4py (pyproject.toml), hypothesis, jsonschema, referencing
babel==2.14.0 # via sphinx
backcall==0.2.0 # via ipython
black==24.2.0 # via gt4py (pyproject.toml)
black==24.3.0 # via gt4py (pyproject.toml)
blinker==1.7.0 # via flask
boltons==23.1.1 # via gt4py (pyproject.toml)
build==1.0.3 # via pip-tools
boltons==24.0.0 # via gt4py (pyproject.toml)
build==1.2.1 # via pip-tools
bump-my-version==0.12.0 # via -r requirements-dev.in
cached-property==1.5.2 # via gt4py (pyproject.toml)
cachetools==5.3.3 # via tox
certifi==2024.2.2 # via requests
cffi==1.16.0 # via cryptography
cfgv==3.4.0 # via pre-commit
chardet==5.2.0 # via tox
charset-normalizer==3.3.2 # via requests
clang-format==17.0.6 # via -r requirements-dev.in, gt4py (pyproject.toml)
click==8.1.7 # via black, flask, gt4py (pyproject.toml), pip-tools
cmake==3.28.3 # via gt4py (pyproject.toml)
cogapp==3.3.0 # via -r requirements-dev.in
clang-format==18.1.2 # via -r requirements-dev.in, gt4py (pyproject.toml)
click==8.1.7 # via black, bump-my-version, flask, gt4py (pyproject.toml), pip-tools, rich-click
cmake==3.29.0.1 # via gt4py (pyproject.toml)
cogapp==3.4.1 # via -r requirements-dev.in
colorama==0.4.6 # via tox
comm==0.2.1 # via ipykernel
comm==0.2.2 # via ipykernel
contourpy==1.1.1 # via matplotlib
coverage==7.4.3 # via -r requirements-dev.in, pytest-cov
coverage==7.4.4 # via -r requirements-dev.in, pytest-cov
cryptography==42.0.5 # via types-paramiko, types-pyopenssl, types-redis
cycler==0.12.1 # via matplotlib
cytoolz==0.12.3 # via gt4py (pyproject.toml)
Expand All @@ -47,32 +49,32 @@ exceptiongroup==1.2.0 # via hypothesis, pytest
execnet==2.0.2 # via pytest-cache, pytest-xdist
executing==2.0.1 # via devtools, stack-data
factory-boy==3.3.0 # via gt4py (pyproject.toml), pytest-factoryboy
faker==23.2.1 # via factory-boy
faker==24.4.0 # via factory-boy
fastjsonschema==2.19.1 # via nbformat
filelock==3.13.1 # via tox, virtualenv
filelock==3.13.3 # via tox, virtualenv
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
flake8-bugbear==24.2.6 # via -r requirements-dev.in
flake8-builtins==2.2.0 # via -r requirements-dev.in
flake8-builtins==2.4.0 # via -r requirements-dev.in
flake8-debugger==4.1.2 # via -r requirements-dev.in
flake8-docstrings==1.7.0 # via -r requirements-dev.in
flake8-eradicate==1.5.0 # via -r requirements-dev.in
flake8-mutable==1.2.0 # via -r requirements-dev.in
flake8-pyproject==1.2.3 # via -r requirements-dev.in
flake8-rst-docstrings==0.3.0 # via -r requirements-dev.in
flask==3.0.2 # via dace
fonttools==4.49.0 # via matplotlib
fonttools==4.50.0 # via matplotlib
fparser==0.1.4 # via dace
frozendict==2.4.0 # via gt4py (pyproject.toml)
frozendict==2.4.1 # via gt4py (pyproject.toml)
gridtools-cpp==2.3.2 # via gt4py (pyproject.toml)
hypothesis==6.98.13 # via -r requirements-dev.in, gt4py (pyproject.toml)
hypothesis==6.100.0 # via -r requirements-dev.in, gt4py (pyproject.toml)
identify==2.5.35 # via pre-commit
idna==3.6 # via requests
imagesize==1.4.1 # via sphinx
importlib-metadata==7.0.1 # via build, flask, jax, jupyter-client, sphinx
importlib-resources==6.1.2 ; python_version < "3.9" # via gt4py (pyproject.toml), jsonschema, jsonschema-specifications, matplotlib
importlib-metadata==7.1.0 # via build, flask, jax, jupyter-client, sphinx
importlib-resources==6.4.0 ; python_version < "3.9" # via gt4py (pyproject.toml), jsonschema, jsonschema-specifications, matplotlib
inflection==0.5.1 # via pytest-factoryboy
iniconfig==2.0.0 # via pytest
ipykernel==6.29.3 # via nbmake
ipykernel==6.29.4 # via nbmake
ipython==8.12.3 # via ipykernel
isort==5.13.2 # via -r requirements-dev.in
itsdangerous==2.1.2 # via flask
Expand All @@ -82,13 +84,13 @@ jedi==0.19.1 # via ipython
jinja2==3.1.3 # via flask, gt4py (pyproject.toml), sphinx
jsonschema==4.21.1 # via nbformat
jsonschema-specifications==2023.12.1 # via jsonschema
jupyter-client==8.6.0 # via ipykernel, nbclient
jupyter-core==5.7.1 # via ipykernel, jupyter-client, nbformat
jupyter-client==8.6.1 # via ipykernel, nbclient
jupyter-core==5.7.2 # via ipykernel, jupyter-client, nbformat
jupytext==1.16.1 # via -r requirements-dev.in
kiwisolver==1.4.5 # via matplotlib
lark==1.1.9 # via gt4py (pyproject.toml)
mako==1.3.2 # via gt4py (pyproject.toml)
markdown-it-py==3.0.0 # via jupytext, mdit-py-plugins
markdown-it-py==3.0.0 # via jupytext, mdit-py-plugins, rich
markupsafe==2.1.5 # via jinja2, mako, werkzeug
matplotlib==3.7.5 # via -r requirements-dev.in
matplotlib-inline==0.1.6 # via ipykernel, ipython
Expand All @@ -97,27 +99,27 @@ mdit-py-plugins==0.4.0 # via jupytext
mdurl==0.1.2 # via markdown-it-py
ml-dtypes==0.2.0 # via jax, jaxlib
mpmath==1.3.0 # via sympy
mypy==1.8.0 # via -r requirements-dev.in
mypy==1.9.0 # via -r requirements-dev.in
mypy-extensions==1.0.0 # via black, mypy
nanobind==1.9.2 # via gt4py (pyproject.toml)
nbclient==0.6.8 # via nbmake
nbformat==5.9.2 # via jupytext, nbclient, nbmake
nbmake==1.5.0 # via -r requirements-dev.in
nbformat==5.10.3 # via jupytext, nbclient, nbmake
nbmake==1.5.3 # via -r requirements-dev.in
nest-asyncio==1.6.0 # via ipykernel, nbclient
networkx==3.1 # via dace
ninja==1.11.1.1 # via gt4py (pyproject.toml)
nodeenv==1.8.0 # via pre-commit
numpy==1.24.4 # via contourpy, dace, gt4py (pyproject.toml), jax, jaxlib, matplotlib, ml-dtypes, opt-einsum, scipy, types-jack-client
opt-einsum==3.3.0 # via jax
ordered-set==4.1.0 # via deepdiff
packaging==23.2 # via black, build, gt4py (pyproject.toml), ipykernel, jupytext, matplotlib, pyproject-api, pytest, setuptools-scm, sphinx, tox
packaging==24.0 # via black, build, gt4py (pyproject.toml), ipykernel, jupytext, matplotlib, pyproject-api, pytest, pytest-factoryboy, setuptools-scm, sphinx, tox
parso==0.8.3 # via jedi
pathspec==0.12.1 # via black
pexpect==4.9.0 # via ipython
pickleshare==0.7.5 # via ipython
pillow==10.2.0 # via matplotlib
pip-tools==7.4.0 # via -r requirements-dev.in
pipdeptree==2.15.1 # via -r requirements-dev.in
pillow==10.3.0 # via matplotlib
pip-tools==7.4.1 # via -r requirements-dev.in
pipdeptree==2.16.2 # via -r requirements-dev.in
pkgutil-resolve-name==1.3.10 # via jsonschema
platformdirs==4.2.0 # via black, jupyter-core, tox, virtualenv
pluggy==1.4.0 # via pytest, tox
Expand All @@ -127,29 +129,35 @@ prompt-toolkit==3.0.43 # via ipython
psutil==5.9.8 # via -r requirements-dev.in, ipykernel, pytest-xdist
ptyprocess==0.7.0 # via pexpect
pure-eval==0.2.2 # via stack-data
pybind11==2.11.1 # via gt4py (pyproject.toml)
pybind11==2.12.0 # via gt4py (pyproject.toml)
pycodestyle==2.11.1 # via flake8, flake8-debugger
pycparser==2.21 # via cffi
pycparser==2.22 # via cffi
pydantic==2.0a3 # via bump-my-version, pydantic-settings
pydantic-core==0.25.0 # via pydantic
pydantic-settings==1.99 # via bump-my-version
pydocstyle==6.3.0 # via flake8-docstrings
pyflakes==3.2.0 # via flake8
pygments==2.17.2 # via -r requirements-dev.in, devtools, flake8-rst-docstrings, ipython, nbmake, sphinx
pyparsing==3.1.1 # via matplotlib
pygments==2.17.2 # via -r requirements-dev.in, devtools, flake8-rst-docstrings, ipython, nbmake, rich, sphinx
pyparsing==3.1.2 # via matplotlib
pyproject-api==1.6.1 # via tox
pyproject-hooks==1.0.0 # via build, pip-tools
pytest==8.0.2 # via -r requirements-dev.in, gt4py (pyproject.toml), nbmake, pytest-cache, pytest-cov, pytest-factoryboy, pytest-xdist
pytest==8.1.1 # via -r requirements-dev.in, gt4py (pyproject.toml), nbmake, pytest-cache, pytest-cov, pytest-factoryboy, pytest-xdist
pytest-cache==1.0 # via -r requirements-dev.in
pytest-cov==4.1.0 # via -r requirements-dev.in
pytest-factoryboy==2.6.0 # via -r requirements-dev.in
pytest-cov==5.0.0 # via -r requirements-dev.in
pytest-factoryboy==2.7.0 # via -r requirements-dev.in
pytest-xdist==3.5.0 # via -r requirements-dev.in
python-dateutil==2.8.2 # via faker, jupyter-client, matplotlib
python-dateutil==2.9.0.post0 # via faker, jupyter-client, matplotlib
python-dotenv==1.0.1 # via pydantic-settings
pytz==2024.1 # via babel
pyyaml==6.0.1 # via dace, jupytext, pre-commit
pyzmq==25.1.2 # via ipykernel, jupyter-client
referencing==0.33.0 # via jsonschema, jsonschema-specifications
referencing==0.34.0 # via jsonschema, jsonschema-specifications
requests==2.31.0 # via dace, sphinx
restructuredtext-lint==1.4.0 # via flake8-rst-docstrings
rich==13.7.1 # via bump-my-version, rich-click
rich-click==1.7.4 # via bump-my-version
rpds-py==0.18.0 # via jsonschema, referencing
ruff==0.2.2 # via -r requirements-dev.in
ruff==0.3.5 # via -r requirements-dev.in
scipy==1.10.1 # via gt4py (pyproject.toml), jax, jaxlib
setuptools-scm==8.0.4 # via fparser
six==1.16.0 # via asttokens, astunparse, python-dateutil
Expand All @@ -169,36 +177,37 @@ sympy==1.9 # via dace, gt4py (pyproject.toml)
tabulate==0.9.0 # via gt4py (pyproject.toml)
toml==0.10.2 # via jupytext
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
tomlkit==0.12.4 # via bump-my-version
toolz==0.12.1 # via cytoolz
tornado==6.4 # via ipykernel, jupyter-client
tox==4.13.0 # via -r requirements-dev.in
traitlets==5.14.1 # via comm, ipykernel, ipython, jupyter-client, jupyter-core, matplotlib-inline, nbclient, nbformat
types-aiofiles==23.2.0.20240106 # via types-all
tox==4.14.2 # via -r requirements-dev.in
traitlets==5.14.2 # via comm, ipykernel, ipython, jupyter-client, jupyter-core, matplotlib-inline, nbclient, nbformat
types-aiofiles==23.2.0.20240331 # via types-all
types-all==1.0.0 # via -r requirements-dev.in
types-annoy==1.17.8.4 # via types-all
types-atomicwrites==1.4.5.1 # via types-all
types-backports==0.1.3 # via types-all
types-backports-abc==0.5.2 # via types-all
types-bleach==6.1.0.20240222 # via types-all
types-bleach==6.1.0.20240331 # via types-all
types-boto==2.49.18.20240205 # via types-all
types-cachetools==5.3.0.7 # via types-all
types-certifi==2021.10.8.3 # via types-all
types-cffi==1.16.0.20240106 # via types-jack-client
types-cffi==1.16.0.20240331 # via types-jack-client
types-characteristic==14.3.7 # via types-all
types-chardet==5.0.4.6 # via types-all
types-click==7.1.8 # via types-all, types-flask
types-click-spinner==0.1.13.20240106 # via types-all
types-colorama==0.4.15.20240205 # via types-all
types-click-spinner==0.1.13.20240311 # via types-all
types-colorama==0.4.15.20240311 # via types-all
types-contextvars==2.4.7.3 # via types-all
types-croniter==2.0.0.20240106 # via types-all
types-croniter==2.0.0.20240321 # via types-all
types-cryptography==3.3.23.2 # via types-all, types-openssl-python, types-pyjwt
types-dataclasses==0.6.6 # via types-all
types-dateparser==1.1.4.20240106 # via types-all
types-dateparser==1.1.4.20240331 # via types-all
types-datetimerange==2.0.0.6 # via types-all
types-decorator==5.1.8.20240106 # via types-all
types-deprecated==1.2.9.20240106 # via types-all
types-decorator==5.1.8.20240310 # via types-all
types-deprecated==1.2.9.20240311 # via types-all
types-docopt==0.6.11.4 # via types-all
types-docutils==0.20.0.20240227 # via types-all
types-docutils==0.20.0.20240331 # via types-all
types-emoji==2.1.0.3 # via types-all
types-enum34==1.1.8 # via types-all
types-fb303==1.0.0 # via types-all, types-scribe
Expand All @@ -209,70 +218,70 @@ types-freezegun==1.1.10 # via types-all
types-frozendict==2.0.9 # via types-all
types-futures==3.3.8 # via types-all
types-geoip2==3.0.0 # via types-all
types-html5lib==1.1.11.20240222 # via types-bleach
types-html5lib==1.1.11.20240228 # via types-bleach
types-ipaddress==1.0.8 # via types-all, types-maxminddb
types-itsdangerous==1.1.6 # via types-all
types-jack-client==0.5.10.20240106 # via types-all
types-jinja2==2.11.9 # via types-all, types-flask
types-kazoo==0.1.3 # via types-all
types-markdown==3.5.0.20240129 # via types-all
types-markdown==3.6.0.20240316 # via types-all
types-markupsafe==1.1.10 # via types-all, types-jinja2
types-maxminddb==1.5.0 # via types-all, types-geoip2
types-mock==5.1.0.20240106 # via types-all
types-mypy-extensions==1.0.0.5 # via types-all
types-mock==5.1.0.20240311 # via types-all
types-mypy-extensions==1.0.0.20240311 # via types-all
types-nmap==0.1.6 # via types-all
types-openssl-python==0.1.3 # via types-all
types-orjson==3.6.2 # via types-all
types-paramiko==3.4.0.20240205 # via types-all, types-pysftp
types-paramiko==3.4.0.20240311 # via types-all, types-pysftp
types-pathlib2==2.3.0 # via types-all
types-pillow==10.2.0.20240213 # via types-all
types-pillow==10.2.0.20240331 # via types-all
types-pkg-resources==0.1.3 # via types-all
types-polib==1.2.0.20240115 # via types-all
types-protobuf==4.24.0.20240129 # via types-all
types-polib==1.2.0.20240327 # via types-all
types-protobuf==4.24.0.20240311 # via types-all
types-pyaudio==0.2.16.20240106 # via types-all
types-pycurl==7.45.2.20240106 # via types-all
types-pyfarmhash==0.3.1.2 # via types-all
types-pycurl==7.45.2.20240311 # via types-all
types-pyfarmhash==0.3.1.20240311 # via types-all
types-pyjwt==1.7.1 # via types-all
types-pymssql==2.1.0 # via types-all
types-pymysql==1.1.0.1 # via types-all
types-pyopenssl==24.0.0.20240130 # via types-redis
types-pyopenssl==24.0.0.20240311 # via types-redis
types-pyrfc3339==1.1.1.5 # via types-all
types-pysftp==0.2.17.20240106 # via types-all
types-python-dateutil==2.8.19.20240106 # via types-all, types-datetimerange
types-python-dateutil==2.9.0.20240316 # via types-all, types-datetimerange
types-python-gflags==3.1.7.3 # via types-all
types-python-slugify==8.0.2.20240127 # via types-all
types-python-slugify==8.0.2.20240310 # via types-all
types-pytz==2024.1.0.20240203 # via types-all, types-tzlocal
types-pyvmomi==8.0.0.6 # via types-all
types-pyyaml==6.0.12.12 # via types-all
types-redis==4.6.0.20240218 # via types-all
types-requests==2.31.0.20240218 # via types-all
types-pyyaml==6.0.12.20240311 # via types-all
types-redis==4.6.0.20240311 # via types-all
types-requests==2.31.0.20240402 # via types-all
types-retry==0.9.9.4 # via types-all
types-routes==2.5.0 # via types-all
types-scribe==2.0.0 # via types-all
types-setuptools==69.1.0.20240223 # via types-cffi
types-simplejson==3.19.0.20240218 # via types-all
types-setuptools==69.2.0.20240317 # via types-cffi
types-simplejson==3.19.0.20240310 # via types-all
types-singledispatch==4.1.0.0 # via types-all
types-six==1.16.21.20240106 # via types-all
types-six==1.16.21.20240311 # via types-all
types-tabulate==0.9.0.20240106 # via types-all
types-termcolor==1.1.6.2 # via types-all
types-toml==0.10.8.7 # via types-all
types-toml==0.10.8.20240310 # via types-all
types-tornado==5.1.1 # via types-all
types-typed-ast==1.5.8.7 # via types-all
types-tzlocal==5.1.0.1 # via types-all
types-ujson==5.9.0.0 # via types-all
types-waitress==2.1.4.20240106 # via types-all
types-werkzeug==1.0.9 # via types-all, types-flask
types-xxhash==3.0.5.2 # via types-all
typing-extensions==4.5.0 # via black, faker, gt4py (pyproject.toml), ipython, mypy, pytest-factoryboy, setuptools-scm
typing-extensions==4.5.0 # via annotated-types, black, faker, gt4py (pyproject.toml), ipython, mypy, pydantic, pydantic-core, pytest-factoryboy, rich, rich-click, setuptools-scm
urllib3==2.2.1 # via requests, types-requests
virtualenv==20.25.1 # via pre-commit, tox
wcwidth==0.2.13 # via prompt-toolkit
websockets==12.0 # via dace
werkzeug==3.0.1 # via flask
wheel==0.42.0 # via astunparse, pip-tools
werkzeug==3.0.2 # via flask
wheel==0.43.0 # via astunparse, pip-tools
xxhash==3.0.0 # via gt4py (pyproject.toml)
zipp==3.17.0 # via importlib-metadata, importlib-resources
zipp==3.18.1 # via importlib-metadata, importlib-resources

# The following packages are considered to be unsafe in a requirements file:
pip==24.0 # via pip-tools
setuptools==69.1.1 # via gt4py (pyproject.toml), nodeenv, pip-tools, setuptools-scm
pip==24.0 # via pip-tools, pipdeptree
setuptools==69.2.0 # via gt4py (pyproject.toml), nodeenv, pip-tools, setuptools-scm
Loading

0 comments on commit a9540aa

Please sign in to comment.