diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 0f16e540..9657e9da 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -2,24 +2,23 @@ # 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.5 -alabaster==0.7.16 +alabaster==1.0.0 ampform==0.15.4 -anyio==4.3.0 +anyio==4.4.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.1 astunparse==1.6.3 async-lru==2.0.4 -attrs==23.2.0 +attrs==24.2.0 babel==2.15.0 beautifulsoup4==4.12.3 -black==24.4.2 bleach==6.1.0 -cachetools==5.3.3 +cachetools==5.4.0 cattrs==23.2.3 -certifi==2024.2.2 -cffi==1.16.0 +certifi==2024.7.4 +cffi==1.17.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 @@ -28,208 +27,209 @@ cloudpickle==3.0.0 colorama==0.4.6 comm==0.2.2 contourpy==1.2.1 -coverage==7.5.1 +coverage==7.6.1 cycler==0.12.1 -debugpy==1.8.1 +debugpy==1.8.5 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.8 dm-tree==0.1.8 docstring-to-markdown==0.15 docutils==0.21.2 -exceptiongroup==1.2.1 +exceptiongroup==1.2.2 execnet==2.1.1 executing==2.0.1 -fastjsonschema==2.19.1 -filelock==3.14.0 +fastjsonschema==2.20.0 +filelock==3.15.4 flatbuffers==24.3.25 -fonttools==4.52.1 +fonttools==4.53.1 fqdn==1.5.1 -gast==0.5.4 +gast==0.6.0 gitdb==4.0.11 gitpython==3.1.43 google-pasta==0.2.0 graphviz==0.20.3 greenlet==3.0.3 -grpcio==1.64.0 +grpcio==1.65.4 h11==0.14.0 h5py==3.11.0 -hepunits==2.3.3 +hepunits==2.3.4 httpcore==1.0.5 httpx==0.27.0 -identify==2.5.36 +identify==2.6.0 idna==3.7 imagesize==1.4.1 -iminuit==2.25.2 -importlib-metadata==7.1.0 +iminuit==2.28.0 +importlib-metadata==8.2.0 iniconfig==2.0.0 -ipykernel==6.29.4 +ipykernel==6.29.5 ipympl==0.9.4 -ipython==8.24.0 +ipython==8.26.0 ipython-genutils==0.2.0 -ipywidgets==8.1.2 +ipywidgets==8.1.3 isoduration==20.11.0 -isort==5.13.2 -jax==0.4.28 -jaxlib==0.4.28 +jax==0.4.31 +jaxlib==0.4.31 jedi==0.19.1 jinja2==3.1.4 json5==0.9.25 -jsonpointer==2.4 -jsonschema==4.22.0 +jsonpointer==3.0.0 +jsonschema==4.23.0 jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 jupyter-client==8.6.2 jupyter-core==5.7.2 jupyter-events==0.10.0 jupyter-lsp==2.2.5 -jupyter-server==2.14.0 +jupyter-server==2.14.2 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.3 -jupyterlab==4.2.1 -jupyterlab-code-formatter==2.2.1 +jupyterlab==4.2.4 +jupyterlab-code-formatter==3.0.1 jupyterlab-git==0.50.1 jupyterlab-lsp==5.1.0 jupyterlab-myst==2.4.2 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.27.2 -jupyterlab-widgets==3.0.10 -keras==3.3.3 +jupyterlab-server==2.27.3 +jupyterlab-widgets==3.0.11 +keras==3.4.1 kiwisolver==1.4.5 latexcodec==3.0.0 libclang==18.1.1 -livereload==2.6.3 -llvmlite==0.42.0 +livereload==2.7.0 +llvmlite==0.43.0 lsprotocol==2023.0.1 markdown==3.6 markdown-it-py==3.0.0 markupsafe==2.1.5 -matplotlib==3.9.0 +matplotlib==3.9.1.post1 matplotlib-inline==0.1.7 mdit-py-plugins==0.4.1 mdurl==0.1.2 mistune==3.0.2 -ml-dtypes==0.3.2 +ml-dtypes==0.4.0 mpmath==1.3.0 -mypy==1.10.0 +mypy==1.11.1 mypy-extensions==1.0.0 -myst-nb==1.1.0 -myst-parser==3.0.1 +myst-nb==1.1.1 +myst-parser==4.0.0 namex==0.0.8 nbclient==0.6.8 nbconvert==7.16.4 nbdime==4.0.1 nbformat==5.10.4 -nbmake==1.5.3 +nbmake==1.5.4 nest-asyncio==1.6.0 -nodeenv==1.8.0 +nodeenv==1.9.1 notebook-shim==0.2.4 -numba==0.59.1 +numba==0.60.0 numpy==1.26.4 opt-einsum==3.3.0 -optree==0.11.0 +optree==0.12.1 overrides==7.7.0 -packaging==24.0 +packaging==24.1 +pandas==2.2.2 pandocfilters==1.5.1 parso==0.8.4 particle==0.24.0 -pathspec==0.12.1 pexpect==4.9.0 phasespace==1.10.3 -pillow==10.3.0 +pillow==10.4.0 platformdirs==4.2.2 pluggy==1.5.0 -pre-commit==3.7.1 +pre-commit==3.8.0 prometheus-client==0.20.0 -prompt-toolkit==3.0.43 -protobuf==4.25.3 -psutil==5.9.8 +prompt-toolkit==3.0.47 +protobuf==4.25.4 +psutil==6.0.0 ptyprocess==0.7.0 -pure-eval==0.2.2 +pure-eval==0.2.3 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.22 -pydata-sphinx-theme==0.15.2 +pydata-sphinx-theme==0.15.4 pygments==2.18.0 pyparsing==3.1.2 -pyproject-api==1.6.1 -pytest==8.2.1 +pyproject-api==1.7.1 +pytest==8.3.2 pytest-cov==5.0.0 pytest-xdist==3.6.1 python-constraint2==2.0.0b5 python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.2.1 +python-lsp-ruff==2.2.2 python-lsp-server==1.11.0 pytoolconfig==1.3.1 -pyyaml==6.0.1 -pyzmq==26.0.3 +pytz==2024.1 +pyyaml==6.0.2 +pyzmq==26.1.0 qrules==0.10.2 referencing==0.35.1 -requests==2.32.2 +requests==2.32.3 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rich==13.7.1 rope==1.13.0 -rpds-py==0.18.1 -ruff==0.4.5 -scipy==1.13.1 +rpds-py==0.20.0 +ruff==0.5.6 +scipy==1.14.0 send2trash==1.8.3 six==1.16.0 smmap==5.0.1 sniffio==1.3.1 snowballstemmer==2.2.0 soupsieve==2.5 -sphinx==7.3.7 +sphinx==8.0.2 sphinx-api-relink==0.0.9 sphinx-autobuild==2024.2.4 -sphinx-book-theme==1.1.2 -sphinx-codeautolink==0.15.1 +sphinx-book-theme==1.1.3 +sphinx-codeautolink==0.15.2 sphinx-copybutton==0.5.2 -sphinx-design==0.6.0 +sphinx-design==0.6.1 sphinx-pybtex-etal-style==0.0.2 sphinx-togglebutton==0.3.2 -sphinxcontrib-applehelp==1.0.8 +sphinxcontrib-applehelp==2.0.0 sphinxcontrib-bibtex==2.6.2 -sphinxcontrib-devhelp==1.0.6 -sphinxcontrib-htmlhelp==2.0.5 +sphinxcontrib-devhelp==2.0.0 +sphinxcontrib-htmlhelp==2.1.0 sphinxcontrib-jsmath==1.0.1 -sphinxcontrib-qthelp==1.0.7 -sphinxcontrib-serializinghtml==1.1.10 -sqlalchemy==2.0.30 +sphinxcontrib-qthelp==2.0.0 +sphinxcontrib-serializinghtml==2.0.0 +sqlalchemy==2.0.32 stack-data==0.6.3 -sympy==1.12 +sympy==1.13.1 tabulate==0.9.0 -tensorboard==2.16.2 +tensorboard==2.17.0 tensorboard-data-server==0.7.2 -tensorflow==2.16.1 -tensorflow-io-gcs-filesystem==0.37.0 +tensorflow==2.17.0 +tensorflow-io-gcs-filesystem==0.37.1 tensorflow-probability==0.24.0 tensorwaves==0.4.12 termcolor==2.4.0 terminado==0.18.1 tinycss2==1.3.0 tomli==2.0.1 -tornado==6.4 -tox==4.15.0 -tqdm==4.66.4 +tornado==6.4.1 +tox==4.17.0 +tqdm==4.66.5 traitlets==5.14.3 types-python-dateutil==2.9.0.20240316 -typing-extensions==4.12.0 +typing-extensions==4.12.2 +tzdata==2024.1 ujson==5.10.0 uri-template==1.3.0 -urllib3==2.2.1 -virtualenv==20.26.2 +urllib3==2.2.2 +virtualenv==20.26.3 wcwidth==0.2.13 -webcolors==1.13 +webcolors==24.6.0 webencodings==0.5.1 websocket-client==1.8.0 werkzeug==3.0.3 -wheel==0.43.0 -widgetsnbextension==4.0.10 +wheel==0.44.0 +widgetsnbextension==4.0.11 wrapt==1.16.0 -zipp==3.18.2 +zipp==3.19.2 # The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 1dede6c5..a49e63ad 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -2,24 +2,23 @@ # 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.5 -alabaster==0.7.16 +alabaster==1.0.0 ampform==0.15.4 -anyio==4.3.0 +anyio==4.4.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.1 astunparse==1.6.3 async-lru==2.0.4 -attrs==23.2.0 +attrs==24.2.0 babel==2.15.0 beautifulsoup4==4.12.3 -black==24.4.2 bleach==6.1.0 -cachetools==5.3.3 +cachetools==5.4.0 cattrs==23.2.3 -certifi==2024.2.2 -cffi==1.16.0 +certifi==2024.7.4 +cffi==1.17.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 @@ -28,9 +27,9 @@ cloudpickle==3.0.0 colorama==0.4.6 comm==0.2.2 contourpy==1.2.1 -coverage==7.5.1 +coverage==7.6.1 cycler==0.12.1 -debugpy==1.8.1 +debugpy==1.8.5 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.8 @@ -39,195 +38,196 @@ docstring-to-markdown==0.15 docutils==0.21.2 execnet==2.1.1 executing==2.0.1 -fastjsonschema==2.19.1 -filelock==3.14.0 +fastjsonschema==2.20.0 +filelock==3.15.4 flatbuffers==24.3.25 -fonttools==4.52.1 +fonttools==4.53.1 fqdn==1.5.1 -gast==0.5.4 +gast==0.6.0 gitdb==4.0.11 gitpython==3.1.43 google-pasta==0.2.0 graphviz==0.20.3 greenlet==3.0.3 -grpcio==1.64.0 +grpcio==1.65.4 h11==0.14.0 h5py==3.11.0 -hepunits==2.3.3 +hepunits==2.3.4 httpcore==1.0.5 httpx==0.27.0 -identify==2.5.36 +identify==2.6.0 idna==3.7 imagesize==1.4.1 -iminuit==2.25.2 -importlib-metadata==7.1.0 +iminuit==2.28.0 +importlib-metadata==8.2.0 iniconfig==2.0.0 -ipykernel==6.29.4 +ipykernel==6.29.5 ipympl==0.9.4 -ipython==8.24.0 +ipython==8.26.0 ipython-genutils==0.2.0 -ipywidgets==8.1.2 +ipywidgets==8.1.3 isoduration==20.11.0 -isort==5.13.2 -jax==0.4.28 -jaxlib==0.4.28 +jax==0.4.31 +jaxlib==0.4.31 jedi==0.19.1 jinja2==3.1.4 json5==0.9.25 -jsonpointer==2.4 -jsonschema==4.22.0 +jsonpointer==3.0.0 +jsonschema==4.23.0 jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 jupyter-client==8.6.2 jupyter-core==5.7.2 jupyter-events==0.10.0 jupyter-lsp==2.2.5 -jupyter-server==2.14.0 +jupyter-server==2.14.2 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.3 -jupyterlab==4.2.1 -jupyterlab-code-formatter==2.2.1 +jupyterlab==4.2.4 +jupyterlab-code-formatter==3.0.1 jupyterlab-git==0.50.1 jupyterlab-lsp==5.1.0 jupyterlab-myst==2.4.2 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.27.2 -jupyterlab-widgets==3.0.10 -keras==3.3.3 +jupyterlab-server==2.27.3 +jupyterlab-widgets==3.0.11 +keras==3.4.1 kiwisolver==1.4.5 latexcodec==3.0.0 libclang==18.1.1 -livereload==2.6.3 -llvmlite==0.42.0 +livereload==2.7.0 +llvmlite==0.43.0 lsprotocol==2023.0.1 markdown==3.6 markdown-it-py==3.0.0 markupsafe==2.1.5 -matplotlib==3.9.0 +matplotlib==3.9.1.post1 matplotlib-inline==0.1.7 mdit-py-plugins==0.4.1 mdurl==0.1.2 mistune==3.0.2 -ml-dtypes==0.3.2 +ml-dtypes==0.4.0 mpmath==1.3.0 -mypy==1.10.0 +mypy==1.11.1 mypy-extensions==1.0.0 -myst-nb==1.1.0 -myst-parser==3.0.1 +myst-nb==1.1.1 +myst-parser==4.0.0 namex==0.0.8 nbclient==0.6.8 nbconvert==7.16.4 nbdime==4.0.1 nbformat==5.10.4 -nbmake==1.5.3 +nbmake==1.5.4 nest-asyncio==1.6.0 -nodeenv==1.8.0 +nodeenv==1.9.1 notebook-shim==0.2.4 -numba==0.59.1 +numba==0.60.0 numpy==1.26.4 opt-einsum==3.3.0 -optree==0.11.0 +optree==0.12.1 overrides==7.7.0 -packaging==24.0 +packaging==24.1 +pandas==2.2.2 pandocfilters==1.5.1 parso==0.8.4 particle==0.24.0 -pathspec==0.12.1 pexpect==4.9.0 phasespace==1.10.3 -pillow==10.3.0 +pillow==10.4.0 platformdirs==4.2.2 pluggy==1.5.0 -pre-commit==3.7.1 +pre-commit==3.8.0 prometheus-client==0.20.0 -prompt-toolkit==3.0.43 -protobuf==4.25.3 -psutil==5.9.8 +prompt-toolkit==3.0.47 +protobuf==4.25.4 +psutil==6.0.0 ptyprocess==0.7.0 -pure-eval==0.2.2 +pure-eval==0.2.3 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.22 -pydata-sphinx-theme==0.15.2 +pydata-sphinx-theme==0.15.4 pygments==2.18.0 pyparsing==3.1.2 -pyproject-api==1.6.1 -pytest==8.2.1 +pyproject-api==1.7.1 +pytest==8.3.2 pytest-cov==5.0.0 pytest-xdist==3.6.1 python-constraint2==2.0.0b5 python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.2.1 +python-lsp-ruff==2.2.2 python-lsp-server==1.11.0 pytoolconfig==1.3.1 -pyyaml==6.0.1 -pyzmq==26.0.3 +pytz==2024.1 +pyyaml==6.0.2 +pyzmq==26.1.0 qrules==0.10.2 referencing==0.35.1 -requests==2.32.2 +requests==2.32.3 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rich==13.7.1 rope==1.13.0 -rpds-py==0.18.1 -ruff==0.4.5 -scipy==1.13.1 +rpds-py==0.20.0 +ruff==0.5.6 +scipy==1.14.0 send2trash==1.8.3 six==1.16.0 smmap==5.0.1 sniffio==1.3.1 snowballstemmer==2.2.0 soupsieve==2.5 -sphinx==7.3.7 +sphinx==8.0.2 sphinx-api-relink==0.0.9 sphinx-autobuild==2024.2.4 -sphinx-book-theme==1.1.2 -sphinx-codeautolink==0.15.1 +sphinx-book-theme==1.1.3 +sphinx-codeautolink==0.15.2 sphinx-copybutton==0.5.2 -sphinx-design==0.6.0 +sphinx-design==0.6.1 sphinx-pybtex-etal-style==0.0.2 sphinx-togglebutton==0.3.2 -sphinxcontrib-applehelp==1.0.8 +sphinxcontrib-applehelp==2.0.0 sphinxcontrib-bibtex==2.6.2 -sphinxcontrib-devhelp==1.0.6 -sphinxcontrib-htmlhelp==2.0.5 +sphinxcontrib-devhelp==2.0.0 +sphinxcontrib-htmlhelp==2.1.0 sphinxcontrib-jsmath==1.0.1 -sphinxcontrib-qthelp==1.0.7 -sphinxcontrib-serializinghtml==1.1.10 -sqlalchemy==2.0.30 +sphinxcontrib-qthelp==2.0.0 +sphinxcontrib-serializinghtml==2.0.0 +sqlalchemy==2.0.32 stack-data==0.6.3 -sympy==1.12 +sympy==1.13.1 tabulate==0.9.0 -tensorboard==2.16.2 +tensorboard==2.17.0 tensorboard-data-server==0.7.2 -tensorflow==2.16.1 -tensorflow-io-gcs-filesystem==0.37.0 +tensorflow==2.17.0 +tensorflow-io-gcs-filesystem==0.37.1 tensorflow-probability==0.24.0 tensorwaves==0.4.12 termcolor==2.4.0 terminado==0.18.1 tinycss2==1.3.0 -tornado==6.4 -tox==4.15.0 -tqdm==4.66.4 +tornado==6.4.1 +tox==4.17.0 +tqdm==4.66.5 traitlets==5.14.3 types-python-dateutil==2.9.0.20240316 -typing-extensions==4.12.0 +typing-extensions==4.12.2 +tzdata==2024.1 ujson==5.10.0 uri-template==1.3.0 -urllib3==2.2.1 -virtualenv==20.26.2 +urllib3==2.2.2 +virtualenv==20.26.3 wcwidth==0.2.13 -webcolors==1.13 +webcolors==24.6.0 webencodings==0.5.1 websocket-client==1.8.0 werkzeug==3.0.3 -wheel==0.43.0 -widgetsnbextension==4.0.10 +wheel==0.44.0 +widgetsnbextension==4.0.11 wrapt==1.16.0 -zipp==3.18.2 +zipp==3.19.2 # The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt index ad09be9b..2656e481 100644 --- a/.constraints/py3.12.txt +++ b/.constraints/py3.12.txt @@ -2,24 +2,23 @@ # uv pip compile pyproject.toml -o .constraints/py3.12.txt --all-extras --no-annotate --python-version=3.12 --no-emit-package setuptools absl-py==2.1.0 accessible-pygments==0.0.5 -alabaster==0.7.16 +alabaster==1.0.0 ampform==0.15.4 -anyio==4.3.0 +anyio==4.4.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.1 astunparse==1.6.3 async-lru==2.0.4 -attrs==23.2.0 +attrs==24.2.0 babel==2.15.0 beautifulsoup4==4.12.3 -black==24.4.2 bleach==6.1.0 -cachetools==5.3.3 +cachetools==5.4.0 cattrs==23.2.3 -certifi==2024.2.2 -cffi==1.16.0 +certifi==2024.7.4 +cffi==1.17.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 @@ -28,9 +27,9 @@ cloudpickle==3.0.0 colorama==0.4.6 comm==0.2.2 contourpy==1.2.1 -coverage==7.5.1 +coverage==7.6.1 cycler==0.12.1 -debugpy==1.8.1 +debugpy==1.8.5 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.8 @@ -39,194 +38,195 @@ docstring-to-markdown==0.15 docutils==0.21.2 execnet==2.1.1 executing==2.0.1 -fastjsonschema==2.19.1 -filelock==3.14.0 +fastjsonschema==2.20.0 +filelock==3.15.4 flatbuffers==24.3.25 -fonttools==4.52.1 +fonttools==4.53.1 fqdn==1.5.1 -gast==0.5.4 +gast==0.6.0 gitdb==4.0.11 gitpython==3.1.43 google-pasta==0.2.0 graphviz==0.20.3 greenlet==3.0.3 -grpcio==1.64.0 +grpcio==1.65.4 h11==0.14.0 h5py==3.11.0 -hepunits==2.3.3 +hepunits==2.3.4 httpcore==1.0.5 httpx==0.27.0 -identify==2.5.36 +identify==2.6.0 idna==3.7 imagesize==1.4.1 -iminuit==2.25.2 -importlib-metadata==7.1.0 +iminuit==2.28.0 +importlib-metadata==8.2.0 iniconfig==2.0.0 -ipykernel==6.29.4 +ipykernel==6.29.5 ipympl==0.9.4 -ipython==8.24.0 +ipython==8.26.0 ipython-genutils==0.2.0 -ipywidgets==8.1.2 +ipywidgets==8.1.3 isoduration==20.11.0 -isort==5.13.2 -jax==0.4.28 -jaxlib==0.4.28 +jax==0.4.31 +jaxlib==0.4.31 jedi==0.19.1 jinja2==3.1.4 json5==0.9.25 -jsonpointer==2.4 -jsonschema==4.22.0 +jsonpointer==3.0.0 +jsonschema==4.23.0 jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 jupyter-client==8.6.2 jupyter-core==5.7.2 jupyter-events==0.10.0 jupyter-lsp==2.2.5 -jupyter-server==2.14.0 +jupyter-server==2.14.2 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.3 -jupyterlab==4.2.1 -jupyterlab-code-formatter==2.2.1 +jupyterlab==4.2.4 +jupyterlab-code-formatter==3.0.1 jupyterlab-git==0.50.1 jupyterlab-lsp==5.1.0 jupyterlab-myst==2.4.2 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.27.2 -jupyterlab-widgets==3.0.10 -keras==3.3.3 +jupyterlab-server==2.27.3 +jupyterlab-widgets==3.0.11 +keras==3.4.1 kiwisolver==1.4.5 latexcodec==3.0.0 libclang==18.1.1 -livereload==2.6.3 -llvmlite==0.42.0 +livereload==2.7.0 +llvmlite==0.43.0 lsprotocol==2023.0.1 markdown==3.6 markdown-it-py==3.0.0 markupsafe==2.1.5 -matplotlib==3.9.0 +matplotlib==3.9.1.post1 matplotlib-inline==0.1.7 mdit-py-plugins==0.4.1 mdurl==0.1.2 mistune==3.0.2 -ml-dtypes==0.3.2 +ml-dtypes==0.4.0 mpmath==1.3.0 -mypy==1.10.0 +mypy==1.11.1 mypy-extensions==1.0.0 -myst-nb==1.1.0 -myst-parser==3.0.1 +myst-nb==1.1.1 +myst-parser==4.0.0 namex==0.0.8 nbclient==0.6.8 nbconvert==7.16.4 nbdime==4.0.1 nbformat==5.10.4 -nbmake==1.5.3 +nbmake==1.5.4 nest-asyncio==1.6.0 -nodeenv==1.8.0 +nodeenv==1.9.1 notebook-shim==0.2.4 -numba==0.59.1 +numba==0.60.0 numpy==1.26.4 opt-einsum==3.3.0 -optree==0.11.0 +optree==0.12.1 overrides==7.7.0 -packaging==24.0 +packaging==24.1 +pandas==2.2.2 pandocfilters==1.5.1 parso==0.8.4 particle==0.24.0 -pathspec==0.12.1 pexpect==4.9.0 phasespace==1.10.3 -pillow==10.3.0 +pillow==10.4.0 platformdirs==4.2.2 pluggy==1.5.0 -pre-commit==3.7.1 +pre-commit==3.8.0 prometheus-client==0.20.0 -prompt-toolkit==3.0.43 -protobuf==4.25.3 -psutil==5.9.8 +prompt-toolkit==3.0.47 +protobuf==4.25.4 +psutil==6.0.0 ptyprocess==0.7.0 -pure-eval==0.2.2 +pure-eval==0.2.3 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.22 -pydata-sphinx-theme==0.15.2 +pydata-sphinx-theme==0.15.4 pygments==2.18.0 pyparsing==3.1.2 -pyproject-api==1.6.1 -pytest==8.2.1 +pyproject-api==1.7.1 +pytest==8.3.2 pytest-cov==5.0.0 pytest-xdist==3.6.1 python-constraint2==2.0.0b5 python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.2.1 +python-lsp-ruff==2.2.2 python-lsp-server==1.11.0 pytoolconfig==1.3.1 -pyyaml==6.0.1 -pyzmq==26.0.3 +pytz==2024.1 +pyyaml==6.0.2 +pyzmq==26.1.0 qrules==0.10.2 referencing==0.35.1 -requests==2.32.2 +requests==2.32.3 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rich==13.7.1 rope==1.13.0 -rpds-py==0.18.1 -ruff==0.4.5 -scipy==1.13.1 +rpds-py==0.20.0 +ruff==0.5.6 +scipy==1.14.0 send2trash==1.8.3 six==1.16.0 smmap==5.0.1 sniffio==1.3.1 snowballstemmer==2.2.0 soupsieve==2.5 -sphinx==7.3.7 +sphinx==8.0.2 sphinx-api-relink==0.0.9 sphinx-autobuild==2024.2.4 -sphinx-book-theme==1.1.2 -sphinx-codeautolink==0.15.1 +sphinx-book-theme==1.1.3 +sphinx-codeautolink==0.15.2 sphinx-copybutton==0.5.2 -sphinx-design==0.6.0 +sphinx-design==0.6.1 sphinx-pybtex-etal-style==0.0.2 sphinx-togglebutton==0.3.2 -sphinxcontrib-applehelp==1.0.8 +sphinxcontrib-applehelp==2.0.0 sphinxcontrib-bibtex==2.6.2 -sphinxcontrib-devhelp==1.0.6 -sphinxcontrib-htmlhelp==2.0.5 +sphinxcontrib-devhelp==2.0.0 +sphinxcontrib-htmlhelp==2.1.0 sphinxcontrib-jsmath==1.0.1 -sphinxcontrib-qthelp==1.0.7 -sphinxcontrib-serializinghtml==1.1.10 -sqlalchemy==2.0.30 +sphinxcontrib-qthelp==2.0.0 +sphinxcontrib-serializinghtml==2.0.0 +sqlalchemy==2.0.32 stack-data==0.6.3 -sympy==1.12 +sympy==1.13.1 tabulate==0.9.0 -tensorboard==2.16.2 +tensorboard==2.17.0 tensorboard-data-server==0.7.2 -tensorflow==2.16.1 +tensorflow==2.17.0 tensorflow-probability==0.24.0 tensorwaves==0.4.12 termcolor==2.4.0 terminado==0.18.1 tinycss2==1.3.0 -tornado==6.4 -tox==4.15.0 -tqdm==4.66.4 +tornado==6.4.1 +tox==4.17.0 +tqdm==4.66.5 traitlets==5.14.3 types-python-dateutil==2.9.0.20240316 -typing-extensions==4.12.0 +typing-extensions==4.12.2 +tzdata==2024.1 ujson==5.10.0 uri-template==1.3.0 -urllib3==2.2.1 -virtualenv==20.26.2 +urllib3==2.2.2 +virtualenv==20.26.3 wcwidth==0.2.13 -webcolors==1.13 +webcolors==24.6.0 webencodings==0.5.1 websocket-client==1.8.0 werkzeug==3.0.3 -wheel==0.43.0 -widgetsnbextension==4.0.10 +wheel==0.44.0 +widgetsnbextension==4.0.11 wrapt==1.16.0 -zipp==3.18.2 +zipp==3.19.2 # The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 9bd86339..932bbacb 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -4,23 +4,22 @@ absl-py==2.1.0 accessible-pygments==0.0.4 alabaster==0.7.13 ampform==0.15.4 -anyio==4.3.0 +anyio==4.4.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.1 astunparse==1.6.3 async-lru==2.0.4 -attrs==23.2.0 +attrs==24.2.0 babel==2.15.0 backcall==0.2.0 beautifulsoup4==4.12.3 -black==24.4.2 bleach==6.1.0 -cachetools==5.3.3 +cachetools==5.4.0 cattrs==23.2.3 -certifi==2024.2.2 -cffi==1.16.0 +certifi==2024.7.4 +cffi==1.17.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 @@ -29,80 +28,79 @@ cloudpickle==3.0.0 colorama==0.4.6 comm==0.2.2 contourpy==1.1.1 -coverage==7.5.1 +coverage==7.6.1 cycler==0.12.1 -debugpy==1.8.1 +debugpy==1.8.5 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.8 dm-tree==0.1.8 docstring-to-markdown==0.15 docutils==0.17.1 -exceptiongroup==1.2.1 +exceptiongroup==1.2.2 execnet==2.1.1 executing==2.0.1 -fastjsonschema==2.19.1 -filelock==3.14.0 +fastjsonschema==2.20.0 +filelock==3.15.4 flatbuffers==24.3.25 -fonttools==4.52.1 +fonttools==4.53.1 fqdn==1.5.1 gast==0.4.0 gitdb==4.0.11 gitpython==3.1.43 -google-auth==2.29.0 +google-auth==2.33.0 google-auth-oauthlib==0.4.6 google-pasta==0.2.0 graphviz==0.20.3 greenlet==3.0.3 -grpcio==1.64.0 +grpcio==1.65.4 h11==0.14.0 h5py==3.11.0 -hepunits==2.3.3 +hepunits==2.3.4 httpcore==1.0.5 httpx==0.27.0 -identify==2.5.36 +identify==2.6.0 idna==3.7 imagesize==1.4.1 -iminuit==2.25.2 -importlib-metadata==7.1.0 +iminuit==2.27.0 +importlib-metadata==8.2.0 importlib-resources==6.4.0 iniconfig==2.0.0 -ipykernel==6.29.4 +ipykernel==6.29.5 ipympl==0.9.3 ipython==8.12.3 ipython-genutils==0.2.0 -ipywidgets==8.1.2 +ipywidgets==8.1.3 isoduration==20.11.0 -isort==5.13.2 jax==0.4.13 jaxlib==0.4.13 jedi==0.19.1 jinja2==3.1.4 json5==0.9.25 -jsonpointer==2.4 -jsonschema==4.22.0 +jsonpointer==3.0.0 +jsonschema==4.23.0 jsonschema-specifications==2023.12.1 jupyter-cache==0.6.1 jupyter-client==8.6.2 jupyter-core==5.7.2 jupyter-events==0.10.0 jupyter-lsp==2.2.5 -jupyter-server==2.14.0 +jupyter-server==2.14.2 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.3 -jupyterlab==4.2.1 -jupyterlab-code-formatter==2.2.1 +jupyterlab==4.2.4 +jupyterlab-code-formatter==3.0.1 jupyterlab-git==0.50.1 jupyterlab-lsp==5.1.0 jupyterlab-myst==2.4.2 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.27.2 -jupyterlab-widgets==3.0.10 +jupyterlab-server==2.27.3 +jupyterlab-widgets==3.0.11 keras==2.11.0 kiwisolver==1.4.5 latexcodec==3.0.0 libclang==18.1.1 -livereload==2.6.3 +livereload==2.7.0 llvmlite==0.41.1 lsprotocol==2023.0.1 markdown==3.6 @@ -115,7 +113,7 @@ mdurl==0.1.2 mistune==3.0.2 ml-dtypes==0.2.0 mpmath==1.3.0 -mypy==1.10.0 +mypy==1.11.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 @@ -123,34 +121,34 @@ nbclient==0.6.8 nbconvert==7.16.4 nbdime==4.0.1 nbformat==5.10.4 -nbmake==1.5.3 +nbmake==1.5.4 nest-asyncio==1.6.0 -nodeenv==1.8.0 +nodeenv==1.9.1 notebook-shim==0.2.4 numba==0.58.1 numpy==1.24.4 oauthlib==3.2.2 opt-einsum==3.3.0 overrides==7.7.0 -packaging==24.0 +packaging==24.1 +pandas==2.0.3 pandocfilters==1.5.1 parso==0.8.4 particle==0.24.0 -pathspec==0.12.1 pexpect==4.9.0 phasespace==1.9.0 pickleshare==0.7.5 -pillow==10.3.0 +pillow==10.4.0 pkgutil-resolve-name==1.3.10 platformdirs==4.2.2 pluggy==1.5.0 pre-commit==3.5.0 prometheus-client==0.20.0 -prompt-toolkit==3.0.43 +prompt-toolkit==3.0.47 protobuf==3.19.6 -psutil==5.9.8 +psutil==6.0.0 ptyprocess==0.7.0 -pure-eval==0.2.2 +pure-eval==0.2.3 pyasn1==0.6.0 pyasn1-modules==0.4.0 pybtex==0.24.0 @@ -159,30 +157,30 @@ pycparser==2.22 pydata-sphinx-theme==0.14.4 pygments==2.18.0 pyparsing==3.1.2 -pyproject-api==1.6.1 -pytest==8.2.1 +pyproject-api==1.7.1 +pytest==8.3.2 pytest-cov==5.0.0 pytest-xdist==3.6.1 python-constraint2==2.0.0b5 python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.2.1 +python-lsp-ruff==2.2.2 python-lsp-server==1.11.0 pytoolconfig==1.3.1 pytz==2024.1 -pyyaml==6.0.1 -pyzmq==26.0.3 +pyyaml==6.0.2 +pyzmq==26.1.0 qrules==0.10.2 referencing==0.35.1 -requests==2.32.2 +requests==2.32.3 requests-oauthlib==2.0.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.13.0 -rpds-py==0.18.1 +rpds-py==0.20.0 rsa==4.9 -ruff==0.4.5 +ruff==0.5.6 scipy==1.10.1 send2trash==1.8.3 six==1.16.0 @@ -194,7 +192,7 @@ sphinx==5.3.0 sphinx-api-relink==0.0.9 sphinx-autobuild==2021.3.14 sphinx-book-theme==1.0.1 -sphinx-codeautolink==0.15.1 +sphinx-codeautolink==0.15.2 sphinx-copybutton==0.5.2 sphinx-design==0.5.0 sphinx-pybtex-etal-style==0.0.2 @@ -206,9 +204,9 @@ sphinxcontrib-htmlhelp==2.0.1 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 -sqlalchemy==2.0.30 +sqlalchemy==2.0.32 stack-data==0.6.3 -sympy==1.12 +sympy==1.13.1 tabulate==0.9.0 tensorboard==2.11.2 tensorboard-data-server==0.6.1 @@ -222,25 +220,26 @@ termcolor==2.4.0 terminado==0.18.1 tinycss2==1.3.0 tomli==2.0.1 -tornado==6.4 -tox==4.15.0 -tqdm==4.66.4 +tornado==6.4.1 +tox==4.17.0 +tqdm==4.66.5 traitlets==5.14.3 types-python-dateutil==2.9.0.20240316 -typing-extensions==4.12.0 +typing-extensions==4.12.2 +tzdata==2024.1 ujson==5.10.0 uri-template==1.3.0 -urllib3==2.2.1 -virtualenv==20.26.2 +urllib3==2.2.2 +virtualenv==20.26.3 wcwidth==0.2.13 -webcolors==1.13 +webcolors==24.6.0 webencodings==0.5.1 websocket-client==1.8.0 werkzeug==3.0.3 -wheel==0.43.0 -widgetsnbextension==4.0.10 +wheel==0.44.0 +widgetsnbextension==4.0.11 wrapt==1.16.0 -zipp==3.18.2 +zipp==3.19.2 # The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 48632b37..6b68097b 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -4,22 +4,21 @@ absl-py==2.1.0 accessible-pygments==0.0.5 alabaster==0.7.16 ampform==0.15.4 -anyio==4.3.0 +anyio==4.4.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.1 astunparse==1.6.3 async-lru==2.0.4 -attrs==23.2.0 +attrs==24.2.0 babel==2.15.0 beautifulsoup4==4.12.3 -black==24.4.2 bleach==6.1.0 -cachetools==5.3.3 +cachetools==5.4.0 cattrs==23.2.3 -certifi==2024.2.2 -cffi==1.16.0 +certifi==2024.7.4 +cffi==1.17.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 @@ -28,153 +27,153 @@ cloudpickle==3.0.0 colorama==0.4.6 comm==0.2.2 contourpy==1.2.1 -coverage==7.5.1 +coverage==7.6.1 cycler==0.12.1 -debugpy==1.8.1 +debugpy==1.8.5 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.8 dm-tree==0.1.8 docstring-to-markdown==0.15 docutils==0.21.2 -exceptiongroup==1.2.1 +exceptiongroup==1.2.2 execnet==2.1.1 executing==2.0.1 -fastjsonschema==2.19.1 -filelock==3.14.0 +fastjsonschema==2.20.0 +filelock==3.15.4 flatbuffers==24.3.25 -fonttools==4.52.1 +fonttools==4.53.1 fqdn==1.5.1 -gast==0.5.4 +gast==0.6.0 gitdb==4.0.11 gitpython==3.1.43 google-pasta==0.2.0 graphviz==0.20.3 greenlet==3.0.3 -grpcio==1.64.0 +grpcio==1.65.4 h11==0.14.0 h5py==3.11.0 -hepunits==2.3.3 +hepunits==2.3.4 httpcore==1.0.5 httpx==0.27.0 -identify==2.5.36 +identify==2.6.0 idna==3.7 imagesize==1.4.1 -iminuit==2.25.2 -importlib-metadata==7.1.0 +iminuit==2.28.0 +importlib-metadata==8.2.0 importlib-resources==6.4.0 iniconfig==2.0.0 -ipykernel==6.29.4 +ipykernel==6.29.5 ipympl==0.9.4 ipython==8.18.1 ipython-genutils==0.2.0 -ipywidgets==8.1.2 +ipywidgets==8.1.3 isoduration==20.11.0 -isort==5.13.2 -jax==0.4.28 -jaxlib==0.4.28 +jax==0.4.30 +jaxlib==0.4.30 jedi==0.19.1 jinja2==3.1.4 json5==0.9.25 -jsonpointer==2.4 -jsonschema==4.22.0 +jsonpointer==3.0.0 +jsonschema==4.23.0 jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 jupyter-client==8.6.2 jupyter-core==5.7.2 jupyter-events==0.10.0 jupyter-lsp==2.2.5 -jupyter-server==2.14.0 +jupyter-server==2.14.2 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.3 -jupyterlab==4.2.1 -jupyterlab-code-formatter==2.2.1 +jupyterlab==4.2.4 +jupyterlab-code-formatter==3.0.1 jupyterlab-git==0.50.1 jupyterlab-lsp==5.1.0 jupyterlab-myst==2.4.2 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.27.2 -jupyterlab-widgets==3.0.10 -keras==3.3.3 +jupyterlab-server==2.27.3 +jupyterlab-widgets==3.0.11 +keras==3.4.1 kiwisolver==1.4.5 latexcodec==3.0.0 libclang==18.1.1 -livereload==2.6.3 -llvmlite==0.42.0 +livereload==2.7.0 +llvmlite==0.43.0 lsprotocol==2023.0.1 markdown==3.6 markdown-it-py==3.0.0 markupsafe==2.1.5 -matplotlib==3.9.0 +matplotlib==3.9.1.post1 matplotlib-inline==0.1.7 mdit-py-plugins==0.4.1 mdurl==0.1.2 mistune==3.0.2 -ml-dtypes==0.3.2 +ml-dtypes==0.4.0 mpmath==1.3.0 -mypy==1.10.0 +mypy==1.11.1 mypy-extensions==1.0.0 -myst-nb==1.1.0 +myst-nb==1.1.1 myst-parser==3.0.1 namex==0.0.8 nbclient==0.6.8 nbconvert==7.16.4 nbdime==4.0.1 nbformat==5.10.4 -nbmake==1.5.3 +nbmake==1.5.4 nest-asyncio==1.6.0 -nodeenv==1.8.0 +nodeenv==1.9.1 notebook-shim==0.2.4 -numba==0.59.1 +numba==0.60.0 numpy==1.26.4 opt-einsum==3.3.0 -optree==0.11.0 +optree==0.12.1 overrides==7.7.0 -packaging==24.0 +packaging==24.1 +pandas==2.2.2 pandocfilters==1.5.1 parso==0.8.4 particle==0.24.0 -pathspec==0.12.1 pexpect==4.9.0 phasespace==1.10.3 -pillow==10.3.0 +pillow==10.4.0 platformdirs==4.2.2 pluggy==1.5.0 -pre-commit==3.7.1 +pre-commit==3.8.0 prometheus-client==0.20.0 -prompt-toolkit==3.0.43 -protobuf==4.25.3 -psutil==5.9.8 +prompt-toolkit==3.0.47 +protobuf==4.25.4 +psutil==6.0.0 ptyprocess==0.7.0 -pure-eval==0.2.2 +pure-eval==0.2.3 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.22 -pydata-sphinx-theme==0.15.2 +pydata-sphinx-theme==0.15.4 pygments==2.18.0 pyparsing==3.1.2 -pyproject-api==1.6.1 -pytest==8.2.1 +pyproject-api==1.7.1 +pytest==8.3.2 pytest-cov==5.0.0 pytest-xdist==3.6.1 python-constraint2==2.0.0b5 python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.2.1 +python-lsp-ruff==2.2.2 python-lsp-server==1.11.0 pytoolconfig==1.3.1 -pyyaml==6.0.1 -pyzmq==26.0.3 +pytz==2024.1 +pyyaml==6.0.2 +pyzmq==26.1.0 qrules==0.10.2 referencing==0.35.1 -requests==2.32.2 +requests==2.32.3 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rich==13.7.1 rope==1.13.0 -rpds-py==0.18.1 -ruff==0.4.5 +rpds-py==0.20.0 +ruff==0.5.6 scipy==1.13.1 send2trash==1.8.3 six==1.16.0 @@ -182,55 +181,56 @@ smmap==5.0.1 sniffio==1.3.1 snowballstemmer==2.2.0 soupsieve==2.5 -sphinx==7.3.7 +sphinx==7.4.7 sphinx-api-relink==0.0.9 sphinx-autobuild==2024.2.4 -sphinx-book-theme==1.1.2 -sphinx-codeautolink==0.15.1 +sphinx-book-theme==1.1.3 +sphinx-codeautolink==0.15.2 sphinx-copybutton==0.5.2 -sphinx-design==0.6.0 +sphinx-design==0.6.1 sphinx-pybtex-etal-style==0.0.2 sphinx-togglebutton==0.3.2 -sphinxcontrib-applehelp==1.0.8 +sphinxcontrib-applehelp==2.0.0 sphinxcontrib-bibtex==2.6.2 -sphinxcontrib-devhelp==1.0.6 -sphinxcontrib-htmlhelp==2.0.5 +sphinxcontrib-devhelp==2.0.0 +sphinxcontrib-htmlhelp==2.1.0 sphinxcontrib-jsmath==1.0.1 -sphinxcontrib-qthelp==1.0.7 -sphinxcontrib-serializinghtml==1.1.10 -sqlalchemy==2.0.30 +sphinxcontrib-qthelp==2.0.0 +sphinxcontrib-serializinghtml==2.0.0 +sqlalchemy==2.0.32 stack-data==0.6.3 -sympy==1.12 +sympy==1.13.1 tabulate==0.9.0 -tensorboard==2.16.2 +tensorboard==2.17.0 tensorboard-data-server==0.7.2 -tensorflow==2.16.1 -tensorflow-io-gcs-filesystem==0.37.0 +tensorflow==2.17.0 +tensorflow-io-gcs-filesystem==0.37.1 tensorflow-probability==0.24.0 tensorwaves==0.4.12 termcolor==2.4.0 terminado==0.18.1 tinycss2==1.3.0 tomli==2.0.1 -tornado==6.4 -tox==4.15.0 -tqdm==4.66.4 +tornado==6.4.1 +tox==4.17.0 +tqdm==4.66.5 traitlets==5.14.3 types-python-dateutil==2.9.0.20240316 -typing-extensions==4.12.0 +typing-extensions==4.12.2 +tzdata==2024.1 ujson==5.10.0 uri-template==1.3.0 -urllib3==2.2.1 -virtualenv==20.26.2 +urllib3==2.2.2 +virtualenv==20.26.3 wcwidth==0.2.13 -webcolors==1.13 +webcolors==24.6.0 webencodings==0.5.1 websocket-client==1.8.0 werkzeug==3.0.3 -wheel==0.43.0 -widgetsnbextension==4.0.10 +wheel==0.44.0 +widgetsnbextension==4.0.11 wrapt==1.16.0 -zipp==3.18.2 +zipp==3.19.2 # The following packages were excluded from the output: # setuptools diff --git a/.envrc b/.envrc new file mode 100644 index 00000000..cce3aa58 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +layout anaconda diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d72fe5cb..e499ff84 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -42,7 +42,7 @@ repos: metadata.vscode - repo: https://github.com/ComPWA/policy - rev: 0.3.9 + rev: 0.3.18 hooks: - id: check-dev-files args: @@ -53,9 +53,10 @@ repos: - --repo-name=ampform-dpd - --repo-title=AmpForm-DPD - id: colab-toc-visible + - id: remove-empty-tags - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.5 + rev: v0.5.6 hooks: - id: ruff args: [--fix] @@ -96,7 +97,7 @@ repos: - --in-place - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v8.8.2 + rev: v8.13.1 hooks: - id: cspell @@ -122,6 +123,6 @@ repos: - python - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.364 + rev: v1.1.374 hooks: - id: pyright diff --git a/.vscode/settings.json b/.vscode/settings.json index 04642116..54d6a8cc 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -33,6 +33,9 @@ "cSpell.enabled": true, "diffEditor.experimental.showMoves": true, "editor.formatOnSave": true, + "files.associations": { + "**/.constraints/py*.txt": "pip-requirements" + }, "files.eol": "\n", "github-actions.workflows.pinned.workflows": [".github/workflows/ci.yml"], "gitlens.telemetry.enabled": false, @@ -48,6 +51,7 @@ "python.analysis.autoImportCompletions": false, "python.analysis.inlayHints.pytestParameters": true, "python.analysis.typeCheckingMode": "strict", + "python.terminal.activateEnvironment": false, "python.testing.pytestArgs": ["--color=no"], "python.testing.pytestEnabled": true, "python.testing.unittestEnabled": false, diff --git a/docs/comparison/d2kkk.ipynb b/docs/comparison/d2kkk.ipynb index 548f3da1..f23dc3d2 100644 --- a/docs/comparison/d2kkk.ipynb +++ b/docs/comparison/d2kkk.ipynb @@ -2,9 +2,7 @@ "cells": [ { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "# D⁰ → K⁰ K⁺ K⁻\n", "\n", @@ -94,8 +92,7 @@ { "cell_type": "markdown", "metadata": { - "jp-MarkdownHeadingCollapsed": true, - "tags": [] + "jp-MarkdownHeadingCollapsed": true }, "source": [ "## Decay definition" @@ -182,9 +179,7 @@ }, { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "## Model formulation" ] @@ -192,8 +187,7 @@ { "cell_type": "markdown", "metadata": { - "jp-MarkdownHeadingCollapsed": true, - "tags": [] + "jp-MarkdownHeadingCollapsed": true }, "source": [ "### DPD model" @@ -245,9 +239,7 @@ }, { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "There is an isobar Wigner-$d$ function, which takes the following helicity angles as argument:" ] @@ -271,8 +263,7 @@ { "cell_type": "markdown", "metadata": { - "jp-MarkdownHeadingCollapsed": true, - "tags": [] + "jp-MarkdownHeadingCollapsed": true }, "source": [ "### AmpForm model" @@ -280,9 +271,7 @@ }, { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "AmpForm does not formulate alignment Wigner-$D$ functions. For the case of this spinless final state, this means the intensity is the same as that of the [](#dpd-model)." ] @@ -344,8 +333,7 @@ { "cell_type": "markdown", "metadata": { - "jp-MarkdownHeadingCollapsed": true, - "tags": [] + "jp-MarkdownHeadingCollapsed": true }, "source": [ "## Phase space sample" @@ -392,9 +380,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "tags": [] - }, + "metadata": {}, "outputs": [], "source": [ "def generate_phase_space(reaction: ReactionInfo, size: int) -> dict[str, jnp.ndarray]:\n", @@ -414,8 +400,7 @@ { "cell_type": "markdown", "metadata": { - "jp-MarkdownHeadingCollapsed": true, - "tags": [] + "jp-MarkdownHeadingCollapsed": true }, "source": [ "## Convert to numerical functions" @@ -424,9 +409,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "tags": [] - }, + "metadata": {}, "outputs": [], "source": [ "def unfold_intensity(model: HelicityModel) -> sp.Expr:\n", @@ -444,9 +427,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "tags": [] - }, + "metadata": {}, "outputs": [], "source": [ "ampform_func = perform_cached_lambdify(\n", diff --git a/docs/comparison/jpsi2phipipi.ipynb b/docs/comparison/jpsi2phipipi.ipynb index b0c5d3ba..dad5ea81 100644 --- a/docs/comparison/jpsi2phipipi.ipynb +++ b/docs/comparison/jpsi2phipipi.ipynb @@ -2,9 +2,7 @@ "cells": [ { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "# J/ψ → φ(1020) π⁺ π⁻\n", "\n", @@ -94,8 +92,7 @@ { "cell_type": "markdown", "metadata": { - "jp-MarkdownHeadingCollapsed": true, - "tags": [] + "jp-MarkdownHeadingCollapsed": true }, "source": [ "## Decay definition" @@ -182,9 +179,7 @@ }, { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "## Model formulation" ] @@ -192,8 +187,7 @@ { "cell_type": "markdown", "metadata": { - "jp-MarkdownHeadingCollapsed": true, - "tags": [] + "jp-MarkdownHeadingCollapsed": true }, "source": [ "### DPD model" @@ -238,9 +232,7 @@ }, { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "There is an isobar Wigner-$d$ function, which takes the following helicity angles as argument:" ] @@ -264,8 +256,7 @@ { "cell_type": "markdown", "metadata": { - "jp-MarkdownHeadingCollapsed": true, - "tags": [] + "jp-MarkdownHeadingCollapsed": true }, "source": [ "### AmpForm model" @@ -328,8 +319,7 @@ { "cell_type": "markdown", "metadata": { - "jp-MarkdownHeadingCollapsed": true, - "tags": [] + "jp-MarkdownHeadingCollapsed": true }, "source": [ "## Phase space sample" @@ -376,9 +366,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "tags": [] - }, + "metadata": {}, "outputs": [], "source": [ "def generate_phase_space(reaction: ReactionInfo, size: int) -> dict[str, jnp.ndarray]:\n", @@ -398,8 +386,7 @@ { "cell_type": "markdown", "metadata": { - "jp-MarkdownHeadingCollapsed": true, - "tags": [] + "jp-MarkdownHeadingCollapsed": true }, "source": [ "## Convert to numerical functions" @@ -408,9 +395,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "tags": [] - }, + "metadata": {}, "outputs": [], "source": [ "def unfold_intensity(model: HelicityModel) -> sp.Expr:\n", @@ -428,9 +413,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "tags": [] - }, + "metadata": {}, "outputs": [], "source": [ "ampform_func = perform_cached_lambdify(\n", diff --git a/docs/comparison/jpsi2pipipi.ipynb b/docs/comparison/jpsi2pipipi.ipynb index 418c6e8d..889ebdc0 100644 --- a/docs/comparison/jpsi2pipipi.ipynb +++ b/docs/comparison/jpsi2pipipi.ipynb @@ -2,9 +2,7 @@ "cells": [ { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "# J/ψ → π⁰ π⁺ π⁻\n", "\n", @@ -94,8 +92,7 @@ { "cell_type": "markdown", "metadata": { - "jp-MarkdownHeadingCollapsed": true, - "tags": [] + "jp-MarkdownHeadingCollapsed": true }, "source": [ "## Decay definition" @@ -182,9 +179,7 @@ }, { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "## Model formulation" ] @@ -192,8 +187,7 @@ { "cell_type": "markdown", "metadata": { - "jp-MarkdownHeadingCollapsed": true, - "tags": [] + "jp-MarkdownHeadingCollapsed": true }, "source": [ "### DPD model" @@ -238,9 +232,7 @@ }, { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "There is an isobar Wigner-$d$ function, which takes the following helicity angles as argument:" ] @@ -264,8 +256,7 @@ { "cell_type": "markdown", "metadata": { - "jp-MarkdownHeadingCollapsed": true, - "tags": [] + "jp-MarkdownHeadingCollapsed": true }, "source": [ "### AmpForm model" @@ -328,8 +319,7 @@ { "cell_type": "markdown", "metadata": { - "jp-MarkdownHeadingCollapsed": true, - "tags": [] + "jp-MarkdownHeadingCollapsed": true }, "source": [ "## Phase space sample" @@ -376,9 +366,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "tags": [] - }, + "metadata": {}, "outputs": [], "source": [ "def generate_phase_space(reaction: ReactionInfo, size: int) -> dict[str, jnp.ndarray]:\n", @@ -398,8 +386,7 @@ { "cell_type": "markdown", "metadata": { - "jp-MarkdownHeadingCollapsed": true, - "tags": [] + "jp-MarkdownHeadingCollapsed": true }, "source": [ "## Convert to numerical functions" @@ -408,9 +395,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "tags": [] - }, + "metadata": {}, "outputs": [], "source": [ "def unfold_intensity(model: HelicityModel) -> sp.Expr:\n", @@ -428,9 +413,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "tags": [] - }, + "metadata": {}, "outputs": [], "source": [ "ampform_func = perform_cached_lambdify(\n", diff --git a/docs/conf.py b/docs/conf.py index 6cefc719..5943a6ee 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -20,6 +20,7 @@ "8.0.6": "8.0.5", "8.1.1": "8.1.2", }, + "matplotlib": {"3.9.1.post1": "3.9.1"}, "mpl-interactions": {"0.24.1": "0.24.0"}, }) @@ -65,7 +66,7 @@ api_target_types: dict[str, str] = {} author = "Common Partial Wave Analysis" autodoc_default_options = { - "exclude-members": ", ".join([ + "exclude-members": ", ".join([ # noqa: FLY002 "default_assumptions", "doit", "evaluate", diff --git a/docs/jpsi2ksp.ipynb b/docs/jpsi2ksp.ipynb index 20a91d0f..f61c08b9 100644 --- a/docs/jpsi2ksp.ipynb +++ b/docs/jpsi2ksp.ipynb @@ -2,9 +2,7 @@ "cells": [ { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "# J/ψ → K⁰ Σ⁺ p̅\n", "\n", @@ -70,8 +68,7 @@ { "cell_type": "markdown", "metadata": { - "jp-MarkdownHeadingCollapsed": true, - "tags": [] + "jp-MarkdownHeadingCollapsed": true }, "source": [ "## Decay definition" @@ -419,9 +416,7 @@ }, { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "## Dalitz plot" ] diff --git a/docs/lc2pkpi.ipynb b/docs/lc2pkpi.ipynb index 538efef0..ede5f8ec 100644 --- a/docs/lc2pkpi.ipynb +++ b/docs/lc2pkpi.ipynb @@ -236,9 +236,7 @@ }, { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "## Model formulation" ] diff --git a/docs/serialization.ipynb b/docs/serialization.ipynb index 74e9dd2b..d2a8e2b3 100644 --- a/docs/serialization.ipynb +++ b/docs/serialization.ipynb @@ -2,9 +2,7 @@ "cells": [ { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "# Model serialization" ] @@ -22,9 +20,7 @@ }, { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "## Import model" ] @@ -105,9 +101,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "tags": [] - }, + "metadata": {}, "outputs": [], "source": [ "with open(\"Lc2ppiK.json\") as stream:\n", @@ -130,8 +124,7 @@ { "cell_type": "markdown", "metadata": { - "jp-MarkdownHeadingCollapsed": true, - "tags": [] + "jp-MarkdownHeadingCollapsed": true }, "source": [ "## Construct `ThreeBodyDecay`" @@ -173,9 +166,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "tags": [] - }, + "metadata": {}, "outputs": [], "source": [ "DECAY = to_decay(MODEL_DEFINITION, to_latex=to_latex)\n", @@ -184,18 +175,14 @@ }, { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "## Dynamics" ] }, { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ ":::{seealso} [RUB-EP1/amplitude-serialization#22](https://github.com/RUB-EP1/amplitude-serialization/issues/22)\n", ":::" @@ -204,9 +191,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "tags": [] - }, + "metadata": {}, "outputs": [], "source": [ "CHAIN_DEFS = get_decay_chains(MODEL_DEFINITION)" @@ -221,9 +206,7 @@ }, { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "#### Blatt-Weisskopf form factor" ] @@ -255,9 +238,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "tags": [] - }, + "metadata": {}, "outputs": [], "source": [ "ff_L1520 = formulate_form_factor(\n", @@ -269,18 +250,14 @@ }, { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "### Propagators" ] }, { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "#### Breit-Wigner" ] @@ -314,9 +291,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "tags": [] - }, + "metadata": {}, "outputs": [], "source": [ "K892_BW = formulate_breit_wigner(\n", @@ -329,9 +304,7 @@ }, { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "#### Multi-channel Breit-Wigner" ] @@ -395,9 +368,7 @@ }, { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "#### Breit-Wigner with exponential" ] @@ -439,9 +410,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "tags": [] - }, + "metadata": {}, "outputs": [], "source": [ "get_function_definition(\"K700_BuggBW\", MODEL_DEFINITION)" @@ -481,9 +450,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "tags": [] - }, + "metadata": {}, "outputs": [], "source": [ "CHAIN_18 = CHAIN_DEFS[18]\n", @@ -505,9 +472,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "tags": [] - }, + "metadata": {}, "outputs": [], "source": [ "DYNAMICS_BUILDERS = {\n", @@ -539,9 +504,7 @@ }, { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "## Construct `AmplitudeModel`" ] @@ -738,9 +701,7 @@ }, { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "## Numeric results" ] @@ -748,9 +709,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "tags": [] - }, + "metadata": {}, "outputs": [], "source": [ "intensity_expr = MODEL.full_expression.xreplace(MODEL.variables)\n", @@ -800,18 +759,14 @@ }, { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "### Validation" ] }, { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ ":::{error}\n", "The following serves as a numerical check on whether the amplitude model has been deserialized correctly. For now, this is not the case, see [ComPWA/ampform-dpd#133](https://github.com/ComPWA/ampform-dpd/issues/133) for updates.\n", @@ -821,9 +776,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "tags": [] - }, + "metadata": {}, "outputs": [], "source": [ "checksums = {\n", @@ -837,9 +790,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "tags": [] - }, + "metadata": {}, "outputs": [], "source": [ "checksum_points = {\n", @@ -876,9 +827,7 @@ }, { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "### Dalitz plot" ] @@ -944,8 +893,7 @@ "metadata": { "mystnb": { "code_prompt_show": "Prepare parametrized numerical function" - }, - "tags": [] + } }, "outputs": [], "source": [ diff --git a/docs/xib2pkk.ipynb b/docs/xib2pkk.ipynb index dfa1d576..6acb0ad1 100644 --- a/docs/xib2pkk.ipynb +++ b/docs/xib2pkk.ipynb @@ -2,9 +2,7 @@ "cells": [ { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "# Ξb⁻ → p K⁻ K⁻\n", "\n", @@ -75,8 +73,7 @@ { "cell_type": "markdown", "metadata": { - "jp-MarkdownHeadingCollapsed": true, - "tags": [] + "jp-MarkdownHeadingCollapsed": true }, "source": [ "## Decay definition" @@ -445,9 +442,7 @@ }, { "cell_type": "markdown", - "metadata": { - "tags": [] - }, + "metadata": {}, "source": [ "## Dalitz plot" ] diff --git a/pyproject.toml b/pyproject.toml index 00fadfa6..08cd339c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -69,15 +69,14 @@ doc = [ "tqdm", ] jax = [ + "numpy==1.*", "tensorwaves[jax]", ] jupyter = [ "ampform-dpd[doc]", - "black", - "isort", "jupyterlab >=3.0", "jupyterlab", - "jupyterlab-code-formatter", + "jupyterlab-code-formatter >=3.0.0", "jupyterlab-git", "jupyterlab-lsp", "jupyterlab-myst", @@ -147,6 +146,10 @@ warn_unused_configs = true ignore_missing_imports = true module = ["cloudpickle.*"] +[[tool.mypy.overrides]] +ignore_missing_imports = true +module = ["sympy.*"] + [[tool.mypy.overrides]] check_untyped_defs = true disallow_incomplete_defs = false @@ -194,6 +197,7 @@ doctest_optionflags = [ ] filterwarnings = [ "error", + "ignore:The `hash` argument is deprecated in favor of `unsafe_hash` and will be removed in or after August 2025.:DeprecationWarning", "ignore:the imp module is deprecated in favour of importlib.*:DeprecationWarning", ] markers = [ @@ -224,41 +228,13 @@ docstring-code-format = true line-ending = "lf" [tool.ruff.lint] -extend-select = [ - "A", - "B", - "BLE", - "C4", - "C90", - "D", - "EM", - "ERA", - "FA", - "I", - "ICN", - "INP", - "ISC", - "N", - "NPY", - "PGH", - "PIE", - "PL", - "Q", - "RET", - "RSE", - "RUF", - "S", - "SIM", - "T20", - "TCH", - "TID", - "TRY", - "UP", - "YTT", -] ignore = [ + "ANN", + "ARG00", "B028", "C408", + "COM812", + "CPY001", "D101", "D102", "D103", @@ -268,17 +244,38 @@ ignore = [ "D213", "D407", "D416", + "DOC", "E501", + "FBT", + "FURB101", + "FURB103", + "FURB140", + "G004", "ISC001", "ISC003", "PLC2401", "PLR0913", "PLW1514", + "PT001", + "PTH", "S301", "SIM108", ] +select = ["ALL"] task-tags = ["cspell"] +[tool.ruff.lint.flake8-builtins] +builtins-ignorelist = ["display"] + +[tool.ruff.lint.flake8-comprehensions] +allow-dict-calls-with-keyword-arguments = true + +[tool.ruff.lint.flake8-self] +ignore-names = [ + "_latex", + "_print", +] + [tool.ruff.lint.isort] split-on-trailing-comma = false @@ -301,6 +298,7 @@ ignore-names = [ "B018", "C90", "D", + "E303", "E402", "E703", "N806", @@ -340,10 +338,10 @@ ignore-names = [ "INP001", "PGH001", "PLC2701", - "PLR0913", "PLR2004", "PLR6301", "S101", + "SLF001", "T20", ] diff --git a/src/ampform_dpd/_cache.py b/src/ampform_dpd/_cache.py index e67e01b0..39c00e44 100644 --- a/src/ampform_dpd/_cache.py +++ b/src/ampform_dpd/_cache.py @@ -81,7 +81,7 @@ def _get_python_hash_seed() -> int | None: @functools.lru_cache(maxsize=None) # warn once -def _warn_about_unsafe_hash(): +def _warn_about_unsafe_hash() -> None: message = """ PYTHONHASHSEED has not been set. For faster and safer hashing of SymPy expressions, set the PYTHONHASHSEED environment variable to a fixed value and rerun the program. diff --git a/src/ampform_dpd/adapter/qrules.py b/src/ampform_dpd/adapter/qrules.py index 8b588dcf..9c1e504d 100644 --- a/src/ampform_dpd/adapter/qrules.py +++ b/src/ampform_dpd/adapter/qrules.py @@ -5,7 +5,7 @@ from collections import abc, defaultdict from functools import singledispatch from pathlib import Path -from typing import Any, Iterable, TypeVar, overload +from typing import Any, Iterable, NoReturn, TypeVar, overload import attrs import qrules @@ -222,7 +222,7 @@ def normalize_state_ids(obj): # pyright:ignore[reportInconsistentOverload] @singledispatch -def _impl_normalize_state_ids(obj): +def _impl_normalize_state_ids(obj) -> NoReturn: """Relabel the state IDs so that they lie in the range :math:`[0, N)`.""" msg = f"Cannot relabel edge IDs of a {type(obj).__name__}" raise NotImplementedError(msg) @@ -276,7 +276,7 @@ def permute_equal_final_states(obj: T) -> T: # type:ignore[misc] # pyright:ign @singledispatch -def _impl_permute_equal_final_states(obj): +def _impl_permute_equal_final_states(obj) -> NoReturn: msg = f"Cannot permute equal final states of a {type(obj)}" raise NotImplementedError(msg) diff --git a/src/ampform_dpd/io/__init__.py b/src/ampform_dpd/io/__init__.py index b843ca25..b5ed4481 100644 --- a/src/ampform_dpd/io/__init__.py +++ b/src/ampform_dpd/io/__init__.py @@ -308,7 +308,7 @@ def perform_cached_lambdify( # type:ignore[misc] # pyright:ignore[reportIncons def simplify_latex_rendering() -> None: """Improve LaTeX rendering of an `~sympy.tensor.indexed.Indexed` object.""" - def _print_Indexed_latex(self, printer, *args): # noqa: N802 + def _print_Indexed_latex(self, printer, *args) -> str: # noqa: N802 base = printer._print(self.base) indices = ", ".join(map(printer._print, self.indices)) return f"{base}_{{{indices}}}" diff --git a/src/ampform_dpd/spin.py b/src/ampform_dpd/spin.py index df8f8ad0..b7bc8e19 100644 --- a/src/ampform_dpd/spin.py +++ b/src/ampform_dpd/spin.py @@ -64,7 +64,7 @@ def create_spin_range(spin: SupportsFloat) -> list[sp.Rational]: def create_rational_range( - __from: SupportsFloat, __to: SupportsFloat + __from: SupportsFloat, __to: SupportsFloat, / ) -> list[sp.Rational]: """Create a range of rational numbers, especially useful for spin projections. diff --git a/tests/test_io.py b/tests/test_io.py index ea4081af..5e21b5e0 100644 --- a/tests/test_io.py +++ b/tests/test_io.py @@ -77,7 +77,7 @@ def test_get_readable_hash( if sys.version_info < (3, 11): expected_hash = expected_hash[0] # type:ignore[assignment] else: - expected_hash = expected_hash[1] + expected_hash = expected_hash[1] # type:ignore[assignment] expected = f"pythonhashseed-0{expected_hash:+d}" assert h == expected else: