Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor[next]: Replace pybind11 with nanobind #1299

Merged
merged 16 commits into from
Aug 17, 2023
Merged
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ repos:
- flake8-eradicate==1.5.0
- flake8-mutable==1.2.0
- flake8-pyproject==1.2.3
- pygments==2.15.1
- pygments==2.16.1
##[[[end]]]
# - flake8-rst-docstrings # Disabled for now due to random false positives
exclude: |
Expand Down Expand Up @@ -146,9 +146,9 @@ repos:
## version = re.search('mypy==([0-9\.]*)', open("constraints.txt").read())[1]
## print(f"#========= FROM constraints.txt: v{version} =========")
##]]]
#========= FROM constraints.txt: v1.4.1 =========
#========= FROM constraints.txt: v1.5.0 =========
##[[[end]]]
rev: v1.4.1 # MUST match version ^^^^ in constraints.txt (if the mirror is up-to-date)
rev: v1.5.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 @@ -166,22 +166,22 @@ repos:
- boltons==23.0.0
- cached-property==1.5.2
- click==8.1.6
- cmake==3.27.0
- cmake==3.27.2
- cytoolz==0.12.2
- deepdiff==6.3.1
- devtools==0.11.0
- frozendict==2.3.8
- gridtools-cpp==2.3.0
- importlib-resources==6.0.0
- gridtools-cpp==2.3.1
- importlib-resources==6.0.1
- jinja2==3.1.2
- lark==1.1.7
- mako==1.2.4
- nanobind==1.4.0
- nanobind==1.5.0
- ninja==1.11.1
- numpy==1.24.4
- packaging==23.1
- pybind11==2.11.1
- setuptools==68.0.0
- setuptools==68.1.0
- tabulate==0.9.0
- typing-extensions==4.5.0
- xxhash==3.0.0
Expand Down
72 changes: 36 additions & 36 deletions constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ cached-property==1.5.2 # via gt4py (pyproject.toml)
cachetools==5.3.1 # via tox
certifi==2023.7.22 # via requests
cffi==1.15.1 # via cryptography
cfgv==3.3.1 # via pre-commit
chardet==5.1.0 # via tox
cfgv==3.4.0 # via pre-commit
chardet==5.2.0 # via tox
charset-normalizer==3.2.0 # via requests
clang-format==16.0.6 # via -r requirements-dev.in, gt4py (pyproject.toml)
click==8.1.6 # via black, flask, gt4py (pyproject.toml), pip-tools
cmake==3.27.0 # via gt4py (pyproject.toml)
cmake==3.27.2 # via gt4py (pyproject.toml)
cogapp==3.3.0 # via -r requirements-dev.in
colorama==0.4.6 # via tox
coverage==7.2.7 # via -r requirements-dev.in, pytest-cov
cryptography==41.0.2 # via types-paramiko, types-pyopenssl, types-redis
coverage==7.3.0 # via -r requirements-dev.in, pytest-cov
cryptography==41.0.3 # via types-paramiko, types-pyopenssl, types-redis
cytoolz==0.12.2 # via gt4py (pyproject.toml)
dace==0.14.4 # via gt4py (pyproject.toml)
darglint==1.8.1 # via -r requirements-dev.in
Expand All @@ -37,11 +37,11 @@ dill==0.3.7 # via dace
distlib==0.3.7 # via virtualenv
docutils==0.18.1 # via restructuredtext-lint, sphinx, sphinx-rtd-theme
eradicate==2.3.0 # via flake8-eradicate
exceptiongroup==1.1.2 # via hypothesis, pytest
exceptiongroup==1.1.3 # via hypothesis, pytest
execnet==2.0.2 # via pytest-cache, pytest-xdist
executing==1.2.0 # via devtools
factory-boy==3.3.0 # via -r requirements-dev.in, pytest-factoryboy
faker==19.2.0 # via factory-boy
faker==19.3.0 # via factory-boy
fastjsonschema==2.18.0 # via nbformat
filelock==3.12.2 # via tox, virtualenv
flake8==6.1.0 # via -r requirements-dev.in, flake8-bugbear, flake8-builtins, flake8-debugger, flake8-docstrings, flake8-eradicate, flake8-mutable, flake8-pyproject, flake8-rst-docstrings
Expand All @@ -55,19 +55,19 @@ flake8-pyproject==1.2.3 # via -r requirements-dev.in
flake8-rst-docstrings==0.3.0 # via -r requirements-dev.in
flask==2.3.2 # via dace
frozendict==2.3.8 # via gt4py (pyproject.toml)
gridtools-cpp==2.3.0 # via gt4py (pyproject.toml)
hypothesis==6.82.0 # via -r requirements-dev.in, gt4py (pyproject.toml)
gridtools-cpp==2.3.1 # via gt4py (pyproject.toml)
hypothesis==6.82.4 # via -r requirements-dev.in, gt4py (pyproject.toml)
identify==2.5.26 # via pre-commit
idna==3.4 # via requests
imagesize==1.4.1 # via sphinx
importlib-metadata==6.8.0 # via flask, sphinx
importlib-resources==6.0.0 ; python_version < "3.9" # via gt4py (pyproject.toml), jsonschema, jsonschema-specifications
importlib-resources==6.0.1 ; python_version < "3.9" # via gt4py (pyproject.toml), jsonschema, jsonschema-specifications
inflection==0.5.1 # via pytest-factoryboy
iniconfig==2.0.0 # via pytest
isort==5.12.0 # via -r requirements-dev.in
itsdangerous==2.1.2 # via flask
jinja2==3.1.2 # via flask, gt4py (pyproject.toml), sphinx
jsonschema==4.18.4 # via nbformat
jsonschema==4.19.0 # via nbformat
jsonschema-specifications==2023.7.1 # via jsonschema
jupyter-core==5.3.1 # via nbformat
jupytext==1.15.0 # via -r requirements-dev.in
Expand All @@ -79,19 +79,19 @@ mccabe==0.7.0 # via flake8
mdit-py-plugins==0.4.0 # via jupytext
mdurl==0.1.2 # via markdown-it-py
mpmath==1.3.0 # via sympy
mypy==1.4.1 # via -r requirements-dev.in
mypy==1.5.0 # via -r requirements-dev.in
mypy-extensions==1.0.0 # via black, mypy
nanobind==1.4.0 # via gt4py (pyproject.toml)
nbformat==5.9.1 # via jupytext
nanobind==1.5.0 # via gt4py (pyproject.toml)
nbformat==5.9.2 # via jupytext
networkx==3.1 # via dace
ninja==1.11.1 # via gt4py (pyproject.toml)
nodeenv==1.8.0 # via pre-commit
numpy==1.24.4 # via dace, gt4py (pyproject.toml), types-jack-client
ordered-set==4.1.0 # via deepdiff
packaging==23.1 # via black, build, gt4py (pyproject.toml), pyproject-api, pytest, sphinx, tox
pathspec==0.11.2 # via black
pip-tools==7.1.0 # via -r requirements-dev.in
pipdeptree==2.12.0 # via -r requirements-dev.in
pip-tools==7.3.0 # via -r requirements-dev.in
pipdeptree==2.13.0 # via -r requirements-dev.in
pkgutil-resolve-name==1.3.10 # via jsonschema
platformdirs==3.10.0 # via black, jupyter-core, tox, virtualenv
pluggy==1.2.0 # via pytest, tox
Expand All @@ -103,7 +103,7 @@ pycodestyle==2.11.0 # via flake8, flake8-debugger
pycparser==2.21 # via cffi
pydocstyle==6.3.0 # via flake8-docstrings
pyflakes==3.1.0 # via flake8
pygments==2.15.1 # via -r requirements-dev.in, flake8-rst-docstrings, sphinx
pygments==2.16.1 # via -r requirements-dev.in, flake8-rst-docstrings, sphinx
pyproject-api==1.5.3 # via tox
pyproject-hooks==1.0.0 # via build
pytest==7.4.0 # via -r requirements-dev.in, gt4py (pyproject.toml), pytest-cache, pytest-cov, pytest-factoryboy, pytest-xdist
Expand All @@ -114,11 +114,11 @@ pytest-xdist==3.3.1 # via -r requirements-dev.in
python-dateutil==2.8.2 # via faker
pytz==2023.3 # via babel
pyyaml==6.0.1 # via dace, jupytext, pre-commit
referencing==0.30.0 # via jsonschema, jsonschema-specifications
referencing==0.30.2 # via jsonschema, jsonschema-specifications
requests==2.31.0 # via dace, sphinx
restructuredtext-lint==1.4.0 # via flake8-rst-docstrings
rpds-py==0.9.2 # via jsonschema, referencing
ruff==0.0.280 # via -r requirements-dev.in
ruff==0.0.284 # via -r requirements-dev.in
six==1.16.0 # via asttokens, astunparse, python-dateutil
snowballstemmer==2.2.0 # via pydocstyle, sphinx
sortedcontainers==2.4.0 # via hypothesis
Expand All @@ -136,9 +136,9 @@ tabulate==0.9.0 # via gt4py (pyproject.toml)
toml==0.10.2 # via jupytext
tomli==2.0.1 # via -r requirements-dev.in, black, build, coverage, flake8-pyproject, mypy, pip-tools, pyproject-api, pyproject-hooks, pytest, tox
toolz==0.12.0 # via cytoolz
tox==4.6.4 # via -r requirements-dev.in
tox==4.9.0 # via -r requirements-dev.in
traitlets==5.9.0 # via jupyter-core, nbformat
types-aiofiles==23.1.0.5 # via types-all
types-aiofiles==23.2.0.0 # 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
Expand All @@ -148,7 +148,7 @@ types-bleach==6.0.0.4 # via types-all
types-boto==2.49.18.9 # via types-all
types-cachetools==5.3.0.6 # via types-all
types-certifi==2021.10.8.3 # via types-all
types-cffi==1.15.1.14 # via types-jack-client
types-cffi==1.15.1.15 # 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
Expand All @@ -162,8 +162,8 @@ types-dateparser==1.1.4.10 # via types-all
types-datetimerange==2.0.0.6 # via types-all
types-decorator==5.1.8.4 # via types-all
types-deprecated==1.2.9.3 # via types-all
types-docopt==0.6.11.3 # via types-all
types-docutils==0.20.0.1 # via types-all
types-docopt==0.6.11.4 # via types-all
types-docutils==0.20.0.3 # 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 @@ -176,14 +176,14 @@ types-futures==3.3.8 # via types-all
types-geoip2==3.0.0 # via types-all
types-ipaddress==1.0.8 # via types-all, types-maxminddb
types-itsdangerous==1.1.6 # via types-all
types-jack-client==0.5.10.8 # via types-all
types-jack-client==0.5.10.9 # via types-all
types-jinja2==2.11.9 # via types-all, types-flask
types-kazoo==0.1.3 # via types-all
types-markdown==3.4.2.10 # 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.1 # via types-all
types-mypy-extensions==1.0.0.4 # via types-all
types-mypy-extensions==1.0.0.5 # 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
Expand All @@ -192,9 +192,9 @@ types-pathlib2==2.3.0 # via types-all
types-pillow==10.0.0.2 # via types-all
types-pkg-resources==0.1.3 # via types-all
types-polib==1.2.0.1 # via types-all
types-protobuf==4.23.0.2 # via types-all
types-pyaudio==0.2.16.6 # via types-all
types-pycurl==7.45.2.4 # via types-all
types-protobuf==4.24.0.1 # via types-all
types-pyaudio==0.2.16.7 # via types-all
types-pycurl==7.45.2.5 # via types-all
types-pyfarmhash==0.3.1.2 # via types-all
types-pyjwt==1.7.1 # via types-all
types-pymssql==2.1.0 # via types-all
Expand All @@ -205,15 +205,15 @@ types-pysftp==0.2.17.6 # via types-all
types-python-dateutil==2.8.19.14 # via types-all, types-datetimerange
types-python-gflags==3.1.7.3 # via types-all
types-python-slugify==8.0.0.3 # via types-all
types-pytz==2023.3.0.0 # via types-all, types-tzlocal
types-pytz==2023.3.0.1 # via types-all, types-tzlocal
types-pyvmomi==8.0.0.6 # via types-all
types-pyyaml==6.0.12.11 # via types-all
types-redis==4.6.0.3 # via types-all
types-redis==4.6.0.4 # via types-all
types-requests==2.31.0.2 # 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==68.0.0.3 # via types-cffi
types-setuptools==68.1.0.0 # via types-cffi
types-simplejson==3.19.0.2 # via types-all
types-singledispatch==4.0.0.2 # via types-all
types-six==1.16.21.9 # via types-all
Expand All @@ -230,13 +230,13 @@ 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), mypy, pytest-factoryboy
urllib3==2.0.4 # via requests
virtualenv==20.24.2 # via pre-commit, tox
virtualenv==20.24.3 # via pre-commit, tox
websockets==11.0.3 # via dace
werkzeug==2.3.6 # via flask
wheel==0.41.0 # via astunparse, pip-tools
werkzeug==2.3.7 # via flask
wheel==0.41.1 # via astunparse, pip-tools
xxhash==3.0.0 # via gt4py (pyproject.toml)
zipp==3.16.2 # via importlib-metadata, importlib-resources

# The following packages are considered to be unsafe in a requirements file:
pip==23.2.1 # via pip-tools
setuptools==68.0.0 # via gt4py (pyproject.toml), nodeenv, pip-tools
setuptools==68.1.0 # via gt4py (pyproject.toml), nodeenv, pip-tools
2 changes: 1 addition & 1 deletion min-extra-requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ flake8-pyproject==1.2.2
flake8-rst-docstrings==0.0.14
flake8==5.0.4
frozendict==2.3
gridtools-cpp==2.3.0
gridtools-cpp==2.3.1
hypothesis==6.0.0
importlib-resources==5.0;python_version<'3.9'
isort==5.10
Expand Down
2 changes: 1 addition & 1 deletion min-requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ flake8-pyproject==1.2.2
flake8-rst-docstrings==0.0.14
flake8==5.0.4
frozendict==2.3
gridtools-cpp==2.3.0
gridtools-cpp==2.3.1
hypothesis==6.0.0
importlib-resources==5.0;python_version<'3.9'
isort==5.10
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ dependencies = [
'deepdiff>=5.6.0',
'devtools>=0.6',
'frozendict>=2.3',
'gridtools-cpp>=2.3.0,==2.*',
'gridtools-cpp>=2.3.1,==2.*',
"importlib-resources>=5.0;python_version<'3.9'",
'jinja2>=3.0.0',
'lark>=1.1.2',
Expand Down
Loading