diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 3049639b..6cb7d183 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -5,6 +5,8 @@ # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.10.txt --strip-extras --unsafe-package=pip --unsafe-package=polarimetry --unsafe-package=setuptools # accessible-pygments==0.0.4 +aiohttp==3.9.1 +aiosignal==1.3.1 alabaster==0.7.13 ampform==0.14.6 anyio==4.1.0 @@ -13,10 +15,11 @@ argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.1 async-lru==2.0.4 +async-timeout==4.0.3 attrs==23.1.0 -babel==2.13.1 +babel==2.14.0 beautifulsoup4==4.12.2 -black==23.11.0 +black==23.12.0 bleach==6.1.0 cachetools==5.3.2 cairocffi==1.6.1 @@ -37,7 +40,7 @@ cycler==0.12.1 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 -distlib==0.3.7 +distlib==0.3.8 docstring-to-markdown==0.13 docutils==0.17.1 exceptiongroup==1.2.0 @@ -47,15 +50,16 @@ fastjsonschema==2.19.0 filelock==3.13.1 fonttools==4.46.0 fqdn==1.5.1 +frozenlist==1.4.0 gitdb==4.0.11 gitpython==3.1.40 -greenlet==3.0.1 +greenlet==3.0.2 hepunits==2.3.2 -identify==2.5.32 +identify==2.5.33 idna==3.6 imagesize==1.4.1 iminuit==2.24.0 -importlib-metadata==6.9.0 +importlib-metadata==7.0.0 iniconfig==2.0.0 ipykernel==6.27.1 ipympl==0.9.3 @@ -63,9 +67,9 @@ ipython==8.18.1 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 -isort==5.12.0 -jax==0.4.20 -jaxlib==0.4.20 +isort==5.13.1 +jax==0.4.21 +jaxlib==0.4.21 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 @@ -77,9 +81,9 @@ jupyter-client==8.6.0 jupyter-core==5.5.0 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.11.1 +jupyter-server==2.12.1 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.4.4 +jupyter-server-terminals==0.5.0 jupyterlab==4.0.9 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 @@ -103,11 +107,12 @@ mdurl==0.1.2 mistune==3.0.2 ml-dtypes==0.3.1 mpmath==1.3.0 +multidict==6.0.4 mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==1.0.0 nbclient==0.6.8 -nbconvert==7.11.0 +nbconvert==7.12.0 nbdime==4.0.1 nbformat==5.9.2 nbmake==1.4.6 @@ -118,19 +123,19 @@ numpy==1.26.2 opt-einsum==3.3.0 overrides==7.4.0 packaging==23.2 -pandas==2.1.3 +pandas==2.1.4 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.1 -pathspec==0.11.2 +pathspec==0.12.1 pexpect==4.9.0 pillow==10.1.0 -platformdirs==4.0.0 +platformdirs==4.1.0 plotly==5.18.0 pluggy==1.3.0 -pre-commit==3.5.0 +pre-commit==3.6.0 prometheus-client==0.19.0 -prompt-toolkit==3.0.41 +prompt-toolkit==3.0.43 psutil==5.9.6 ptyprocess==0.7.0 pure-eval==0.2.2 @@ -152,15 +157,15 @@ python-lsp-server==1.9.0 pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 -pyzmq==25.1.1 +pyzmq==25.1.2 qrules==0.9.8 -referencing==0.31.1 +referencing==0.32.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 rpds-py==0.13.2 -ruff==0.1.6 +ruff==0.1.7 scipy==1.11.4 send2trash==1.8.2 six==1.16.0 @@ -199,18 +204,19 @@ tox==4.11.4 tqdm==4.66.1 traitlets==5.14.0 types-python-dateutil==2.8.19.14 -typing-extensions==4.8.0 +typing-extensions==4.9.0 tzdata==2023.3 -ujson==5.8.0 +ujson==5.9.0 uri-template==1.3.0 urllib3==2.1.0 virtualenv==20.25.0 wcwidth==0.2.12 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.4 +websocket-client==1.7.0 wheel==0.42.0 widgetsnbextension==4.0.9 +yarl==1.9.4 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 2d3713f5..b71c0322 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -5,6 +5,8 @@ # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.11.txt --strip-extras --unsafe-package=pip --unsafe-package=polarimetry --unsafe-package=setuptools # accessible-pygments==0.0.4 +aiohttp==3.9.1 +aiosignal==1.3.1 alabaster==0.7.13 ampform==0.14.6 anyio==4.1.0 @@ -14,9 +16,9 @@ arrow==1.3.0 asttokens==2.4.1 async-lru==2.0.4 attrs==23.1.0 -babel==2.13.1 +babel==2.14.0 beautifulsoup4==4.12.2 -black==23.11.0 +black==23.12.0 bleach==6.1.0 cachetools==5.3.2 cairocffi==1.6.1 @@ -37,7 +39,7 @@ cycler==0.12.1 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 -distlib==0.3.7 +distlib==0.3.8 docstring-to-markdown==0.13 docutils==0.17.1 execnet==2.0.2 @@ -46,15 +48,16 @@ fastjsonschema==2.19.0 filelock==3.13.1 fonttools==4.46.0 fqdn==1.5.1 +frozenlist==1.4.0 gitdb==4.0.11 gitpython==3.1.40 -greenlet==3.0.1 +greenlet==3.0.2 hepunits==2.3.2 -identify==2.5.32 +identify==2.5.33 idna==3.6 imagesize==1.4.1 iminuit==2.24.0 -importlib-metadata==6.9.0 +importlib-metadata==7.0.0 iniconfig==2.0.0 ipykernel==6.27.1 ipympl==0.9.3 @@ -62,9 +65,9 @@ ipython==8.18.1 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 -isort==5.12.0 -jax==0.4.20 -jaxlib==0.4.20 +isort==5.13.1 +jax==0.4.21 +jaxlib==0.4.21 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 @@ -76,9 +79,9 @@ jupyter-client==8.6.0 jupyter-core==5.5.0 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.11.1 +jupyter-server==2.12.1 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.4.4 +jupyter-server-terminals==0.5.0 jupyterlab==4.0.9 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 @@ -102,11 +105,12 @@ mdurl==0.1.2 mistune==3.0.2 ml-dtypes==0.3.1 mpmath==1.3.0 +multidict==6.0.4 mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==1.0.0 nbclient==0.6.8 -nbconvert==7.11.0 +nbconvert==7.12.0 nbdime==4.0.1 nbformat==5.9.2 nbmake==1.4.6 @@ -117,19 +121,19 @@ numpy==1.26.2 opt-einsum==3.3.0 overrides==7.4.0 packaging==23.2 -pandas==2.1.3 +pandas==2.1.4 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.1 -pathspec==0.11.2 +pathspec==0.12.1 pexpect==4.9.0 pillow==10.1.0 -platformdirs==4.0.0 +platformdirs==4.1.0 plotly==5.18.0 pluggy==1.3.0 -pre-commit==3.5.0 +pre-commit==3.6.0 prometheus-client==0.19.0 -prompt-toolkit==3.0.41 +prompt-toolkit==3.0.43 psutil==5.9.6 ptyprocess==0.7.0 pure-eval==0.2.2 @@ -151,15 +155,15 @@ python-lsp-server==1.9.0 pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 -pyzmq==25.1.1 +pyzmq==25.1.2 qrules==0.9.8 -referencing==0.31.1 +referencing==0.32.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 rpds-py==0.13.2 -ruff==0.1.6 +ruff==0.1.7 scipy==1.11.4 send2trash==1.8.2 six==1.16.0 @@ -197,18 +201,19 @@ tox==4.11.4 tqdm==4.66.1 traitlets==5.14.0 types-python-dateutil==2.8.19.14 -typing-extensions==4.8.0 +typing-extensions==4.9.0 tzdata==2023.3 -ujson==5.8.0 +ujson==5.9.0 uri-template==1.3.0 urllib3==2.1.0 virtualenv==20.25.0 wcwidth==0.2.12 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.4 +websocket-client==1.7.0 wheel==0.42.0 widgetsnbextension==4.0.9 +yarl==1.9.4 zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt index 3502d306..76d266b9 100644 --- a/.constraints/py3.12.txt +++ b/.constraints/py3.12.txt @@ -5,6 +5,8 @@ # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.12.txt --strip-extras --unsafe-package=pip --unsafe-package=polarimetry --unsafe-package=setuptools # accessible-pygments==0.0.4 +aiohttp==3.9.1 +aiosignal==1.3.1 alabaster==0.7.13 ampform==0.14.6 anyio==4.1.0 @@ -14,9 +16,9 @@ arrow==1.3.0 asttokens==2.4.1 async-lru==2.0.4 attrs==23.1.0 -babel==2.13.1 +babel==2.14.0 beautifulsoup4==4.12.2 -black==23.11.0 +black==23.12.0 bleach==6.1.0 cachetools==5.3.2 cairocffi==1.6.1 @@ -37,7 +39,7 @@ cycler==0.12.1 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 -distlib==0.3.7 +distlib==0.3.8 docstring-to-markdown==0.13 docutils==0.17.1 execnet==2.0.2 @@ -46,15 +48,16 @@ fastjsonschema==2.19.0 filelock==3.13.1 fonttools==4.46.0 fqdn==1.5.1 +frozenlist==1.4.0 gitdb==4.0.11 gitpython==3.1.40 -greenlet==3.0.1 +greenlet==3.0.2 hepunits==2.3.2 -identify==2.5.32 +identify==2.5.33 idna==3.6 imagesize==1.4.1 iminuit==2.24.0 -importlib-metadata==6.9.0 +importlib-metadata==7.0.0 iniconfig==2.0.0 ipykernel==6.27.1 ipympl==0.9.3 @@ -62,9 +65,9 @@ ipython==8.18.1 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 -isort==5.12.0 -jax==0.4.20 -jaxlib==0.4.20 +isort==5.13.1 +jax==0.4.21 +jaxlib==0.4.21 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 @@ -76,9 +79,9 @@ jupyter-client==8.6.0 jupyter-core==5.5.0 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.11.1 +jupyter-server==2.12.1 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.4.4 +jupyter-server-terminals==0.5.0 jupyterlab==4.0.9 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 @@ -102,11 +105,12 @@ mdurl==0.1.2 mistune==3.0.2 ml-dtypes==0.3.1 mpmath==1.3.0 +multidict==6.0.4 mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==1.0.0 nbclient==0.6.8 -nbconvert==7.11.0 +nbconvert==7.12.0 nbdime==4.0.1 nbformat==5.9.2 nbmake==1.4.6 @@ -117,19 +121,19 @@ numpy==1.26.2 opt-einsum==3.3.0 overrides==7.4.0 packaging==23.2 -pandas==2.1.3 +pandas==2.1.4 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.1 -pathspec==0.11.2 +pathspec==0.12.1 pexpect==4.9.0 pillow==10.1.0 -platformdirs==4.0.0 +platformdirs==4.1.0 plotly==5.18.0 pluggy==1.3.0 -pre-commit==3.5.0 +pre-commit==3.6.0 prometheus-client==0.19.0 -prompt-toolkit==3.0.41 +prompt-toolkit==3.0.43 psutil==5.9.6 ptyprocess==0.7.0 pure-eval==0.2.2 @@ -151,15 +155,15 @@ python-lsp-server==1.9.0 pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 -pyzmq==25.1.1 +pyzmq==25.1.2 qrules==0.9.8 -referencing==0.31.1 +referencing==0.32.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 rpds-py==0.13.2 -ruff==0.1.6 +ruff==0.1.7 scipy==1.11.4 send2trash==1.8.2 six==1.16.0 @@ -197,18 +201,19 @@ tox==4.11.4 tqdm==4.66.1 traitlets==5.14.0 types-python-dateutil==2.8.19.14 -typing-extensions==4.8.0 +typing-extensions==4.9.0 tzdata==2023.3 -ujson==5.8.0 +ujson==5.9.0 uri-template==1.3.0 urllib3==2.1.0 virtualenv==20.25.0 wcwidth==0.2.12 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.4 +websocket-client==1.7.0 wheel==0.42.0 widgetsnbextension==4.0.9 +yarl==1.9.4 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 9d9fd875..8b6acac7 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -5,6 +5,8 @@ # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.8.txt --strip-extras --unsafe-package=pip --unsafe-package=polarimetry --unsafe-package=setuptools # accessible-pygments==0.0.4 +aiohttp==3.9.1 +aiosignal==1.3.1 alabaster==0.7.13 ampform==0.14.6 anyio==4.1.0 @@ -13,11 +15,12 @@ argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.1 async-lru==2.0.4 +async-timeout==4.0.3 attrs==23.1.0 -babel==2.13.1 +babel==2.14.0 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.11.0 +black==23.12.0 bleach==6.1.0 cachetools==5.3.2 cairocffi==1.6.1 @@ -38,7 +41,7 @@ cycler==0.12.1 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 -distlib==0.3.7 +distlib==0.3.8 docstring-to-markdown==0.13 docutils==0.17.1 exceptiongroup==1.2.0 @@ -48,15 +51,16 @@ fastjsonschema==2.19.0 filelock==3.13.1 fonttools==4.46.0 fqdn==1.5.1 +frozenlist==1.4.0 gitdb==4.0.11 gitpython==3.1.40 -greenlet==3.0.1 +greenlet==3.0.2 hepunits==2.3.2 -identify==2.5.32 +identify==2.5.33 idna==3.6 imagesize==1.4.1 iminuit==2.24.0 -importlib-metadata==6.9.0 +importlib-metadata==7.0.0 importlib-resources==6.1.1 iniconfig==2.0.0 ipykernel==6.27.1 @@ -65,7 +69,7 @@ ipython==8.12.3 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 -isort==5.12.0 +isort==5.13.1 jax==0.4.13 jaxlib==0.4.13 jedi==0.19.1 @@ -79,9 +83,9 @@ jupyter-client==8.6.0 jupyter-core==5.5.0 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.11.1 +jupyter-server==2.12.1 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.4.4 +jupyter-server-terminals==0.5.0 jupyterlab==4.0.9 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 @@ -105,11 +109,12 @@ mdurl==0.1.2 mistune==3.0.2 ml-dtypes==0.2.0 mpmath==1.3.0 +multidict==6.0.4 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.6.8 -nbconvert==7.11.0 +nbconvert==7.12.0 nbdime==4.0.1 nbformat==5.9.2 nbmake==1.4.6 @@ -124,17 +129,17 @@ pandas==2.0.3 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.1 -pathspec==0.11.2 +pathspec==0.12.1 pexpect==4.9.0 pickleshare==0.7.5 pillow==10.1.0 pkgutil-resolve-name==1.3.10 -platformdirs==4.0.0 +platformdirs==4.1.0 plotly==5.18.0 pluggy==1.3.0 pre-commit==3.5.0 prometheus-client==0.19.0 -prompt-toolkit==3.0.41 +prompt-toolkit==3.0.43 psutil==5.9.6 ptyprocess==0.7.0 pure-eval==0.2.2 @@ -156,15 +161,15 @@ python-lsp-server==1.9.0 pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 -pyzmq==25.1.1 +pyzmq==25.1.2 qrules==0.9.8 -referencing==0.31.1 +referencing==0.32.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 rpds-py==0.13.2 -ruff==0.1.6 +ruff==0.1.7 scipy==1.10.1 send2trash==1.8.2 six==1.16.0 @@ -203,18 +208,19 @@ tox==4.11.4 tqdm==4.66.1 traitlets==5.14.0 types-python-dateutil==2.8.19.14 -typing-extensions==4.8.0 +typing-extensions==4.9.0 tzdata==2023.3 -ujson==5.8.0 +ujson==5.9.0 uri-template==1.3.0 urllib3==2.1.0 virtualenv==20.25.0 wcwidth==0.2.12 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.4 +websocket-client==1.7.0 wheel==0.42.0 widgetsnbextension==4.0.9 +yarl==1.9.4 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 fdbf229b..3cedeea1 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -5,6 +5,8 @@ # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.9.txt --strip-extras --unsafe-package=pip --unsafe-package=polarimetry --unsafe-package=setuptools # accessible-pygments==0.0.4 +aiohttp==3.9.1 +aiosignal==1.3.1 alabaster==0.7.13 ampform==0.14.6 anyio==4.1.0 @@ -13,10 +15,11 @@ argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.1 async-lru==2.0.4 +async-timeout==4.0.3 attrs==23.1.0 -babel==2.13.1 +babel==2.14.0 beautifulsoup4==4.12.2 -black==23.11.0 +black==23.12.0 bleach==6.1.0 cachetools==5.3.2 cairocffi==1.6.1 @@ -37,7 +40,7 @@ cycler==0.12.1 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 -distlib==0.3.7 +distlib==0.3.8 docstring-to-markdown==0.13 docutils==0.17.1 exceptiongroup==1.2.0 @@ -47,15 +50,16 @@ fastjsonschema==2.19.0 filelock==3.13.1 fonttools==4.46.0 fqdn==1.5.1 +frozenlist==1.4.0 gitdb==4.0.11 gitpython==3.1.40 -greenlet==3.0.1 +greenlet==3.0.2 hepunits==2.3.2 -identify==2.5.32 +identify==2.5.33 idna==3.6 imagesize==1.4.1 iminuit==2.24.0 -importlib-metadata==6.9.0 +importlib-metadata==7.0.0 importlib-resources==6.1.1 iniconfig==2.0.0 ipykernel==6.27.1 @@ -64,9 +68,9 @@ ipython==8.18.1 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 -isort==5.12.0 -jax==0.4.20 -jaxlib==0.4.20 +isort==5.13.1 +jax==0.4.21 +jaxlib==0.4.21 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 @@ -78,9 +82,9 @@ jupyter-client==8.6.0 jupyter-core==5.5.0 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.11.1 +jupyter-server==2.12.1 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.4.4 +jupyter-server-terminals==0.5.0 jupyterlab==4.0.9 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 @@ -104,11 +108,12 @@ mdurl==0.1.2 mistune==3.0.2 ml-dtypes==0.3.1 mpmath==1.3.0 +multidict==6.0.4 mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==1.0.0 nbclient==0.6.8 -nbconvert==7.11.0 +nbconvert==7.12.0 nbdime==4.0.1 nbformat==5.9.2 nbmake==1.4.6 @@ -119,19 +124,19 @@ numpy==1.26.2 opt-einsum==3.3.0 overrides==7.4.0 packaging==23.2 -pandas==2.1.3 +pandas==2.1.4 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.1 -pathspec==0.11.2 +pathspec==0.12.1 pexpect==4.9.0 pillow==10.1.0 -platformdirs==4.0.0 +platformdirs==4.1.0 plotly==5.18.0 pluggy==1.3.0 -pre-commit==3.5.0 +pre-commit==3.6.0 prometheus-client==0.19.0 -prompt-toolkit==3.0.41 +prompt-toolkit==3.0.43 psutil==5.9.6 ptyprocess==0.7.0 pure-eval==0.2.2 @@ -153,15 +158,15 @@ python-lsp-server==1.9.0 pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 -pyzmq==25.1.1 +pyzmq==25.1.2 qrules==0.9.8 -referencing==0.31.1 +referencing==0.32.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 rpds-py==0.13.2 -ruff==0.1.6 +ruff==0.1.7 scipy==1.11.4 send2trash==1.8.2 six==1.16.0 @@ -200,18 +205,19 @@ tox==4.11.4 tqdm==4.66.1 traitlets==5.14.0 types-python-dateutil==2.8.19.14 -typing-extensions==4.8.0 +typing-extensions==4.9.0 tzdata==2023.3 -ujson==5.8.0 +ujson==5.9.0 uri-template==1.3.0 urllib3==2.1.0 virtualenv==20.25.0 wcwidth==0.2.12 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.4 +websocket-client==1.7.0 wheel==0.42.0 widgetsnbextension==4.0.9 +yarl==1.9.4 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 3653ed11..9c7d3b42 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,28 +13,8 @@ repos: - id: check-hooks-apply - id: check-useless-excludes - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 - hooks: - - id: check-ast - - id: check-case-conflict - - id: check-json - - id: check-merge-conflict - - id: check-toml - - id: check-vcs-permalinks - - id: check-yaml - - id: debug-statements - - id: end-of-file-fixer - exclude: > - (?x)^( - .*\.bib| - .*\.svg - )$ - - id: mixed-line-ending - - id: trailing-whitespace - - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.6 + rev: 0.1.11 hooks: - id: check-dev-files args: @@ -59,8 +39,28 @@ repos: args: - --fix + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.5.0 + hooks: + - id: check-ast + - id: check-case-conflict + - id: check-json + - id: check-merge-conflict + - id: check-toml + - id: check-vcs-permalinks + - id: check-yaml + - id: debug-statements + - id: end-of-file-fixer + exclude: > + (?x)^( + .*\.bib| + .*\.svg + )$ + - id: mixed-line-ending + - id: trailing-whitespace + - repo: https://github.com/psf/black-pre-commit-mirror - rev: 23.11.0 + rev: 23.12.0 hooks: - id: black - id: black-jupyter @@ -68,7 +68,7 @@ repos: types_or: [jupyter] - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.27.2 + rev: 0.27.3 hooks: - id: check-jsonschema name: Check CITATION.cff @@ -81,7 +81,7 @@ repos: pass_filenames: false - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v8.0.0 + rev: v8.1.1 hooks: - id: cspell @@ -122,12 +122,12 @@ repos: metadata.vscode - repo: https://github.com/pre-commit/mirrors-prettier - rev: v4.0.0-alpha.3 + rev: v4.0.0-alpha.4 hooks: - id: prettier - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.338 + rev: v1.1.339 hooks: - id: pyright @@ -139,7 +139,7 @@ repos: - --py38-plus - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.6 + rev: v0.1.7 hooks: - id: ruff args: @@ -154,5 +154,5 @@ repos: rev: v0.23.1 hooks: - id: toml-sort - args: - - --in-place + args: [--in-place] + exclude: (?x)^(.*(Manifest|Project)\.toml)$ diff --git a/.vscode/settings.json b/.vscode/settings.json index 5ecd9484..9ad5cbc2 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -43,6 +43,7 @@ "github-actions.workflows.pinned.workflows": [".github/workflows/ci.yml"], "julia.NumThreads": "auto", "livePreview.defaultPreviewPath": "docs/_build/html", + "multiDiffEditor.experimental.enabled": true, "notebook.gotoSymbols.showAllSymbols": true, "python.analysis.autoImportCompletions": false, "python.analysis.inlayHints.pytestParameters": true, diff --git a/docs/polarimetry.ipynb b/docs/polarimetry.ipynb index 9ced7c33..f893b10d 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 4e0be47c..64488bc7 100644 --- a/docs/uncertainties.ipynb +++ b/docs/uncertainties.ipynb @@ -723,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 3c37fdf6..fcf8ac77 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", diff --git a/environment.yml b/environment.yml index 5f5e1892..6a055400 100644 --- a/environment.yml +++ b/environment.yml @@ -5,9 +5,7 @@ dependencies: - python==3.8.* - pip>=21.3 # pyproject.toml - pip: - - | - -c .constraints/py3.8.txt - -e .[dev] + - -c .constraints/py3.8.txt -e .[dev] variables: PRETTIER_LEGACY_CLI: "1" PYTHONHASHSEED: 0 diff --git a/src/polarimetry/dynamics.py b/src/polarimetry/dynamics.py index e5641fcc..add5651c 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) diff --git a/tox.ini b/tox.ini index 33820047..14582425 100644 --- a/tox.ini +++ b/tox.ini @@ -74,6 +74,38 @@ setenv = FORCE_COLOR = yes PYTHONHASHSEED = 0 +[testenv:docnblive] +allowlist_externals = + sphinx-autobuild +commands = + sphinx-autobuild \ + --open-browser \ + --re-ignore .*/.ipynb_checkpoints/.* \ + --re-ignore .*/__pycache__/.* \ + --re-ignore .*\.pdf \ + --re-ignore .*\.pkl \ + --re-ignore .*\.png \ + --re-ignore .*\.svg \ + --re-ignore .*\.tmp \ + --re-ignore docs/_build/.* \ + --re-ignore docs/_images/.* \ + --re-ignore docs/_static/export/.* \ + --re-ignore docs/_static/images/.* \ + --re-ignore docs/_static/julia/.* \ + --re-ignore docs/_static/polarimetry.pdf \ + --re-ignore docs/api/.* \ + --re-ignore docs/appendix/export/.* \ + --watch docs \ + --watch src \ + docs/ docs/_build/html +description = + Set up a server to directly preview changes to the HTML pages +passenv = * +setenv = + EXECUTE_NB = yes + FORCE_COLOR = yes + PYTHONHASHSEED = 0 + [testenv:docnb-force] allowlist_externals = sphinx-build