diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 297b9a165..e63fb0ca0 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -6,7 +6,7 @@ # accessible-pygments==0.0.4 alabaster==0.7.16 -anyio==4.2.0 +anyio==4.3.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -15,9 +15,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 @@ -28,45 +28,45 @@ click==8.1.7 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 -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 -fonttools==4.48.1 +fonttools==4.49.0 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.41 +gitpython==3.1.42 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.3 h11==0.14.0 hepunits==2.3.3 -httpcore==1.0.2 -httpx==0.26.0 -identify==2.5.34 +httpcore==1.0.4 +httpx==0.27.0 +identify==2.5.35 idna==3.6 imagesize==1.4.1 importlib-metadata==7.0.1 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 jedi==0.19.1 jinja2==3.1.3 -json5==0.9.14 +json5==0.9.20 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 @@ -74,17 +74,17 @@ jupyter-cache==1.0.0 jupyter-client==8.6.0 jupyter-core==5.7.1 jupyter-events==0.9.0 -jupyter-lsp==2.2.2 -jupyter-server==2.12.5 +jupyter-lsp==2.2.3 +jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.2 -jupyterlab==4.1.0 +jupyterlab==4.1.2 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 kiwisolver==1.4.5 latexcodec==2.0.1 @@ -92,7 +92,7 @@ livereload==2.6.3 lsprotocol==2023.0.1 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 @@ -104,13 +104,13 @@ 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.1 nbdime==4.0.1 nbformat==5.9.2 -nbmake==1.5.0 +nbmake==1.5.1 nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook-shim==0.2.3 +notebook-shim==0.2.4 numpy==1.26.4 overrides==7.7.0 packaging==23.2 @@ -122,8 +122,8 @@ pexpect==4.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 psutil==5.9.8 ptyprocess==0.7.0 @@ -135,15 +135,15 @@ pydata-sphinx-theme==0.15.2 pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==8.0.0 +pytest==8.0.2 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 python-constraint==1.4.0 -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 pyyaml==6.0.1 @@ -153,21 +153,21 @@ referencing==0.33.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rich==13.7.0 +rich==13.7.1 rope==1.12.0 -rpds-py==0.17.1 -ruff==0.2.1 +rpds-py==0.18.0 +ruff==0.3.0 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 @@ -183,7 +183,7 @@ sphinxcontrib-htmlhelp==2.0.5 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.7 sphinxcontrib-serializinghtml==1.1.10 -sqlalchemy==2.0.26 +sqlalchemy==2.0.28 stack-data==0.6.3 sympy==1.12 tabulate==0.9.0 @@ -191,15 +191,15 @@ terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 tornado==6.4 -tox==4.12.1 +tox==4.13.0 tqdm==4.66.2 traitlets==5.14.1 types-python-dateutil==2.8.19.20240106 -typing-extensions==4.9.0 +typing-extensions==4.10.0 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 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index d7bdd9d2c..b6e92d8bd 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -6,7 +6,7 @@ # accessible-pygments==0.0.4 alabaster==0.7.16 -anyio==4.2.0 +anyio==4.3.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -15,9 +15,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 @@ -28,44 +28,44 @@ click==8.1.7 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 -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 -fonttools==4.48.1 +fonttools==4.49.0 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.41 +gitpython==3.1.42 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.3 h11==0.14.0 hepunits==2.3.3 -httpcore==1.0.2 -httpx==0.26.0 -identify==2.5.34 +httpcore==1.0.4 +httpx==0.27.0 +identify==2.5.35 idna==3.6 imagesize==1.4.1 importlib-metadata==7.0.1 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 jedi==0.19.1 jinja2==3.1.3 -json5==0.9.14 +json5==0.9.20 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 @@ -73,17 +73,17 @@ jupyter-cache==1.0.0 jupyter-client==8.6.0 jupyter-core==5.7.1 jupyter-events==0.9.0 -jupyter-lsp==2.2.2 -jupyter-server==2.12.5 +jupyter-lsp==2.2.3 +jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.2 -jupyterlab==4.1.0 +jupyterlab==4.1.2 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 kiwisolver==1.4.5 latexcodec==2.0.1 @@ -91,7 +91,7 @@ livereload==2.6.3 lsprotocol==2023.0.1 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 @@ -103,13 +103,13 @@ 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.1 nbdime==4.0.1 nbformat==5.9.2 -nbmake==1.5.0 +nbmake==1.5.1 nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook-shim==0.2.3 +notebook-shim==0.2.4 numpy==1.26.4 overrides==7.7.0 packaging==23.2 @@ -121,8 +121,8 @@ pexpect==4.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 psutil==5.9.8 ptyprocess==0.7.0 @@ -134,15 +134,15 @@ pydata-sphinx-theme==0.15.2 pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==8.0.0 +pytest==8.0.2 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 python-constraint==1.4.0 -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 pyyaml==6.0.1 @@ -152,21 +152,21 @@ referencing==0.33.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rich==13.7.0 +rich==13.7.1 rope==1.12.0 -rpds-py==0.17.1 -ruff==0.2.1 +rpds-py==0.18.0 +ruff==0.3.0 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 @@ -182,22 +182,22 @@ sphinxcontrib-htmlhelp==2.0.5 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.7 sphinxcontrib-serializinghtml==1.1.10 -sqlalchemy==2.0.26 +sqlalchemy==2.0.28 stack-data==0.6.3 sympy==1.12 tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 tornado==6.4 -tox==4.12.1 +tox==4.13.0 tqdm==4.66.2 traitlets==5.14.1 types-python-dateutil==2.8.19.20240106 -typing-extensions==4.9.0 +typing-extensions==4.10.0 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 diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt index 2d3518278..88dcebda3 100644 --- a/.constraints/py3.12.txt +++ b/.constraints/py3.12.txt @@ -6,7 +6,7 @@ # accessible-pygments==0.0.4 alabaster==0.7.16 -anyio==4.2.0 +anyio==4.3.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -15,9 +15,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 @@ -28,44 +28,44 @@ click==8.1.7 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 -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 -fonttools==4.48.1 +fonttools==4.49.0 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.41 +gitpython==3.1.42 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.3 h11==0.14.0 hepunits==2.3.3 -httpcore==1.0.2 -httpx==0.26.0 -identify==2.5.34 +httpcore==1.0.4 +httpx==0.27.0 +identify==2.5.35 idna==3.6 imagesize==1.4.1 importlib-metadata==7.0.1 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 jedi==0.19.1 jinja2==3.1.3 -json5==0.9.14 +json5==0.9.20 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 @@ -73,17 +73,17 @@ jupyter-cache==1.0.0 jupyter-client==8.6.0 jupyter-core==5.7.1 jupyter-events==0.9.0 -jupyter-lsp==2.2.2 -jupyter-server==2.12.5 +jupyter-lsp==2.2.3 +jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.2 -jupyterlab==4.1.0 +jupyterlab==4.1.2 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 kiwisolver==1.4.5 latexcodec==2.0.1 @@ -91,7 +91,7 @@ livereload==2.6.3 lsprotocol==2023.0.1 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 @@ -103,13 +103,13 @@ 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.1 nbdime==4.0.1 nbformat==5.9.2 -nbmake==1.5.0 +nbmake==1.5.1 nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook-shim==0.2.3 +notebook-shim==0.2.4 numpy==1.26.4 overrides==7.7.0 packaging==23.2 @@ -121,8 +121,8 @@ pexpect==4.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 psutil==5.9.8 ptyprocess==0.7.0 @@ -134,15 +134,15 @@ pydata-sphinx-theme==0.15.2 pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==8.0.0 +pytest==8.0.2 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 python-constraint==1.4.0 -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 pyyaml==6.0.1 @@ -152,21 +152,21 @@ referencing==0.33.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rich==13.7.0 +rich==13.7.1 rope==1.12.0 -rpds-py==0.17.1 -ruff==0.2.1 +rpds-py==0.18.0 +ruff==0.3.0 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 @@ -182,22 +182,22 @@ sphinxcontrib-htmlhelp==2.0.5 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.7 sphinxcontrib-serializinghtml==1.1.10 -sqlalchemy==2.0.26 +sqlalchemy==2.0.28 stack-data==0.6.3 sympy==1.12 tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 tornado==6.4 -tox==4.12.1 +tox==4.13.0 tqdm==4.66.2 traitlets==5.14.1 types-python-dateutil==2.8.19.20240106 -typing-extensions==4.9.0 +typing-extensions==4.10.0 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 diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index 9981c4ae7..2ac9cce7b 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -19,7 +19,7 @@ beautifulsoup4==4.12.3 black==23.3.0 bleach==6.0.0 cached-property==1.5.2 -cachetools==5.3.2 +cachetools==5.3.3 cattrs==23.1.2 certifi==2024.2.2 cffi==1.15.1 @@ -35,7 +35,7 @@ debugpy==1.7.0 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.8 -docstring-to-markdown==0.13 +docstring-to-markdown==0.15 docutils==0.17.1 entrypoints==0.4 exceptiongroup==1.2.0 @@ -45,7 +45,7 @@ filelock==3.12.2 fonttools==4.38.0 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.41 +gitpython==3.1.42 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.3 @@ -53,7 +53,7 @@ hepunits==2.3.3 identify==2.5.24 idna==3.6 imagesize==1.4.1 -importlib-metadata==6.7.0 +importlib-metadata==6.7.0 ; python_version < "3.8.0" importlib-resources==5.12.0 iniconfig==2.0.0 ipykernel==6.16.2 @@ -65,7 +65,7 @@ isoduration==20.11.0 isort==5.11.5 jedi==0.18.2 jinja2==3.1.3 -json5==0.9.14 +json5==0.9.16 jsonpointer==2.4 jsonschema==4.17.3 jupyter-cache==0.5.0 @@ -112,7 +112,7 @@ nbmake==1.3.0 nest-asyncio==1.6.0 nodeenv==1.8.0 notebook==6.5.6 -notebook-shim==0.2.3 +notebook-shim==0.2.4 numpy==1.21.6 packaging==23.2 pandocfilters==1.5.1 @@ -144,7 +144,7 @@ pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 python-constraint==1.4.0 -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.0.0 python-lsp-ruff==1.6.0 @@ -157,7 +157,7 @@ qrules==0.10.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rich==13.7.0 +rich==13.7.1 rope==1.9.0 ruff==0.1.15 scipy==1.7.3 @@ -165,7 +165,7 @@ send2trash==1.8.2 singledispatchmethod==1.0 ; python_version < "3.8.0" six==1.16.0 smmap==5.0.1 -sniffio==1.3.0 +sniffio==1.3.1 snowballstemmer==2.2.0 soupsieve==2.4.1 sphinx==5.3.0 @@ -187,7 +187,7 @@ sphinxcontrib-htmlhelp==2.0.0 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 -sqlalchemy==1.4.51 +sqlalchemy==1.4.52 sympy==1.10.1 tabulate==0.9.0 terminado==0.17.1 @@ -202,7 +202,7 @@ typing-extensions==4.7.1 ; python_version < "3.8.0" ujson==5.7.0 uri-template==1.3.0 urllib3==2.0.7 -virtualenv==20.25.0 +virtualenv==20.25.1 wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 5fd5e6f22..29311f703 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -6,7 +6,7 @@ # accessible-pygments==0.0.4 alabaster==0.7.13 -anyio==4.2.0 +anyio==4.3.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -16,9 +16,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 @@ -29,37 +29,37 @@ click==8.1.7 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 -docstring-to-markdown==0.13 +docstring-to-markdown==0.15 docutils==0.17.1 exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.48.1 +fonttools==4.49.0 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.41 +gitpython==3.1.42 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.3 h11==0.14.0 hepunits==2.3.3 -httpcore==1.0.2 -httpx==0.26.0 -identify==2.5.34 +httpcore==1.0.4 +httpx==0.27.0 +identify==2.5.35 idna==3.6 imagesize==1.4.1 importlib-metadata==7.0.1 -importlib-resources==6.1.1 +importlib-resources==6.1.2 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 @@ -68,7 +68,7 @@ isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 jinja2==3.1.3 -json5==0.9.14 +json5==0.9.20 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 @@ -76,17 +76,17 @@ jupyter-cache==0.6.1 jupyter-client==8.6.0 jupyter-core==5.7.1 jupyter-events==0.9.0 -jupyter-lsp==2.2.2 -jupyter-server==2.12.5 +jupyter-lsp==2.2.3 +jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.2 -jupyterlab==4.1.0 +jupyterlab==4.1.2 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 kiwisolver==1.4.5 latexcodec==2.0.1 @@ -94,7 +94,7 @@ livereload==2.6.3 lsprotocol==2023.0.1 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 @@ -106,13 +106,13 @@ 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.1 nbdime==4.0.1 nbformat==5.9.2 -nbmake==1.5.0 +nbmake==1.5.1 nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook-shim==0.2.3 +notebook-shim==0.2.4 numpy==1.24.4 overrides==7.7.0 packaging==23.2 @@ -127,7 +127,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 psutil==5.9.8 ptyprocess==0.7.0 @@ -139,15 +139,15 @@ pydata-sphinx-theme==0.14.4 pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==8.0.0 +pytest==8.0.2 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 python-constraint==1.4.0 -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 @@ -158,15 +158,15 @@ referencing==0.33.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rich==13.7.0 +rich==13.7.1 rope==1.12.0 -rpds-py==0.17.1 -ruff==0.2.1 +rpds-py==0.18.0 +ruff==0.3.0 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 @@ -188,7 +188,7 @@ sphinxcontrib-htmlhelp==2.0.1 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 -sqlalchemy==2.0.26 +sqlalchemy==2.0.28 stack-data==0.6.3 sympy==1.12 tabulate==0.9.0 @@ -196,15 +196,15 @@ terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 tornado==6.4 -tox==4.12.1 +tox==4.13.0 tqdm==4.66.2 traitlets==5.14.1 types-python-dateutil==2.8.19.20240106 -typing-extensions==4.9.0 +typing-extensions==4.10.0 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 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 40fb5b455..9e35a5047 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -6,7 +6,7 @@ # accessible-pygments==0.0.4 alabaster==0.7.16 -anyio==4.2.0 +anyio==4.3.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -15,9 +15,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 @@ -28,37 +28,37 @@ click==8.1.7 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 -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 -fonttools==4.48.1 +fonttools==4.49.0 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.41 +gitpython==3.1.42 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.3 h11==0.14.0 hepunits==2.3.3 -httpcore==1.0.2 -httpx==0.26.0 -identify==2.5.34 +httpcore==1.0.4 +httpx==0.27.0 +identify==2.5.35 idna==3.6 imagesize==1.4.1 importlib-metadata==7.0.1 -importlib-resources==6.1.1 +importlib-resources==6.1.2 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 @@ -67,7 +67,7 @@ isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 jinja2==3.1.3 -json5==0.9.14 +json5==0.9.20 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 @@ -75,17 +75,17 @@ jupyter-cache==1.0.0 jupyter-client==8.6.0 jupyter-core==5.7.1 jupyter-events==0.9.0 -jupyter-lsp==2.2.2 -jupyter-server==2.12.5 +jupyter-lsp==2.2.3 +jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.2 -jupyterlab==4.1.0 +jupyterlab==4.1.2 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 kiwisolver==1.4.5 latexcodec==2.0.1 @@ -93,7 +93,7 @@ livereload==2.6.3 lsprotocol==2023.0.1 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 @@ -105,13 +105,13 @@ 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.1 nbdime==4.0.1 nbformat==5.9.2 -nbmake==1.5.0 +nbmake==1.5.1 nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook-shim==0.2.3 +notebook-shim==0.2.4 numpy==1.26.4 overrides==7.7.0 packaging==23.2 @@ -123,8 +123,8 @@ pexpect==4.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 psutil==5.9.8 ptyprocess==0.7.0 @@ -136,15 +136,15 @@ pydata-sphinx-theme==0.15.2 pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==8.0.0 +pytest==8.0.2 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 python-constraint==1.4.0 -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 pyyaml==6.0.1 @@ -154,21 +154,21 @@ referencing==0.33.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rich==13.7.0 +rich==13.7.1 rope==1.12.0 -rpds-py==0.17.1 -ruff==0.2.1 +rpds-py==0.18.0 +ruff==0.3.0 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 @@ -184,7 +184,7 @@ sphinxcontrib-htmlhelp==2.0.5 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.7 sphinxcontrib-serializinghtml==1.1.10 -sqlalchemy==2.0.26 +sqlalchemy==2.0.28 stack-data==0.6.3 sympy==1.12 tabulate==0.9.0 @@ -192,15 +192,15 @@ terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 tornado==6.4 -tox==4.12.1 +tox==4.13.0 tqdm==4.66.2 traitlets==5.14.1 types-python-dateutil==2.8.19.20240106 -typing-extensions==4.9.0 +typing-extensions==4.10.0 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 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b8e14a526..737526ee6 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.2.6 hooks: - id: check-dev-files args: @@ -59,7 +59,7 @@ repos: - --extras-require=doc,viz - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.2.1 + rev: v0.3.0 hooks: - id: ruff args: [--fix] @@ -122,7 +122,7 @@ repos: pass_filenames: false - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v8.3.0 + rev: v8.5.0 hooks: - id: cspell @@ -148,6 +148,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 982726808..a9137ba34 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -55,6 +55,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, @@ -65,6 +69,7 @@ "redhat.telemetry.enabled": false, "rewrap.wrappingColumn": 88, "ruff.enable": true, + "ruff.importStrategy": "fromEnvironment", "ruff.organizeImports": true, "search.exclude": { "**/tests/**/__init__.py": true, diff --git a/docs/_extend_docstrings.py b/docs/_extend_docstrings.py index b2cf4d313..db7c3b52c 100644 --- a/docs/_extend_docstrings.py +++ b/docs/_extend_docstrings.py @@ -554,7 +554,7 @@ def __get_graphviz_state_transition_example( for state_id in [0, 1, -1]: dot = dot.replace( f'label="{state_id}: ', - f'label="{state_id+2}: ', + f'label="{state_id + 2}: ', ) return _graphviz_to_image(dot, indent=4, options={"align": "center"}) diff --git a/pyproject.toml b/pyproject.toml index e8f38db92..7216393cd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -336,6 +336,8 @@ known-third-party = ["sympy"] split-on-trailing-comma = false [tool.ruff.lint.per-file-ignores] +"**/docs/usage/dynamics.ipynb" = ["RUF027"] +"**/docs/usage/symplot.ipynb" = ["RUF027"] "**/docs/usage/sympy.ipynb" = ["E731"] "*.ipynb" = [ "B018", diff --git a/src/ampform/helicity/__init__.py b/src/ampform/helicity/__init__.py index a127b036b..4e5f5768b 100644 --- a/src/ampform/helicity/__init__.py +++ b/src/ampform/helicity/__init__.py @@ -758,7 +758,7 @@ def __generate_amplitude_prefactor( self, transition: StateTransition ) -> sp.Rational | None: prefactor = get_prefactor(transition) - if prefactor != 1.0: # noqa: PLR2004 + if prefactor != 1.0: for node_id in transition.topology.nodes: raw_suffix = self.naming.generate_two_body_decay_suffix( transition, node_id @@ -1055,9 +1055,7 @@ def get_helicity_rotation(state_id: int) -> Generator[PoolSum, None, None]: if is_opposite_helicity_state(topology, state_id): state_id = get_sibling_state_id(topology, state_id) phi, theta = get_helicity_angle_symbols(topology, state_id) - no_zero_spin = ( - transition.states[rotated_state_id].particle.mass == 0.0 # noqa: PLR2004 - ) + no_zero_spin = transition.states[rotated_state_id].particle.mass == 0.0 yield formulate_helicity_rotation( spin_magnitude, spin_projection=sp.Symbol(f"{next_idx_root}{idx_suffix}", rational=True), @@ -1114,7 +1112,7 @@ def formulate_wigner_rotation( summing over the Wigner-:math:`D` functions for this rotation. """ state = transition.states[rotated_state_id] - no_zero_spin = state.particle.mass == 0.0 # noqa: PLR2004 + no_zero_spin = state.particle.mass == 0.0 suffix = get_helicity_suffix(transition.topology, rotated_state_id) if helicity_symbol is None: spin_projection = state.spin_projection diff --git a/src/ampform/sympy/__init__.py b/src/ampform/sympy/__init__.py index c99ddc6f8..a2f983dec 100644 --- a/src/ampform/sympy/__init__.py +++ b/src/ampform/sympy/__init__.py @@ -253,7 +253,7 @@ def _is_regular_series(values: Sequence[SupportsFloat]) -> bool: sorted_values = sorted(values, key=float) for val, next_val in zip(sorted_values, sorted_values[1:]): difference = float(next_val) - float(val) - if difference != 1.0: # noqa: PLR2004 + if difference != 1.0: return False return True