diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 1c273dab..d322f498 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -1,14 +1,10 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.10.txt --strip-extras --unsafe-package=pip --unsafe-package=setuptools --unsafe-package=tensorwaves -# +# This file was autogenerated by uv via the following command: +# uv pip compile pyproject.toml -o .constraints/py3.10.txt --all-extras --no-annotate --python-version=3.10 --no-emit-package setuptools absl-py==2.1.0 accessible-pygments==0.0.4 alabaster==0.7.16 ampform==0.15.0 -anyio==4.2.0 +anyio==4.3.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -18,9 +14,9 @@ async-lru==2.0.4 attrs==23.2.0 babel==2.14.0 beautifulsoup4==4.12.3 -black==24.1.1 +black==24.2.0 bleach==6.1.0 -cachetools==5.3.2 +cachetools==5.3.3 cattrs==23.2.3 certifi==2024.2.2 cffi==1.16.0 @@ -32,52 +28,55 @@ cloudpickle==3.0.0 colorama==0.4.6 comm==0.2.1 contourpy==1.2.0 -coverage==7.4.1 +coverage==7.4.3 cycler==0.12.1 debugpy==1.8.1 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.8 dm-tree==0.1.8 -docstring-to-markdown==0.13 +docstring-to-markdown==0.15 docutils==0.20.1 exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.1 filelock==3.13.1 -flatbuffers==23.5.26 -fonttools==4.48.1 +flatbuffers==24.3.6 +fonttools==4.49.0 fqdn==1.5.1 gast==0.5.4 gitdb==4.0.11 -gitpython==3.1.41 -google-auth==2.27.0 +gitpython==3.1.42 +google-auth==2.28.1 google-auth-oauthlib==1.2.0 google-pasta==0.2.0 graphviz==0.20.1 greenlet==3.0.3 -grpcio==1.60.1 +grpcio==1.62.0 +h11==0.14.0 h5py==3.10.0 hepunits==2.3.3 -identify==2.5.34 +httpcore==1.0.4 +httpx==0.27.0 +identify==2.5.35 idna==3.6 imagesize==1.4.1 iminuit==2.25.2 -importlib-metadata==7.0.1 +importlib-metadata==7.0.2 iniconfig==2.0.0 -ipykernel==6.29.2 +ipykernel==6.29.3 ipympl==0.9.3 -ipython==8.21.0 +ipython==8.22.2 ipython-genutils==0.2.0 ipywidgets==8.1.2 isoduration==20.11.0 isort==5.13.2 -jax==0.4.24 -jaxlib==0.4.24 +jax==0.4.25 +jaxlib==0.4.25 jedi==0.19.1 jinja2==3.1.3 -json5==0.9.14 +json5==0.9.22 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 @@ -87,17 +86,17 @@ jupyter-client==8.6.0 jupyter-console==6.6.3 jupyter-core==5.7.1 jupyter-events==0.9.0 -jupyter-lsp==2.2.2 -jupyter-server==2.12.5 +jupyter-lsp==2.2.4 +jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.2 -jupyterlab==4.0.12 +jupyterlab==4.1.4 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 -jupyterlab-lsp==5.0.3 -jupyterlab-myst==2.1.0 +jupyterlab-lsp==5.1.0 +jupyterlab-myst==2.3.1 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.25.2 +jupyterlab-server==2.25.3 jupyterlab-widgets==3.0.10 keras==2.15.0 kiwisolver==1.4.5 @@ -108,7 +107,7 @@ lsprotocol==2023.0.1 markdown==3.5.2 markdown-it-py==3.0.0 markupsafe==2.1.5 -matplotlib==3.8.2 +matplotlib==3.8.3 matplotlib-inline==0.1.6 mdit-py-plugins==0.4.0 mdurl==0.1.2 @@ -120,21 +119,21 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.16.0 +nbconvert==7.16.2 nbdime==4.0.1 nbformat==5.9.2 -nbmake==1.5.0 +nbmake==1.5.3 nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook==7.0.8 -notebook-shim==0.2.3 +notebook==7.1.1 +notebook-shim==0.2.4 numba==0.59.0 numpy==1.26.4 oauthlib==3.2.2 opt-einsum==3.3.0 overrides==7.7.0 packaging==23.2 -pandas==2.2.0 +pandas==2.2.1 pandocfilters==1.5.1 parso==0.8.3 particle==0.23.1 @@ -144,10 +143,10 @@ phasespace==1.9.0 pillow==10.2.0 platformdirs==4.2.0 pluggy==1.4.0 -pre-commit==3.6.1 -prometheus-client==0.19.0 +pre-commit==3.6.2 +prometheus-client==0.20.0 prompt-toolkit==3.0.43 -protobuf==4.25.2 +protobuf==4.25.3 psutil==5.9.8 ptyprocess==0.7.0 pure-eval==0.2.2 @@ -158,24 +157,24 @@ pyasn1-modules==0.3.0 pycparser==2.21 pydata-sphinx-theme==0.15.2 pygments==2.17.2 -pyparsing==3.1.1 +pyparsing==3.1.2 pyproject-api==1.6.1 -pytest==8.0.0 +pytest==8.0.2 pytest-benchmark==4.0.0 pytest-cov==4.1.0 pytest-mock==3.12.0 pytest-xdist==3.5.0 python-constraint==1.3.1 -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.1.0 +python-lsp-ruff==2.2.0 python-lsp-server==1.10.0 pytoolconfig==1.3.1 pytz==2024.1 pyyaml==6.0.1 pyzmq==25.1.2 -qrules==0.9.8 +qrules==0.10.1 qtconsole==5.5.1 qtpy==2.4.1 referencing==0.33.0 @@ -184,20 +183,20 @@ requests-oauthlib==1.3.1 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.12.0 -rpds-py==0.17.1 +rpds-py==0.18.0 rsa==4.9 -ruff==0.2.1 +ruff==0.3.1 scipy==1.12.0 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 -sniffio==1.3.0 +sniffio==1.3.1 snowballstemmer==2.2.0 soupsieve==2.5 sphinx==7.2.6 sphinx-api-relink==0.0.8 sphinx-autobuild==2024.2.4 -sphinx-book-theme==1.1.0 +sphinx-book-theme==1.1.2 sphinx-codeautolink==0.15.0 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 @@ -211,7 +210,7 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.7 sphinxcontrib-serializinghtml==1.1.10 sphobjinv==2.3.1 -sqlalchemy==2.0.26 +sqlalchemy==2.0.28 stack-data==0.6.3 sympy==1.12 tabulate==0.9.0 @@ -226,21 +225,21 @@ terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 tornado==6.4 -tox==4.12.1 +tox==4.14.1 tqdm==4.66.2 traitlets==5.14.1 -types-protobuf==4.24.0.20240129 +types-protobuf==4.24.0.20240302 types-python-dateutil==2.8.19.20240106 types-pyyaml==6.0.12.12 -types-requests==2.31.0.20240125 -types-tensorflow==2.15.0.20240206 +types-requests==2.31.0.20240218 +types-tensorflow==2.15.0.20240303 types-tqdm==4.66.0.20240106 -typing-extensions==4.9.0 +typing-extensions==4.10.0 tzdata==2024.1 ujson==5.9.0 uri-template==1.3.0 -urllib3==2.2.0 -virtualenv==20.25.0 +urllib3==2.2.1 +virtualenv==20.25.1 wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 @@ -251,6 +250,5 @@ widgetsnbextension==4.0.10 wrapt==1.14.1 zipp==3.17.0 -# The following packages are considered to be unsafe in a requirements file: +# The following packages were excluded from the output: # setuptools -# tensorwaves diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 9201d7a6..8ca40c16 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -1,14 +1,10 @@ -# -# This file is autogenerated by pip-compile with Python 3.11 -# by the following command: -# -# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.11.txt --strip-extras --unsafe-package=pip --unsafe-package=setuptools --unsafe-package=tensorwaves -# +# This file was autogenerated by uv via the following command: +# uv pip compile pyproject.toml -o .constraints/py3.11.txt --all-extras --no-annotate --python-version=3.11 --no-emit-package setuptools absl-py==2.1.0 accessible-pygments==0.0.4 alabaster==0.7.16 ampform==0.15.0 -anyio==4.2.0 +anyio==4.3.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -18,9 +14,9 @@ async-lru==2.0.4 attrs==23.2.0 babel==2.14.0 beautifulsoup4==4.12.3 -black==24.1.1 +black==24.2.0 bleach==6.1.0 -cachetools==5.3.2 +cachetools==5.3.3 cattrs==23.2.3 certifi==2024.2.2 cffi==1.16.0 @@ -32,51 +28,54 @@ cloudpickle==3.0.0 colorama==0.4.6 comm==0.2.1 contourpy==1.2.0 -coverage==7.4.1 +coverage==7.4.3 cycler==0.12.1 debugpy==1.8.1 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.8 dm-tree==0.1.8 -docstring-to-markdown==0.13 +docstring-to-markdown==0.15 docutils==0.20.1 execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.1 filelock==3.13.1 -flatbuffers==23.5.26 -fonttools==4.48.1 +flatbuffers==24.3.6 +fonttools==4.49.0 fqdn==1.5.1 gast==0.5.4 gitdb==4.0.11 -gitpython==3.1.41 -google-auth==2.27.0 +gitpython==3.1.42 +google-auth==2.28.1 google-auth-oauthlib==1.2.0 google-pasta==0.2.0 graphviz==0.20.1 greenlet==3.0.3 -grpcio==1.60.1 +grpcio==1.62.0 +h11==0.14.0 h5py==3.10.0 hepunits==2.3.3 -identify==2.5.34 +httpcore==1.0.4 +httpx==0.27.0 +identify==2.5.35 idna==3.6 imagesize==1.4.1 iminuit==2.25.2 -importlib-metadata==7.0.1 +importlib-metadata==7.0.2 iniconfig==2.0.0 -ipykernel==6.29.2 +ipykernel==6.29.3 ipympl==0.9.3 -ipython==8.21.0 +ipython==8.22.2 ipython-genutils==0.2.0 ipywidgets==8.1.2 isoduration==20.11.0 isort==5.13.2 -jax==0.4.24 -jaxlib==0.4.24 +jax==0.4.25 +jaxlib==0.4.25 jedi==0.19.1 jinja2==3.1.3 -json5==0.9.14 +json5==0.9.22 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 @@ -86,17 +85,17 @@ jupyter-client==8.6.0 jupyter-console==6.6.3 jupyter-core==5.7.1 jupyter-events==0.9.0 -jupyter-lsp==2.2.2 -jupyter-server==2.12.5 +jupyter-lsp==2.2.4 +jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.2 -jupyterlab==4.0.12 +jupyterlab==4.1.4 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 -jupyterlab-lsp==5.0.3 -jupyterlab-myst==2.1.0 +jupyterlab-lsp==5.1.0 +jupyterlab-myst==2.3.1 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.25.2 +jupyterlab-server==2.25.3 jupyterlab-widgets==3.0.10 keras==2.15.0 kiwisolver==1.4.5 @@ -107,7 +106,7 @@ lsprotocol==2023.0.1 markdown==3.5.2 markdown-it-py==3.0.0 markupsafe==2.1.5 -matplotlib==3.8.2 +matplotlib==3.8.3 matplotlib-inline==0.1.6 mdit-py-plugins==0.4.0 mdurl==0.1.2 @@ -119,21 +118,21 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.16.0 +nbconvert==7.16.2 nbdime==4.0.1 nbformat==5.9.2 -nbmake==1.5.0 +nbmake==1.5.3 nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook==7.0.8 -notebook-shim==0.2.3 +notebook==7.1.1 +notebook-shim==0.2.4 numba==0.59.0 numpy==1.26.4 oauthlib==3.2.2 opt-einsum==3.3.0 overrides==7.7.0 packaging==23.2 -pandas==2.2.0 +pandas==2.2.1 pandocfilters==1.5.1 parso==0.8.3 particle==0.23.1 @@ -143,10 +142,10 @@ phasespace==1.9.0 pillow==10.2.0 platformdirs==4.2.0 pluggy==1.4.0 -pre-commit==3.6.1 -prometheus-client==0.19.0 +pre-commit==3.6.2 +prometheus-client==0.20.0 prompt-toolkit==3.0.43 -protobuf==4.25.2 +protobuf==4.25.3 psutil==5.9.8 ptyprocess==0.7.0 pure-eval==0.2.2 @@ -157,24 +156,24 @@ pyasn1-modules==0.3.0 pycparser==2.21 pydata-sphinx-theme==0.15.2 pygments==2.17.2 -pyparsing==3.1.1 +pyparsing==3.1.2 pyproject-api==1.6.1 -pytest==8.0.0 +pytest==8.0.2 pytest-benchmark==4.0.0 pytest-cov==4.1.0 pytest-mock==3.12.0 pytest-xdist==3.5.0 python-constraint==1.3.1 -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.1.0 +python-lsp-ruff==2.2.0 python-lsp-server==1.10.0 pytoolconfig==1.3.1 pytz==2024.1 pyyaml==6.0.1 pyzmq==25.1.2 -qrules==0.9.8 +qrules==0.10.1 qtconsole==5.5.1 qtpy==2.4.1 referencing==0.33.0 @@ -183,20 +182,20 @@ requests-oauthlib==1.3.1 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.12.0 -rpds-py==0.17.1 +rpds-py==0.18.0 rsa==4.9 -ruff==0.2.1 +ruff==0.3.1 scipy==1.12.0 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 -sniffio==1.3.0 +sniffio==1.3.1 snowballstemmer==2.2.0 soupsieve==2.5 sphinx==7.2.6 sphinx-api-relink==0.0.8 sphinx-autobuild==2024.2.4 -sphinx-book-theme==1.1.0 +sphinx-book-theme==1.1.2 sphinx-codeautolink==0.15.0 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 @@ -210,7 +209,7 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.7 sphinxcontrib-serializinghtml==1.1.10 sphobjinv==2.3.1 -sqlalchemy==2.0.26 +sqlalchemy==2.0.28 stack-data==0.6.3 sympy==1.12 tabulate==0.9.0 @@ -224,21 +223,21 @@ termcolor==2.4.0 terminado==0.18.0 tinycss2==1.2.1 tornado==6.4 -tox==4.12.1 +tox==4.14.1 tqdm==4.66.2 traitlets==5.14.1 -types-protobuf==4.24.0.20240129 +types-protobuf==4.24.0.20240302 types-python-dateutil==2.8.19.20240106 types-pyyaml==6.0.12.12 -types-requests==2.31.0.20240125 -types-tensorflow==2.15.0.20240206 +types-requests==2.31.0.20240218 +types-tensorflow==2.15.0.20240303 types-tqdm==4.66.0.20240106 -typing-extensions==4.9.0 +typing-extensions==4.10.0 tzdata==2024.1 ujson==5.9.0 uri-template==1.3.0 -urllib3==2.2.0 -virtualenv==20.25.0 +urllib3==2.2.1 +virtualenv==20.25.1 wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 @@ -249,6 +248,5 @@ widgetsnbextension==4.0.10 wrapt==1.14.1 zipp==3.17.0 -# The following packages are considered to be unsafe in a requirements file: +# The following packages were excluded from the output: # setuptools -# tensorwaves diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 7dcee739..5720efe6 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -1,14 +1,10 @@ -# -# This file is autogenerated by pip-compile with Python 3.8 -# by the following command: -# -# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.8.txt --strip-extras --unsafe-package=pip --unsafe-package=setuptools --unsafe-package=tensorwaves -# +# This file was autogenerated by uv via the following command: +# uv pip compile pyproject.toml -o .constraints/py3.8.txt --all-extras --no-annotate --python-version=3.8 --no-emit-package setuptools absl-py==2.1.0 accessible-pygments==0.0.4 alabaster==0.7.13 ampform==0.15.0 -anyio==4.2.0 +anyio==4.3.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -19,9 +15,9 @@ attrs==23.2.0 babel==2.14.0 backcall==0.2.0 beautifulsoup4==4.12.3 -black==24.1.1 +black==24.2.0 bleach==6.1.0 -cachetools==5.3.2 +cachetools==5.3.3 cattrs==23.2.3 certifi==2024.2.2 cffi==1.16.0 @@ -33,42 +29,45 @@ cloudpickle==3.0.0 colorama==0.4.6 comm==0.2.1 contourpy==1.1.1 -coverage==7.4.1 +coverage==7.4.3 cycler==0.12.1 debugpy==1.8.1 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.8 dm-tree==0.1.8 -docstring-to-markdown==0.13 +docstring-to-markdown==0.15 docutils==0.19 exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.1 filelock==3.13.1 -flatbuffers==23.5.26 -fonttools==4.48.1 +flatbuffers==24.3.6 +fonttools==4.49.0 fqdn==1.5.1 gast==0.4.0 gitdb==4.0.11 -gitpython==3.1.41 -google-auth==2.27.0 +gitpython==3.1.42 +google-auth==2.28.1 google-auth-oauthlib==0.4.6 google-pasta==0.2.0 graphviz==0.20.1 greenlet==3.0.3 -grpcio==1.60.1 +grpcio==1.62.0 +h11==0.14.0 h5py==3.10.0 hepunits==2.3.3 -identify==2.5.34 +httpcore==1.0.4 +httpx==0.27.0 +identify==2.5.35 idna==3.6 imagesize==1.4.1 iminuit==2.25.2 -importlib-metadata==7.0.1 -importlib-resources==6.1.1 +importlib-metadata==7.0.2 +importlib-resources==6.1.3 iniconfig==2.0.0 -ipykernel==6.29.2 +ipykernel==6.29.3 ipympl==0.9.3 ipython==8.12.3 ipython-genutils==0.2.0 @@ -79,7 +78,7 @@ jax==0.4.13 jaxlib==0.4.13 jedi==0.19.1 jinja2==3.1.3 -json5==0.9.14 +json5==0.9.22 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 @@ -89,17 +88,17 @@ jupyter-client==8.6.0 jupyter-console==6.6.3 jupyter-core==5.7.1 jupyter-events==0.9.0 -jupyter-lsp==2.2.2 -jupyter-server==2.12.5 +jupyter-lsp==2.2.4 +jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.2 -jupyterlab==4.0.12 +jupyterlab==4.1.4 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 -jupyterlab-lsp==5.0.3 -jupyterlab-myst==2.1.0 +jupyterlab-lsp==5.1.0 +jupyterlab-myst==2.3.1 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.25.2 +jupyterlab-server==2.25.3 jupyterlab-widgets==3.0.10 keras==2.11.0 kiwisolver==1.4.5 @@ -110,7 +109,7 @@ lsprotocol==2023.0.1 markdown==3.5.2 markdown-it-py==2.2.0 markupsafe==2.1.5 -matplotlib==3.7.4 +matplotlib==3.7.5 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 @@ -122,14 +121,14 @@ mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.6.8 -nbconvert==7.16.0 +nbconvert==7.16.2 nbdime==4.0.1 nbformat==5.9.2 -nbmake==1.5.0 +nbmake==1.5.3 nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook==7.0.8 -notebook-shim==0.2.3 +notebook==7.1.1 +notebook-shim==0.2.4 numba==0.58.1 numpy==1.24.4 oauthlib==3.2.2 @@ -149,7 +148,7 @@ pkgutil-resolve-name==1.3.10 platformdirs==4.2.0 pluggy==1.4.0 pre-commit==3.5.0 -prometheus-client==0.19.0 +prometheus-client==0.20.0 prompt-toolkit==3.0.43 protobuf==3.19.6 psutil==5.9.8 @@ -162,24 +161,24 @@ pyasn1-modules==0.3.0 pycparser==2.21 pydata-sphinx-theme==0.14.4 pygments==2.17.2 -pyparsing==3.1.1 +pyparsing==3.1.2 pyproject-api==1.6.1 -pytest==8.0.0 +pytest==8.0.2 pytest-benchmark==4.0.0 pytest-cov==4.1.0 pytest-mock==3.12.0 pytest-xdist==3.5.0 python-constraint==1.3.1 -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.1.0 +python-lsp-ruff==2.2.0 python-lsp-server==1.10.0 pytoolconfig==1.3.1 pytz==2024.1 pyyaml==6.0.1 pyzmq==25.1.2 -qrules==0.9.8 +qrules==0.10.1 qtconsole==5.5.1 qtpy==2.4.1 referencing==0.33.0 @@ -188,14 +187,14 @@ requests-oauthlib==1.3.1 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.12.0 -rpds-py==0.17.1 +rpds-py==0.18.0 rsa==4.9 -ruff==0.2.1 +ruff==0.3.1 scipy==1.10.1 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 -sniffio==1.3.0 +sniffio==1.3.1 snowballstemmer==2.2.0 soupsieve==2.5 sphinx==5.3.0 @@ -215,7 +214,7 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 sphobjinv==2.3.1 -sqlalchemy==2.0.26 +sqlalchemy==2.0.28 stack-data==0.6.3 sympy==1.12 tabulate==0.9.0 @@ -231,21 +230,21 @@ terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 tornado==6.4 -tox==4.12.1 +tox==4.14.1 tqdm==4.66.2 traitlets==5.14.1 -types-protobuf==4.24.0.20240129 +types-protobuf==4.24.0.20240302 types-python-dateutil==2.8.19.20240106 types-pyyaml==6.0.12.12 -types-requests==2.31.0.20240125 -types-tensorflow==2.15.0.20240206 +types-requests==2.31.0.20240218 +types-tensorflow==2.15.0.20240303 types-tqdm==4.66.0.20240106 -typing-extensions==4.9.0 +typing-extensions==4.10.0 tzdata==2024.1 ujson==5.9.0 uri-template==1.3.0 -urllib3==2.2.0 -virtualenv==20.25.0 +urllib3==2.2.1 +virtualenv==20.25.1 wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 @@ -256,6 +255,5 @@ widgetsnbextension==4.0.10 wrapt==1.16.0 zipp==3.17.0 -# The following packages are considered to be unsafe in a requirements file: +# The following packages were excluded from the output: # setuptools -# tensorwaves diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 71143963..e33d7e93 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -1,14 +1,10 @@ -# -# This file is autogenerated by pip-compile with Python 3.9 -# by the following command: -# -# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.9.txt --strip-extras --unsafe-package=pip --unsafe-package=setuptools --unsafe-package=tensorwaves -# +# This file was autogenerated by uv via the following command: +# uv pip compile pyproject.toml -o .constraints/py3.9.txt --all-extras --no-annotate --python-version=3.9 --no-emit-package setuptools absl-py==2.1.0 accessible-pygments==0.0.4 alabaster==0.7.16 ampform==0.15.0 -anyio==4.2.0 +anyio==4.3.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -18,9 +14,9 @@ async-lru==2.0.4 attrs==23.2.0 babel==2.14.0 beautifulsoup4==4.12.3 -black==24.1.1 +black==24.2.0 bleach==6.1.0 -cachetools==5.3.2 +cachetools==5.3.3 cattrs==23.2.3 certifi==2024.2.2 cffi==1.16.0 @@ -32,53 +28,56 @@ cloudpickle==3.0.0 colorama==0.4.6 comm==0.2.1 contourpy==1.2.0 -coverage==7.4.1 +coverage==7.4.3 cycler==0.12.1 debugpy==1.8.1 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.8 dm-tree==0.1.8 -docstring-to-markdown==0.13 +docstring-to-markdown==0.15 docutils==0.20.1 exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.1 filelock==3.13.1 -flatbuffers==23.5.26 -fonttools==4.48.1 +flatbuffers==24.3.6 +fonttools==4.49.0 fqdn==1.5.1 gast==0.5.4 gitdb==4.0.11 -gitpython==3.1.41 -google-auth==2.27.0 +gitpython==3.1.42 +google-auth==2.28.1 google-auth-oauthlib==1.2.0 google-pasta==0.2.0 graphviz==0.20.1 greenlet==3.0.3 -grpcio==1.60.1 +grpcio==1.62.0 +h11==0.14.0 h5py==3.10.0 hepunits==2.3.3 -identify==2.5.34 +httpcore==1.0.4 +httpx==0.27.0 +identify==2.5.35 idna==3.6 imagesize==1.4.1 iminuit==2.25.2 -importlib-metadata==7.0.1 -importlib-resources==6.1.1 +importlib-metadata==7.0.2 +importlib-resources==6.1.3 iniconfig==2.0.0 -ipykernel==6.29.2 +ipykernel==6.29.3 ipympl==0.9.3 ipython==8.18.1 ipython-genutils==0.2.0 ipywidgets==8.1.2 isoduration==20.11.0 isort==5.13.2 -jax==0.4.24 -jaxlib==0.4.24 +jax==0.4.25 +jaxlib==0.4.25 jedi==0.19.1 jinja2==3.1.3 -json5==0.9.14 +json5==0.9.22 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 @@ -88,17 +87,17 @@ jupyter-client==8.6.0 jupyter-console==6.6.3 jupyter-core==5.7.1 jupyter-events==0.9.0 -jupyter-lsp==2.2.2 -jupyter-server==2.12.5 +jupyter-lsp==2.2.4 +jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.2 -jupyterlab==4.0.12 +jupyterlab==4.1.4 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 -jupyterlab-lsp==5.0.3 -jupyterlab-myst==2.1.0 +jupyterlab-lsp==5.1.0 +jupyterlab-myst==2.3.1 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.25.2 +jupyterlab-server==2.25.3 jupyterlab-widgets==3.0.10 keras==2.15.0 kiwisolver==1.4.5 @@ -109,7 +108,7 @@ lsprotocol==2023.0.1 markdown==3.5.2 markdown-it-py==3.0.0 markupsafe==2.1.5 -matplotlib==3.8.2 +matplotlib==3.8.3 matplotlib-inline==0.1.6 mdit-py-plugins==0.4.0 mdurl==0.1.2 @@ -121,21 +120,21 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.16.0 +nbconvert==7.16.2 nbdime==4.0.1 nbformat==5.9.2 -nbmake==1.5.0 +nbmake==1.5.3 nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook==7.0.8 -notebook-shim==0.2.3 +notebook==7.1.1 +notebook-shim==0.2.4 numba==0.59.0 numpy==1.26.4 oauthlib==3.2.2 opt-einsum==3.3.0 overrides==7.7.0 packaging==23.2 -pandas==2.2.0 +pandas==2.2.1 pandocfilters==1.5.1 parso==0.8.3 particle==0.23.1 @@ -145,10 +144,10 @@ phasespace==1.9.0 pillow==10.2.0 platformdirs==4.2.0 pluggy==1.4.0 -pre-commit==3.6.1 -prometheus-client==0.19.0 +pre-commit==3.6.2 +prometheus-client==0.20.0 prompt-toolkit==3.0.43 -protobuf==4.25.2 +protobuf==4.25.3 psutil==5.9.8 ptyprocess==0.7.0 pure-eval==0.2.2 @@ -159,24 +158,24 @@ pyasn1-modules==0.3.0 pycparser==2.21 pydata-sphinx-theme==0.15.2 pygments==2.17.2 -pyparsing==3.1.1 +pyparsing==3.1.2 pyproject-api==1.6.1 -pytest==8.0.0 +pytest==8.0.2 pytest-benchmark==4.0.0 pytest-cov==4.1.0 pytest-mock==3.12.0 pytest-xdist==3.5.0 python-constraint==1.3.1 -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.1.0 +python-lsp-ruff==2.2.0 python-lsp-server==1.10.0 pytoolconfig==1.3.1 pytz==2024.1 pyyaml==6.0.1 pyzmq==25.1.2 -qrules==0.9.8 +qrules==0.10.1 qtconsole==5.5.1 qtpy==2.4.1 referencing==0.33.0 @@ -185,20 +184,20 @@ requests-oauthlib==1.3.1 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.12.0 -rpds-py==0.17.1 +rpds-py==0.18.0 rsa==4.9 -ruff==0.2.1 +ruff==0.3.1 scipy==1.12.0 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 -sniffio==1.3.0 +sniffio==1.3.1 snowballstemmer==2.2.0 soupsieve==2.5 sphinx==7.2.6 sphinx-api-relink==0.0.8 sphinx-autobuild==2024.2.4 -sphinx-book-theme==1.1.0 +sphinx-book-theme==1.1.2 sphinx-codeautolink==0.15.0 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 @@ -212,7 +211,7 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.7 sphinxcontrib-serializinghtml==1.1.10 sphobjinv==2.3.1 -sqlalchemy==2.0.26 +sqlalchemy==2.0.28 stack-data==0.6.3 sympy==1.12 tabulate==0.9.0 @@ -227,21 +226,21 @@ terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 tornado==6.4 -tox==4.12.1 +tox==4.14.1 tqdm==4.66.2 traitlets==5.14.1 -types-protobuf==4.24.0.20240129 +types-protobuf==4.24.0.20240302 types-python-dateutil==2.8.19.20240106 types-pyyaml==6.0.12.12 -types-requests==2.31.0.20240125 -types-tensorflow==2.15.0.20240206 +types-requests==2.31.0.20240218 +types-tensorflow==2.15.0.20240303 types-tqdm==4.66.0.20240106 -typing-extensions==4.9.0 +typing-extensions==4.10.0 tzdata==2024.1 ujson==5.9.0 uri-template==1.3.0 -urllib3==2.2.0 -virtualenv==20.25.0 +urllib3==2.2.1 +virtualenv==20.25.1 wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 @@ -252,6 +251,5 @@ widgetsnbextension==4.0.10 wrapt==1.14.1 zipp==3.17.0 -# The following packages are considered to be unsafe in a requirements file: +# The following packages were excluded from the output: # setuptools -# tensorwaves diff --git a/.cspell.json b/.cspell.json index 8b686e06..0ecf52d7 100644 --- a/.cspell.json +++ b/.cspell.json @@ -39,6 +39,7 @@ "ignoreWords": [ "MAINT", "Nelder", + "PYDEVD", "absl", "allclose", "ampform", diff --git a/.github/workflows/pr-linting.yml b/.github/workflows/pr-linting.yml index cd3bb74f..0fab8410 100644 --- a/.github/workflows/pr-linting.yml +++ b/.github/workflows/pr-linting.yml @@ -10,24 +10,5 @@ on: - unlabeled jobs: - check-labels: - name: Check labels - runs-on: ubuntu-22.04 - steps: - - uses: docker://agilepathway/pull-request-label-checker:latest # cspell:ignore agilepathway - with: - any_of: >- - 🐛 Bug,✨ Feature,⚙️ Enhancement,⚠️ Interface,❗ Behavior,📝 Docs,🔨 Maintenance,🖱️ DX - none_of: Epic,💫 Good first issue - repo_token: ${{ secrets.GITHUB_TOKEN }} - - check-title: - name: Check title - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v4 - - run: npm install @compwa/commitlint-config - - name: Create commitlint config - run: | - echo "module.exports = {extends: ['@compwa/commitlint-config']}" > commitlint.config.js - - uses: JulienKode/pull-request-name-linter-action@v0.5.0 # cspell:ignore kode + lint-pr: + uses: ComPWA/actions/.github/workflows/pr-linting.yml@v1 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 389f1605..9217a793 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,7 +40,7 @@ repos: metadata.vscode - repo: https://github.com/ComPWA/policy - rev: 0.2.5 + rev: 0.3.0 hooks: - id: check-dev-files args: @@ -60,7 +60,7 @@ repos: - --extras-require=doc,jax,pwa,viz - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.2.1 + rev: v0.3.1 hooks: - id: ruff args: [--fix] @@ -111,6 +111,7 @@ repos: - id: toml-sort args: - --in-place + - repo: https://github.com/python-jsonschema/check-jsonschema rev: 0.28.0 hooks: @@ -125,7 +126,7 @@ repos: pass_filenames: false - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v8.3.0 + rev: v8.6.0 hooks: - id: cspell @@ -151,6 +152,6 @@ repos: - python - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.350 + rev: v1.1.352 hooks: - id: pyright diff --git a/.vscode/settings.json b/.vscode/settings.json index 3f8026f0..4f0efcba 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -56,6 +56,10 @@ "multiDiffEditor.experimental.enabled": true, "mypy-type-checker.args": ["--config-file=${workspaceFolder}/pyproject.toml"], "mypy-type-checker.importStrategy": "fromEnvironment", + "notebook.codeActionsOnSave": { + "notebook.source.organizeImports": "explicit" + }, + "notebook.formatOnSave.enabled": true, "notebook.gotoSymbols.showAllSymbols": true, "python.analysis.autoImportCompletions": false, "python.analysis.inlayHints.pytestParameters": true, @@ -66,6 +70,7 @@ "redhat.telemetry.enabled": false, "rewrap.wrappingColumn": 88, "ruff.enable": true, + "ruff.importStrategy": "fromEnvironment", "ruff.organizeImports": true, "search.exclude": { ".constraints/*.txt": true, diff --git a/environment.yml b/environment.yml index ea2105ca..138c86dd 100644 --- a/environment.yml +++ b/environment.yml @@ -8,5 +8,6 @@ dependencies: - pip: - -c .constraints/py3.10.txt -e .[dev] variables: - PRETTIER_LEGACY_CLI: "1" + PRETTIER_LEGACY_CLI: 1 + PYDEVD_DISABLE_FILE_VALIDATION: 1 PYTHONHASHSEED: 0 diff --git a/pyproject.toml b/pyproject.toml index 8bffad53..f0ba36f5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -72,7 +72,6 @@ doc = [ "jupyter", "matplotlib", "myst-nb >=0.14", # nb_ configuration prefixes - "nbclient >=0.5.5", # https://github.com/executablebooks/jupyter-book/issues/833 "pandas", "sphinx-api-relink >=0.0.4", "sphinx-book-theme", @@ -122,7 +121,6 @@ sty = [ "mypy >=0.570", # attrs support "pre-commit >=1.4.0", "ruff", - "tensorwaves[format]", "tensorwaves[types]", ] tensorflow = [ diff --git a/src/tensorwaves/optimizer/minuit.py b/src/tensorwaves/optimizer/minuit.py index 756737e3..bde546ae 100644 --- a/src/tensorwaves/optimizer/minuit.py +++ b/src/tensorwaves/optimizer/minuit.py @@ -115,7 +115,7 @@ def wrapped_gradient(pars: list) -> Iterable[float]: name=tuple(flattened_parameters), ) minuit.errors = tuple( - 0.1 * abs(x) if abs(x) != 0.0 else 0.1 # noqa: PLR2004 + 0.1 * abs(x) if abs(x) != 0.0 else 0.1 for x in flattened_parameters.values() ) minuit.errordef = (