diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 3e0f7bb7..22c89317 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -11,27 +11,26 @@ anyio==4.0.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 -asttokens==2.4.0 +asttokens==2.4.1 async-lru==2.0.4 attrs==23.1.0 -babel==2.13.0 -backcall==0.2.0 +babel==2.13.1 beautifulsoup4==4.12.2 -black==23.10.0 +black==23.11.0 bleach==6.1.0 -cachetools==5.3.1 +cachetools==5.3.2 cairocffi==1.6.1 cairosvg==2.7.1 certifi==2023.7.22 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 -charset-normalizer==3.3.0 +charset-normalizer==3.3.2 click==8.1.7 cloudpickle==3.0.0 colorama==0.4.6 -comm==0.1.4 -contourpy==1.1.1 +comm==0.2.0 +contourpy==1.2.0 cssselect2==0.7.0 cycler==0.12.1 debugpy==1.8.0 @@ -42,45 +41,45 @@ distlib==0.3.7 docutils==0.17.1 exceptiongroup==1.1.3 execnet==2.0.2 -executing==2.0.0 -fastjsonschema==2.18.1 -filelock==3.12.4 -fonttools==4.43.1 +executing==2.0.1 +fastjsonschema==2.19.0 +filelock==3.13.1 +fonttools==4.44.1 fqdn==1.5.1 -greenlet==3.0.0 +greenlet==3.0.1 hepunits==2.3.2 -identify==2.5.30 +identify==2.5.31 idna==3.4 imagesize==1.4.1 iminuit==2.24.0 importlib-metadata==6.8.0 iniconfig==2.0.0 -ipykernel==6.25.2 +ipykernel==6.26.0 ipympl==0.9.3 -ipython==8.16.1 +ipython==8.17.2 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 -jax==0.4.19 -jaxlib==0.4.19 +jax==0.4.20 +jaxlib==0.4.20 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.1 -jsonschema-specifications==2023.7.1 -jupyter-cache==0.6.1 -jupyter-client==8.4.0 -jupyter-core==5.4.0 -jupyter-events==0.8.0 +jsonschema==4.19.2 +jsonschema-specifications==2023.11.1 +jupyter-cache==1.0.0 +jupyter-client==8.6.0 +jupyter-core==5.5.0 +jupyter-events==0.9.0 jupyter-lsp==2.2.0 -jupyter-server==2.8.0 +jupyter-server==2.10.0 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.7 +jupyterlab==4.0.8 jupyterlab-code-formatter==2.2.1 jupyterlab-myst==2.1.0 jupyterlab-pygments==0.2.2 -jupyterlab-server==2.25.0 +jupyterlab-server==2.25.1 jupyterlab-widgets==3.0.9 kaleido==0.2.1 kiwisolver==1.4.5 @@ -89,7 +88,7 @@ livereload==2.6.3 lxml==4.9.3 markdown-it-py==2.2.0 markupsafe==2.1.3 -matplotlib==3.8.0 +matplotlib==3.8.1 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 @@ -97,45 +96,44 @@ mistune==3.0.2 ml-dtypes==0.3.1 mpmath==1.3.0 mypy-extensions==1.0.0 -myst-nb==0.17.2 -myst-parser==0.18.1 +myst-nb==1.0.0 +myst-parser==1.0.0 nbclient==0.6.8 -nbconvert==7.9.2 +nbconvert==7.11.0 nbformat==5.9.2 nbmake==1.4.6 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook-shim==0.2.3 -numpy==1.26.1 +numpy==1.26.2 opt-einsum==3.3.0 overrides==7.4.0 packaging==23.2 -pandas==2.1.1 +pandas==2.1.3 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.0 pathspec==0.11.2 pexpect==4.8.0 -pickleshare==0.7.5 pillow==10.1.0 platformdirs==3.11.0 -plotly==5.17.0 +plotly==5.18.0 pluggy==1.3.0 pre-commit==3.5.0 -prometheus-client==0.17.1 -prompt-toolkit==3.0.39 +prometheus-client==0.18.0 +prompt-toolkit==3.0.41 psutil==5.9.6 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.14.1 +pydata-sphinx-theme==0.14.3 pygments==2.16.1 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.2 -pytest-xdist==3.3.1 +pytest==7.4.3 +pytest-xdist==3.4.0 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 @@ -143,12 +141,12 @@ pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.1 qrules==0.9.8 -referencing==0.30.2 +referencing==0.31.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rpds-py==0.10.6 -ruff==0.1.1 +rpds-py==0.12.0 +ruff==0.1.5 scipy==1.11.3 send2trash==1.8.2 six==1.16.0 @@ -161,7 +159,7 @@ sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 sphinx-copybutton==0.5.2 sphinx-design==0.5.0 -sphinx-reredirects==0.1.2 +sphinx-reredirects==0.1.3 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.7 sphinxcontrib-bibtex==2.6.1 @@ -171,33 +169,33 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 sphinxcontrib-svg2pdfconverter==1.2.2 -sqlalchemy==2.0.22 +sqlalchemy==2.0.23 stack-data==0.6.3 svgutils==0.3.4 sympy==1.12 tabulate==0.9.0 tenacity==8.2.3 -tensorwaves==0.4.10 -terminado==0.17.1 +tensorwaves==0.4.11 +terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 tornado==6.3.3 tox==4.11.3 tqdm==4.66.1 -traitlets==5.11.2 +traitlets==5.13.0 types-python-dateutil==2.8.19.14 typing-extensions==4.8.0 tzdata==2023.3 uri-template==1.3.0 -urllib3==2.0.7 -virtualenv==20.24.5 -wcwidth==0.2.8 +urllib3==2.1.0 +virtualenv==20.24.6 +wcwidth==0.2.10 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.4 -wheel==0.41.2 +wheel==0.41.3 widgetsnbextension==4.0.9 -wrapt==1.15.0 +wrapt==1.16.0 zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index c7860bc0..5aa88548 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -11,27 +11,26 @@ anyio==4.0.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 -asttokens==2.4.0 +asttokens==2.4.1 async-lru==2.0.4 attrs==23.1.0 -babel==2.13.0 -backcall==0.2.0 +babel==2.13.1 beautifulsoup4==4.12.2 -black==23.10.0 +black==23.11.0 bleach==6.1.0 -cachetools==5.3.1 +cachetools==5.3.2 cairocffi==1.6.1 cairosvg==2.7.1 certifi==2023.7.22 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 -charset-normalizer==3.3.0 +charset-normalizer==3.3.2 click==8.1.7 cloudpickle==3.0.0 colorama==0.4.6 -comm==0.1.4 -contourpy==1.1.1 +comm==0.2.0 +contourpy==1.2.0 cssselect2==0.7.0 cycler==0.12.1 debugpy==1.8.0 @@ -41,45 +40,45 @@ deprecated==1.2.14 distlib==0.3.7 docutils==0.17.1 execnet==2.0.2 -executing==2.0.0 -fastjsonschema==2.18.1 -filelock==3.12.4 -fonttools==4.43.1 +executing==2.0.1 +fastjsonschema==2.19.0 +filelock==3.13.1 +fonttools==4.44.1 fqdn==1.5.1 -greenlet==3.0.0 +greenlet==3.0.1 hepunits==2.3.2 -identify==2.5.30 +identify==2.5.31 idna==3.4 imagesize==1.4.1 iminuit==2.24.0 importlib-metadata==6.8.0 iniconfig==2.0.0 -ipykernel==6.25.2 +ipykernel==6.26.0 ipympl==0.9.3 -ipython==8.16.1 +ipython==8.17.2 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 -jax==0.4.19 -jaxlib==0.4.19 +jax==0.4.20 +jaxlib==0.4.20 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.1 -jsonschema-specifications==2023.7.1 -jupyter-cache==0.6.1 -jupyter-client==8.4.0 -jupyter-core==5.4.0 -jupyter-events==0.8.0 +jsonschema==4.19.2 +jsonschema-specifications==2023.11.1 +jupyter-cache==1.0.0 +jupyter-client==8.6.0 +jupyter-core==5.5.0 +jupyter-events==0.9.0 jupyter-lsp==2.2.0 -jupyter-server==2.8.0 +jupyter-server==2.10.0 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.7 +jupyterlab==4.0.8 jupyterlab-code-formatter==2.2.1 jupyterlab-myst==2.1.0 jupyterlab-pygments==0.2.2 -jupyterlab-server==2.25.0 +jupyterlab-server==2.25.1 jupyterlab-widgets==3.0.9 kaleido==0.2.1 kiwisolver==1.4.5 @@ -88,7 +87,7 @@ livereload==2.6.3 lxml==4.9.3 markdown-it-py==2.2.0 markupsafe==2.1.3 -matplotlib==3.8.0 +matplotlib==3.8.1 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 @@ -96,45 +95,44 @@ mistune==3.0.2 ml-dtypes==0.3.1 mpmath==1.3.0 mypy-extensions==1.0.0 -myst-nb==0.17.2 -myst-parser==0.18.1 +myst-nb==1.0.0 +myst-parser==1.0.0 nbclient==0.6.8 -nbconvert==7.9.2 +nbconvert==7.11.0 nbformat==5.9.2 nbmake==1.4.6 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook-shim==0.2.3 -numpy==1.26.1 +numpy==1.26.2 opt-einsum==3.3.0 overrides==7.4.0 packaging==23.2 -pandas==2.1.1 +pandas==2.1.3 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.0 pathspec==0.11.2 pexpect==4.8.0 -pickleshare==0.7.5 pillow==10.1.0 platformdirs==3.11.0 -plotly==5.17.0 +plotly==5.18.0 pluggy==1.3.0 pre-commit==3.5.0 -prometheus-client==0.17.1 -prompt-toolkit==3.0.39 +prometheus-client==0.18.0 +prompt-toolkit==3.0.41 psutil==5.9.6 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.14.1 +pydata-sphinx-theme==0.14.3 pygments==2.16.1 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.2 -pytest-xdist==3.3.1 +pytest==7.4.3 +pytest-xdist==3.4.0 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 @@ -142,12 +140,12 @@ pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.1 qrules==0.9.8 -referencing==0.30.2 +referencing==0.31.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rpds-py==0.10.6 -ruff==0.1.1 +rpds-py==0.12.0 +ruff==0.1.5 scipy==1.11.3 send2trash==1.8.2 six==1.16.0 @@ -160,7 +158,7 @@ sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 sphinx-copybutton==0.5.2 sphinx-design==0.5.0 -sphinx-reredirects==0.1.2 +sphinx-reredirects==0.1.3 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.7 sphinxcontrib-bibtex==2.6.1 @@ -170,32 +168,32 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 sphinxcontrib-svg2pdfconverter==1.2.2 -sqlalchemy==2.0.22 +sqlalchemy==2.0.23 stack-data==0.6.3 svgutils==0.3.4 sympy==1.12 tabulate==0.9.0 tenacity==8.2.3 -tensorwaves==0.4.10 -terminado==0.17.1 +tensorwaves==0.4.11 +terminado==0.18.0 tinycss2==1.2.1 tornado==6.3.3 tox==4.11.3 tqdm==4.66.1 -traitlets==5.11.2 +traitlets==5.13.0 types-python-dateutil==2.8.19.14 typing-extensions==4.8.0 tzdata==2023.3 uri-template==1.3.0 -urllib3==2.0.7 -virtualenv==20.24.5 -wcwidth==0.2.8 +urllib3==2.1.0 +virtualenv==20.24.6 +wcwidth==0.2.10 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.4 -wheel==0.41.2 +wheel==0.41.3 widgetsnbextension==4.0.9 -wrapt==1.15.0 +wrapt==1.16.0 zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 21fadabc..8b652179 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -11,26 +11,26 @@ anyio==4.0.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 -asttokens==2.4.0 +asttokens==2.4.1 async-lru==2.0.4 attrs==23.1.0 -babel==2.13.0 +babel==2.13.1 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.10.0 +black==23.11.0 bleach==6.1.0 -cachetools==5.3.1 +cachetools==5.3.2 cairocffi==1.6.1 cairosvg==2.7.1 certifi==2023.7.22 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 -charset-normalizer==3.3.0 +charset-normalizer==3.3.2 click==8.1.7 cloudpickle==3.0.0 colorama==0.4.6 -comm==0.1.4 +comm==0.2.0 contourpy==1.1.1 cssselect2==0.7.0 cycler==0.12.1 @@ -42,21 +42,21 @@ distlib==0.3.7 docutils==0.17.1 exceptiongroup==1.1.3 execnet==2.0.2 -executing==2.0.0 -fastjsonschema==2.18.1 -filelock==3.12.4 -fonttools==4.43.1 +executing==2.0.1 +fastjsonschema==2.19.0 +filelock==3.13.1 +fonttools==4.44.1 fqdn==1.5.1 -greenlet==3.0.0 +greenlet==3.0.1 hepunits==2.3.2 -identify==2.5.30 +identify==2.5.31 idna==3.4 imagesize==1.4.1 iminuit==2.24.0 importlib-metadata==6.8.0 -importlib-resources==6.1.0 +importlib-resources==6.1.1 iniconfig==2.0.0 -ipykernel==6.25.2 +ipykernel==6.26.0 ipympl==0.9.3 ipython==8.12.3 ipython-genutils==0.2.0 @@ -68,20 +68,20 @@ jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.1 -jsonschema-specifications==2023.7.1 +jsonschema==4.19.2 +jsonschema-specifications==2023.11.1 jupyter-cache==0.6.1 -jupyter-client==8.4.0 -jupyter-core==5.4.0 -jupyter-events==0.8.0 +jupyter-client==8.6.0 +jupyter-core==5.5.0 +jupyter-events==0.9.0 jupyter-lsp==2.2.0 -jupyter-server==2.8.0 +jupyter-server==2.10.0 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.7 +jupyterlab==4.0.8 jupyterlab-code-formatter==2.2.1 jupyterlab-myst==2.1.0 jupyterlab-pygments==0.2.2 -jupyterlab-server==2.25.0 +jupyterlab-server==2.25.1 jupyterlab-widgets==3.0.9 kaleido==0.2.1 kiwisolver==1.4.5 @@ -101,7 +101,7 @@ mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.6.8 -nbconvert==7.9.2 +nbconvert==7.11.0 nbformat==5.9.2 nbmake==1.4.6 nest-asyncio==1.5.8 @@ -121,23 +121,23 @@ pickleshare==0.7.5 pillow==10.1.0 pkgutil-resolve-name==1.3.10 platformdirs==3.11.0 -plotly==5.17.0 +plotly==5.18.0 pluggy==1.3.0 pre-commit==3.5.0 -prometheus-client==0.17.1 -prompt-toolkit==3.0.39 +prometheus-client==0.18.0 +prompt-toolkit==3.0.41 psutil==5.9.6 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.14.1 +pydata-sphinx-theme==0.14.3 pygments==2.16.1 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.2 -pytest-xdist==3.3.1 +pytest==7.4.3 +pytest-xdist==3.4.0 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 @@ -145,12 +145,12 @@ pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.1 qrules==0.9.8 -referencing==0.30.2 +referencing==0.31.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rpds-py==0.10.6 -ruff==0.1.1 +rpds-py==0.12.0 +ruff==0.1.5 scipy==1.10.1 send2trash==1.8.2 six==1.16.0 @@ -163,7 +163,7 @@ sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 sphinx-copybutton==0.5.2 sphinx-design==0.5.0 -sphinx-reredirects==0.1.2 +sphinx-reredirects==0.1.3 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.4 sphinxcontrib-bibtex==2.6.1 @@ -173,33 +173,33 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 sphinxcontrib-svg2pdfconverter==1.2.2 -sqlalchemy==2.0.22 +sqlalchemy==2.0.23 stack-data==0.6.3 svgutils==0.3.4 sympy==1.12 tabulate==0.9.0 tenacity==8.2.3 -tensorwaves==0.4.10 -terminado==0.17.1 +tensorwaves==0.4.11 +terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 tornado==6.3.3 tox==4.11.3 tqdm==4.66.1 -traitlets==5.11.2 +traitlets==5.13.0 types-python-dateutil==2.8.19.14 typing-extensions==4.8.0 tzdata==2023.3 uri-template==1.3.0 -urllib3==2.0.7 -virtualenv==20.24.5 -wcwidth==0.2.8 +urllib3==2.1.0 +virtualenv==20.24.6 +wcwidth==0.2.10 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.4 -wheel==0.41.2 +wheel==0.41.3 widgetsnbextension==4.0.9 -wrapt==1.15.0 +wrapt==1.16.0 zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 7ddcbc71..8f6c7a26 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -11,27 +11,26 @@ anyio==4.0.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 -asttokens==2.4.0 +asttokens==2.4.1 async-lru==2.0.4 attrs==23.1.0 -babel==2.13.0 -backcall==0.2.0 +babel==2.13.1 beautifulsoup4==4.12.2 -black==23.10.0 +black==23.11.0 bleach==6.1.0 -cachetools==5.3.1 +cachetools==5.3.2 cairocffi==1.6.1 cairosvg==2.7.1 certifi==2023.7.22 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 -charset-normalizer==3.3.0 +charset-normalizer==3.3.2 click==8.1.7 cloudpickle==3.0.0 colorama==0.4.6 -comm==0.1.4 -contourpy==1.1.1 +comm==0.2.0 +contourpy==1.2.0 cssselect2==0.7.0 cycler==0.12.1 debugpy==1.8.0 @@ -42,46 +41,46 @@ distlib==0.3.7 docutils==0.17.1 exceptiongroup==1.1.3 execnet==2.0.2 -executing==2.0.0 -fastjsonschema==2.18.1 -filelock==3.12.4 -fonttools==4.43.1 +executing==2.0.1 +fastjsonschema==2.19.0 +filelock==3.13.1 +fonttools==4.44.1 fqdn==1.5.1 -greenlet==3.0.0 +greenlet==3.0.1 hepunits==2.3.2 -identify==2.5.30 +identify==2.5.31 idna==3.4 imagesize==1.4.1 iminuit==2.24.0 importlib-metadata==6.8.0 -importlib-resources==6.1.0 +importlib-resources==6.1.1 iniconfig==2.0.0 -ipykernel==6.25.2 +ipykernel==6.26.0 ipympl==0.9.3 -ipython==8.16.1 +ipython==8.17.2 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 -jax==0.4.19 -jaxlib==0.4.19 +jax==0.4.20 +jaxlib==0.4.20 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.1 -jsonschema-specifications==2023.7.1 -jupyter-cache==0.6.1 -jupyter-client==8.4.0 -jupyter-core==5.4.0 -jupyter-events==0.8.0 +jsonschema==4.19.2 +jsonschema-specifications==2023.11.1 +jupyter-cache==1.0.0 +jupyter-client==8.6.0 +jupyter-core==5.5.0 +jupyter-events==0.9.0 jupyter-lsp==2.2.0 -jupyter-server==2.8.0 +jupyter-server==2.10.0 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.7 +jupyterlab==4.0.8 jupyterlab-code-formatter==2.2.1 jupyterlab-myst==2.1.0 jupyterlab-pygments==0.2.2 -jupyterlab-server==2.25.0 +jupyterlab-server==2.25.1 jupyterlab-widgets==3.0.9 kaleido==0.2.1 kiwisolver==1.4.5 @@ -90,7 +89,7 @@ livereload==2.6.3 lxml==4.9.3 markdown-it-py==2.2.0 markupsafe==2.1.3 -matplotlib==3.8.0 +matplotlib==3.8.1 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 @@ -98,45 +97,44 @@ mistune==3.0.2 ml-dtypes==0.3.1 mpmath==1.3.0 mypy-extensions==1.0.0 -myst-nb==0.17.2 -myst-parser==0.18.1 +myst-nb==1.0.0 +myst-parser==1.0.0 nbclient==0.6.8 -nbconvert==7.9.2 +nbconvert==7.11.0 nbformat==5.9.2 nbmake==1.4.6 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook-shim==0.2.3 -numpy==1.26.1 +numpy==1.26.2 opt-einsum==3.3.0 overrides==7.4.0 packaging==23.2 -pandas==2.1.1 +pandas==2.1.3 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.0 pathspec==0.11.2 pexpect==4.8.0 -pickleshare==0.7.5 pillow==10.1.0 platformdirs==3.11.0 -plotly==5.17.0 +plotly==5.18.0 pluggy==1.3.0 pre-commit==3.5.0 -prometheus-client==0.17.1 -prompt-toolkit==3.0.39 +prometheus-client==0.18.0 +prompt-toolkit==3.0.41 psutil==5.9.6 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.14.1 +pydata-sphinx-theme==0.14.3 pygments==2.16.1 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.2 -pytest-xdist==3.3.1 +pytest==7.4.3 +pytest-xdist==3.4.0 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 @@ -144,12 +142,12 @@ pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.1 qrules==0.9.8 -referencing==0.30.2 +referencing==0.31.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rpds-py==0.10.6 -ruff==0.1.1 +rpds-py==0.12.0 +ruff==0.1.5 scipy==1.11.3 send2trash==1.8.2 six==1.16.0 @@ -162,7 +160,7 @@ sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 sphinx-copybutton==0.5.2 sphinx-design==0.5.0 -sphinx-reredirects==0.1.2 +sphinx-reredirects==0.1.3 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.7 sphinxcontrib-bibtex==2.6.1 @@ -172,33 +170,33 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 sphinxcontrib-svg2pdfconverter==1.2.2 -sqlalchemy==2.0.22 +sqlalchemy==2.0.23 stack-data==0.6.3 svgutils==0.3.4 sympy==1.12 tabulate==0.9.0 tenacity==8.2.3 -tensorwaves==0.4.10 -terminado==0.17.1 +tensorwaves==0.4.11 +terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 tornado==6.3.3 tox==4.11.3 tqdm==4.66.1 -traitlets==5.11.2 +traitlets==5.13.0 types-python-dateutil==2.8.19.14 typing-extensions==4.8.0 tzdata==2023.3 uri-template==1.3.0 -urllib3==2.0.7 -virtualenv==20.24.5 -wcwidth==0.2.8 +urllib3==2.1.0 +virtualenv==20.24.6 +wcwidth==0.2.10 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.4 -wheel==0.41.2 +wheel==0.41.3 widgetsnbextension==4.0.9 -wrapt==1.15.0 +wrapt==1.16.0 zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e94e19b3..cde30a5e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,7 +33,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.0 + rev: 0.1.2 hooks: - id: check-dev-files args: @@ -58,8 +58,8 @@ repos: args: - --fix - - repo: https://github.com/psf/black - rev: 23.10.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 23.11.0 hooks: - id: black - id: black-jupyter @@ -67,7 +67,7 @@ repos: types_or: [jupyter] - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.27.0 + rev: 0.27.1 hooks: - id: check-jsonschema name: Check CITATION.cff @@ -80,7 +80,7 @@ repos: pass_filenames: false - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v7.3.2 + rev: v8.0.0 hooks: - id: cspell @@ -121,12 +121,12 @@ repos: metadata.vscode - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.3 + rev: v3.1.0 hooks: - id: prettier - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.332 + rev: v1.1.335 hooks: - id: pyright @@ -138,7 +138,7 @@ repos: - --py38-plus - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.1 + rev: v0.1.5 hooks: - id: ruff args: diff --git a/docs/appendix/benchmark.ipynb b/docs/appendix/benchmark.ipynb index ac7bdacb..93340f6f 100644 --- a/docs/appendix/benchmark.ipynb +++ b/docs/appendix/benchmark.ipynb @@ -1057,12 +1057,10 @@ " ],\n", ")\n", "df = pd.DataFrame(values, index=row_titles, columns=columns)\n", - "df.style.set_table_styles(\n", - " [\n", - " dict(selector=\"th\", props=[(\"text-align\", \"left\")]),\n", - " dict(selector=\"td\", props=[(\"text-align\", \"left\")]),\n", - " ]\n", - ")" + "df.style.set_table_styles([\n", + " dict(selector=\"th\", props=[(\"text-align\", \"left\")]),\n", + " dict(selector=\"td\", props=[(\"text-align\", \"left\")]),\n", + "])" ] } ], diff --git a/docs/appendix/homomorphism.ipynb b/docs/appendix/homomorphism.ipynb index f60d6baa..8456c4f9 100644 --- a/docs/appendix/homomorphism.ipynb +++ b/docs/appendix/homomorphism.ipynb @@ -48,23 +48,19 @@ "\n", "\n", "def Rz(α):\n", - " return Matrix(\n", - " [\n", - " [cos(α), -sin(α), 0],\n", - " [sin(α), cos(α), 0],\n", - " [0, 0, 1],\n", - " ]\n", - " )\n", + " return Matrix([\n", + " [cos(α), -sin(α), 0],\n", + " [sin(α), cos(α), 0],\n", + " [0, 0, 1],\n", + " ])\n", "\n", "\n", "def Ry(α):\n", - " return Matrix(\n", - " [\n", - " [cos(α), 0, sin(α)],\n", - " [0, 1, 0],\n", - " [-sin(α), 0, cos(α)],\n", - " ]\n", - " )\n", + " return Matrix([\n", + " [cos(α), 0, sin(α)],\n", + " [0, 1, 0],\n", + " [-sin(α), 0, cos(α)],\n", + " ])\n", "\n", "\n", "θ, ϕ, χ = symbols(\"theta phi chi\", positive=True)\n", diff --git a/docs/appendix/widget.ipynb b/docs/appendix/widget.ipynb index 9425b6d5..eeb8e7af 100644 --- a/docs/appendix/widget.ipynb +++ b/docs/appendix/widget.ipynb @@ -352,16 +352,14 @@ " button.style.button_color = to_html_color(subsystem_id)\n", " button.on_click(set_coupling_to_zero)\n", " subsystem_buttons.append(button)\n", - " zero_coupling_panel = GridBox(\n", - " [\n", - " all_to_zero,\n", - " HBox(subsystem_buttons),\n", - " GridBox(\n", - " np.reshape(resonance_buttons, (4, 3)).T.flatten().tolist(),\n", - " layout=Layout(grid_template_columns=4 * \"auto \"),\n", - " ),\n", - " ]\n", - " )\n", + " zero_coupling_panel = GridBox([\n", + " all_to_zero,\n", + " HBox(subsystem_buttons),\n", + " GridBox(\n", + " np.reshape(resonance_buttons, (4, 3)).T.flatten().tolist(),\n", + " layout=Layout(grid_template_columns=4 * \"auto \"),\n", + " ),\n", + " ])\n", "\n", " def get_subscript(p):\n", " return f\"{p.name} \\\\to p K^-\" if \"1405\" in p.name else p.name\n", @@ -395,13 +393,11 @@ " layout=Layout(grid_template_columns=3 * \"auto \"),\n", " )\n", " )\n", - " return HBox(\n", - " [\n", - " GridBox([reset_button, reference_selector]),\n", - " Tab(grouped_sliders, titles=[to_unicode(p.name) for p in RESONANCES]),\n", - " zero_coupling_panel,\n", - " ]\n", - " )\n", + " return HBox([\n", + " GridBox([reset_button, reference_selector]),\n", + " Tab(grouped_sliders, titles=[to_unicode(p.name) for p in RESONANCES]),\n", + " zero_coupling_panel,\n", + " ])\n", "\n", "\n", "def create_slider(symbol: sp.Basic, value: float) -> FloatSlider:\n", diff --git a/docs/conf.py b/docs/conf.py index 105b8276..598c61da 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -178,18 +178,16 @@ def get_polarimetry_package_version() -> str: def generate_api() -> None: shutil.rmtree("api", ignore_errors=True) subprocess.call( - " ".join( - [ - "sphinx-apidoc", - "../src/polarimetry/", - "../src/polarimetry/version.py", - "-o api/", - "--force", - "--no-toc", - "--separate", - "--templatedir _templates", - ] - ), + " ".join([ + "sphinx-apidoc", + "../src/polarimetry/", + "../src/polarimetry/version.py", + "-o api/", + "--force", + "--no-toc", + "--separate", + "--templatedir _templates", + ]), shell=True, # noqa: S602 ) @@ -294,15 +292,13 @@ def print(self) -> None: add_module_names = False author = "Mikhail Mikhasenko, Remco de Boer, Miriam Fritsch" autodoc_default_options = { - "exclude-members": ", ".join( - [ - "default_assumptions", - "doit", - "evaluate", - "is_commutative", - "is_extended_real", - ] - ), + "exclude-members": ", ".join([ + "default_assumptions", + "doit", + "evaluate", + "is_commutative", + "is_extended_real", + ]), "members": True, "undoc-members": True, "show-inheritance": True, diff --git a/docs/polarimetry.ipynb b/docs/polarimetry.ipynb index f893b10d..9ced7c33 100644 --- a/docs/polarimetry.ipynb +++ b/docs/polarimetry.ipynb @@ -473,9 +473,9 @@ " tight_layout=True,\n", ")\n", "axes[0].set_ylabel(s2_label)\n", - "I_times_alpha = jnp.array(\n", - " [array * intensity_arrays[0] for array in polarimetry_arrays]\n", - ")\n", + "I_times_alpha = jnp.array([\n", + " array * intensity_arrays[0] for array in polarimetry_arrays\n", + "])\n", "global_min_max = float(jnp.nanmax(jnp.abs(I_times_alpha)))\n", "for ax, z_values, xyz in zip(axes, I_times_alpha, \"xyz\"):\n", " ax.set_title(Rf\"$\\alpha_{xyz} \\cdot I$\")\n", diff --git a/docs/uncertainties.ipynb b/docs/uncertainties.ipynb index c9cc8e6d..4e0be47c 100644 --- a/docs/uncertainties.ipynb +++ b/docs/uncertainties.ipynb @@ -472,12 +472,10 @@ "\n", "\n", "resolution = 200\n", - "POINTS = np.transpose(\n", - " [\n", - " phsp_sample[\"sigma1\"],\n", - " phsp_sample[\"sigma2\"],\n", - " ]\n", - ")\n", + "POINTS = np.transpose([\n", + " phsp_sample[\"sigma1\"],\n", + " phsp_sample[\"sigma2\"],\n", + "])\n", "grid_sample = generate_meshgrid_sample(nominal_model.decay, resolution)\n", "X = np.array(grid_sample[\"sigma1\"])\n", "Y = np.array(grid_sample[\"sigma2\"])" @@ -725,9 +723,9 @@ "for func in nominal_functions.values():\n", " func.update_parameters(nominal_parameters)\n", "nominal_intensity = nominal_functions[\"intensity\"](phsp_sample)\n", - "nominal_polarimetry = jnp.array(\n", - " [nominal_functions[f\"alpha_{i}\"](phsp_sample).real for i in \"xyz\"]\n", - ")\n", + "nominal_polarimetry = jnp.array([\n", + " nominal_functions[f\"alpha_{i}\"](phsp_sample).real for i in \"xyz\"\n", + "])\n", "nominal_polarimetry_norm = jnp.sqrt(jnp.sum(nominal_polarimetry**2, axis=0))" ] }, diff --git a/docs/zz.polarization-fit.ipynb b/docs/zz.polarization-fit.ipynb index 42272a55..3c37fdf6 100644 --- a/docs/zz.polarization-fit.ipynb +++ b/docs/zz.polarization-fit.ipynb @@ -157,9 +157,9 @@ "def interpolate_polarimetry_field(phsp: DataSample, model_id: int) -> jax.Array:\n", " x = PHSP[\"sigma1\"]\n", " y = PHSP[\"sigma2\"]\n", - " return jnp.array(\n", - " [create_interpolated_function(model_id, f\"alpha_{i}\")(x, y) for i in \"xyz\"]\n", - " )\n", + " return jnp.array([\n", + " create_interpolated_function(model_id, f\"alpha_{i}\")(x, y) for i in \"xyz\"\n", + " ])\n", "\n", "\n", "@lru_cache(maxsize=0)\n", @@ -216,26 +216,22 @@ " n_events = len(angle)\n", " ones = jnp.ones(n_events)\n", " zeros = jnp.zeros(n_events)\n", - " return jnp.array(\n", - " [\n", - " [+jnp.cos(angle), -jnp.sin(angle), zeros],\n", - " [+jnp.sin(angle), +jnp.cos(angle), zeros],\n", - " [zeros, zeros, ones],\n", - " ]\n", - " )\n", + " return jnp.array([\n", + " [+jnp.cos(angle), -jnp.sin(angle), zeros],\n", + " [+jnp.sin(angle), +jnp.cos(angle), zeros],\n", + " [zeros, zeros, ones],\n", + " ])\n", "\n", "\n", "def Ry(angle: jax.Array) -> jax.Array:\n", " n_events = len(angle)\n", " ones = jnp.ones(n_events)\n", " zeros = jnp.zeros(n_events)\n", - " return jnp.array(\n", - " [\n", - " [+jnp.cos(angle), zeros, +jnp.sin(angle)],\n", - " [zeros, ones, zeros],\n", - " [-jnp.sin(angle), zeros, +jnp.cos(angle)],\n", - " ]\n", - " )" + " return jnp.array([\n", + " [+jnp.cos(angle), zeros, +jnp.sin(angle)],\n", + " [zeros, ones, zeros],\n", + " [-jnp.sin(angle), zeros, +jnp.cos(angle)],\n", + " ])" ] }, { diff --git a/src/polarimetry/dynamics.py b/src/polarimetry/dynamics.py index add5651c..e5641fcc 100644 --- a/src/polarimetry/dynamics.py +++ b/src/polarimetry/dynamics.py @@ -181,9 +181,9 @@ def evaluate(self) -> sp.Piecewise: 1: 1 / (1 + z**2), 2: 1 / (9 + 3 * z**2 + z**4), } - return sp.Piecewise( - *[(sp.sqrt(expr), sp.Eq(L, l_val)) for l_val, expr in cases.items()] - ) + return sp.Piecewise(*[ + (sp.sqrt(expr), sp.Eq(L, l_val)) for l_val, expr in cases.items() + ]) def _latex(self, printer, *args): z, L = map(printer._print, self.args)