diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 9657e9da..96ec38cf 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -12,13 +12,13 @@ asttokens==2.4.1 astunparse==1.6.3 async-lru==2.0.4 attrs==24.2.0 -babel==2.15.0 +babel==2.16.0 beautifulsoup4==4.12.3 bleach==6.1.0 -cachetools==5.4.0 -cattrs==23.2.3 -certifi==2024.7.4 -cffi==1.17.0 +cachetools==5.5.0 +cattrs==24.1.0 +certifi==2024.8.30 +cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 @@ -26,7 +26,7 @@ click==8.1.7 cloudpickle==3.0.0 colorama==0.4.6 comm==0.2.2 -contourpy==1.2.1 +contourpy==1.3.0 coverage==7.6.1 cycler==0.12.1 debugpy==1.8.5 @@ -38,9 +38,9 @@ docstring-to-markdown==0.15 docutils==0.21.2 exceptiongroup==1.2.2 execnet==2.1.1 -executing==2.0.1 +executing==2.1.0 fastjsonschema==2.20.0 -filelock==3.15.4 +filelock==3.16.0 flatbuffers==24.3.25 fonttools==4.53.1 fqdn==1.5.1 @@ -49,24 +49,24 @@ gitdb==4.0.11 gitpython==3.1.43 google-pasta==0.2.0 graphviz==0.20.3 -greenlet==3.0.3 -grpcio==1.65.4 +greenlet==3.1.0 +grpcio==1.66.1 h11==0.14.0 h5py==3.11.0 hepunits==2.3.4 httpcore==1.0.5 -httpx==0.27.0 +httpx==0.27.2 identify==2.6.0 -idna==3.7 +idna==3.8 imagesize==1.4.1 -iminuit==2.28.0 -importlib-metadata==8.2.0 +iminuit==2.29.1 +importlib-metadata==8.4.0 iniconfig==2.0.0 ipykernel==6.29.5 ipympl==0.9.4 -ipython==8.26.0 +ipython==8.27.0 ipython-genutils==0.2.0 -ipywidgets==8.1.3 +ipywidgets==8.1.5 isoduration==20.11.0 jax==0.4.31 jaxlib==0.4.31 @@ -84,39 +84,38 @@ jupyter-lsp==2.2.5 jupyter-server==2.14.2 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.3 -jupyterlab==4.2.4 -jupyterlab-code-formatter==3.0.1 +jupyterlab==4.2.5 +jupyterlab-code-formatter==3.0.2 jupyterlab-git==0.50.1 jupyterlab-lsp==5.1.0 jupyterlab-myst==2.4.2 jupyterlab-pygments==0.3.0 jupyterlab-server==2.27.3 -jupyterlab-widgets==3.0.11 -keras==3.4.1 -kiwisolver==1.4.5 +jupyterlab-widgets==3.0.13 +keras==3.5.0 +kiwisolver==1.4.7 latexcodec==3.0.0 libclang==18.1.1 -livereload==2.7.0 llvmlite==0.43.0 lsprotocol==2023.0.1 -markdown==3.6 +markdown==3.7 markdown-it-py==3.0.0 markupsafe==2.1.5 -matplotlib==3.9.1.post1 +matplotlib==3.9.2 matplotlib-inline==0.1.7 -mdit-py-plugins==0.4.1 +mdit-py-plugins==0.4.2 mdurl==0.1.2 mistune==3.0.2 ml-dtypes==0.4.0 mpmath==1.3.0 -mypy==1.11.1 +mypy==1.11.2 mypy-extensions==1.0.0 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 +nbdime==4.0.2 nbformat==5.10.4 nbmake==1.5.4 nest-asyncio==1.6.0 @@ -131,11 +130,11 @@ packaging==24.1 pandas==2.2.2 pandocfilters==1.5.1 parso==0.8.4 -particle==0.24.0 +particle==0.25.0 pexpect==4.9.0 phasespace==1.10.3 pillow==10.4.0 -platformdirs==4.2.2 +platformdirs==4.3.2 pluggy==1.5.0 pre-commit==3.8.0 prometheus-client==0.20.0 @@ -149,9 +148,9 @@ pybtex-docutils==1.0.3 pycparser==2.22 pydata-sphinx-theme==0.15.4 pygments==2.18.0 -pyparsing==3.1.2 +pyparsing==3.1.4 pyproject-api==1.7.1 -pytest==8.3.2 +pytest==8.3.3 pytest-cov==5.0.0 pytest-xdist==3.6.1 python-constraint2==2.0.0b5 @@ -159,30 +158,30 @@ python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 python-lsp-ruff==2.2.2 -python-lsp-server==1.11.0 +python-lsp-server==1.12.0 pytoolconfig==1.3.1 pytz==2024.1 pyyaml==6.0.2 -pyzmq==26.1.0 +pyzmq==26.2.0 qrules==0.10.2 referencing==0.35.1 requests==2.32.3 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rich==13.7.1 +rich==13.8.1 rope==1.13.0 rpds-py==0.20.0 -ruff==0.5.6 -scipy==1.14.0 +ruff==0.6.4 +scipy==1.14.1 send2trash==1.8.3 six==1.16.0 smmap==5.0.1 sniffio==1.3.1 snowballstemmer==2.2.0 -soupsieve==2.5 +soupsieve==2.6 sphinx==8.0.2 sphinx-api-relink==0.0.9 -sphinx-autobuild==2024.2.4 +sphinx-autobuild==2024.9.3 sphinx-book-theme==1.1.3 sphinx-codeautolink==0.15.2 sphinx-copybutton==0.5.2 @@ -196,11 +195,12 @@ sphinxcontrib-htmlhelp==2.1.0 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==2.0.0 sphinxcontrib-serializinghtml==2.0.0 -sqlalchemy==2.0.32 +sqlalchemy==2.0.34 stack-data==0.6.3 -sympy==1.13.1 +starlette==0.38.5 +sympy==1.13.2 tabulate==0.9.0 -tensorboard==2.17.0 +tensorboard==2.17.1 tensorboard-data-server==0.7.2 tensorflow==2.17.0 tensorflow-io-gcs-filesystem==0.37.1 @@ -211,25 +211,28 @@ terminado==0.18.1 tinycss2==1.3.0 tomli==2.0.1 tornado==6.4.1 -tox==4.17.0 +tox==4.18.1 tqdm==4.66.5 traitlets==5.14.3 -types-python-dateutil==2.9.0.20240316 +types-python-dateutil==2.9.0.20240906 typing-extensions==4.12.2 tzdata==2024.1 ujson==5.10.0 uri-template==1.3.0 urllib3==2.2.2 -virtualenv==20.26.3 +uvicorn==0.30.6 +virtualenv==20.26.4 +watchfiles==0.24.0 wcwidth==0.2.13 -webcolors==24.6.0 +webcolors==24.8.0 webencodings==0.5.1 websocket-client==1.8.0 -werkzeug==3.0.3 +websockets==13.0.1 +werkzeug==3.0.4 wheel==0.44.0 -widgetsnbextension==4.0.11 +widgetsnbextension==4.0.13 wrapt==1.16.0 -zipp==3.19.2 +zipp==3.20.1 # The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index a49e63ad..bfde1b7d 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -12,13 +12,13 @@ asttokens==2.4.1 astunparse==1.6.3 async-lru==2.0.4 attrs==24.2.0 -babel==2.15.0 +babel==2.16.0 beautifulsoup4==4.12.3 bleach==6.1.0 -cachetools==5.4.0 -cattrs==23.2.3 -certifi==2024.7.4 -cffi==1.17.0 +cachetools==5.5.0 +cattrs==24.1.0 +certifi==2024.8.30 +cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 @@ -26,7 +26,7 @@ click==8.1.7 cloudpickle==3.0.0 colorama==0.4.6 comm==0.2.2 -contourpy==1.2.1 +contourpy==1.3.0 coverage==7.6.1 cycler==0.12.1 debugpy==1.8.5 @@ -37,9 +37,9 @@ dm-tree==0.1.8 docstring-to-markdown==0.15 docutils==0.21.2 execnet==2.1.1 -executing==2.0.1 +executing==2.1.0 fastjsonschema==2.20.0 -filelock==3.15.4 +filelock==3.16.0 flatbuffers==24.3.25 fonttools==4.53.1 fqdn==1.5.1 @@ -48,24 +48,24 @@ gitdb==4.0.11 gitpython==3.1.43 google-pasta==0.2.0 graphviz==0.20.3 -greenlet==3.0.3 -grpcio==1.65.4 +greenlet==3.1.0 +grpcio==1.66.1 h11==0.14.0 h5py==3.11.0 hepunits==2.3.4 httpcore==1.0.5 -httpx==0.27.0 +httpx==0.27.2 identify==2.6.0 -idna==3.7 +idna==3.8 imagesize==1.4.1 -iminuit==2.28.0 -importlib-metadata==8.2.0 +iminuit==2.29.1 +importlib-metadata==8.4.0 iniconfig==2.0.0 ipykernel==6.29.5 ipympl==0.9.4 -ipython==8.26.0 +ipython==8.27.0 ipython-genutils==0.2.0 -ipywidgets==8.1.3 +ipywidgets==8.1.5 isoduration==20.11.0 jax==0.4.31 jaxlib==0.4.31 @@ -83,39 +83,38 @@ jupyter-lsp==2.2.5 jupyter-server==2.14.2 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.3 -jupyterlab==4.2.4 -jupyterlab-code-formatter==3.0.1 +jupyterlab==4.2.5 +jupyterlab-code-formatter==3.0.2 jupyterlab-git==0.50.1 jupyterlab-lsp==5.1.0 jupyterlab-myst==2.4.2 jupyterlab-pygments==0.3.0 jupyterlab-server==2.27.3 -jupyterlab-widgets==3.0.11 -keras==3.4.1 -kiwisolver==1.4.5 +jupyterlab-widgets==3.0.13 +keras==3.5.0 +kiwisolver==1.4.7 latexcodec==3.0.0 libclang==18.1.1 -livereload==2.7.0 llvmlite==0.43.0 lsprotocol==2023.0.1 -markdown==3.6 +markdown==3.7 markdown-it-py==3.0.0 markupsafe==2.1.5 -matplotlib==3.9.1.post1 +matplotlib==3.9.2 matplotlib-inline==0.1.7 -mdit-py-plugins==0.4.1 +mdit-py-plugins==0.4.2 mdurl==0.1.2 mistune==3.0.2 ml-dtypes==0.4.0 mpmath==1.3.0 -mypy==1.11.1 +mypy==1.11.2 mypy-extensions==1.0.0 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 +nbdime==4.0.2 nbformat==5.10.4 nbmake==1.5.4 nest-asyncio==1.6.0 @@ -130,11 +129,11 @@ packaging==24.1 pandas==2.2.2 pandocfilters==1.5.1 parso==0.8.4 -particle==0.24.0 +particle==0.25.0 pexpect==4.9.0 phasespace==1.10.3 pillow==10.4.0 -platformdirs==4.2.2 +platformdirs==4.3.2 pluggy==1.5.0 pre-commit==3.8.0 prometheus-client==0.20.0 @@ -148,9 +147,9 @@ pybtex-docutils==1.0.3 pycparser==2.22 pydata-sphinx-theme==0.15.4 pygments==2.18.0 -pyparsing==3.1.2 +pyparsing==3.1.4 pyproject-api==1.7.1 -pytest==8.3.2 +pytest==8.3.3 pytest-cov==5.0.0 pytest-xdist==3.6.1 python-constraint2==2.0.0b5 @@ -158,30 +157,30 @@ python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 python-lsp-ruff==2.2.2 -python-lsp-server==1.11.0 +python-lsp-server==1.12.0 pytoolconfig==1.3.1 pytz==2024.1 pyyaml==6.0.2 -pyzmq==26.1.0 +pyzmq==26.2.0 qrules==0.10.2 referencing==0.35.1 requests==2.32.3 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rich==13.7.1 +rich==13.8.1 rope==1.13.0 rpds-py==0.20.0 -ruff==0.5.6 -scipy==1.14.0 +ruff==0.6.4 +scipy==1.14.1 send2trash==1.8.3 six==1.16.0 smmap==5.0.1 sniffio==1.3.1 snowballstemmer==2.2.0 -soupsieve==2.5 +soupsieve==2.6 sphinx==8.0.2 sphinx-api-relink==0.0.9 -sphinx-autobuild==2024.2.4 +sphinx-autobuild==2024.9.3 sphinx-book-theme==1.1.3 sphinx-codeautolink==0.15.2 sphinx-copybutton==0.5.2 @@ -195,11 +194,12 @@ sphinxcontrib-htmlhelp==2.1.0 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==2.0.0 sphinxcontrib-serializinghtml==2.0.0 -sqlalchemy==2.0.32 +sqlalchemy==2.0.34 stack-data==0.6.3 -sympy==1.13.1 +starlette==0.38.5 +sympy==1.13.2 tabulate==0.9.0 -tensorboard==2.17.0 +tensorboard==2.17.1 tensorboard-data-server==0.7.2 tensorflow==2.17.0 tensorflow-io-gcs-filesystem==0.37.1 @@ -208,26 +208,30 @@ tensorwaves==0.4.12 termcolor==2.4.0 terminado==0.18.1 tinycss2==1.3.0 +tomli==2.0.1 tornado==6.4.1 -tox==4.17.0 +tox==4.18.1 tqdm==4.66.5 traitlets==5.14.3 -types-python-dateutil==2.9.0.20240316 +types-python-dateutil==2.9.0.20240906 typing-extensions==4.12.2 tzdata==2024.1 ujson==5.10.0 uri-template==1.3.0 urllib3==2.2.2 -virtualenv==20.26.3 +uvicorn==0.30.6 +virtualenv==20.26.4 +watchfiles==0.24.0 wcwidth==0.2.13 -webcolors==24.6.0 +webcolors==24.8.0 webencodings==0.5.1 websocket-client==1.8.0 -werkzeug==3.0.3 +websockets==13.0.1 +werkzeug==3.0.4 wheel==0.44.0 -widgetsnbextension==4.0.11 +widgetsnbextension==4.0.13 wrapt==1.16.0 -zipp==3.19.2 +zipp==3.20.1 # The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt index 2656e481..69471bfb 100644 --- a/.constraints/py3.12.txt +++ b/.constraints/py3.12.txt @@ -12,13 +12,13 @@ asttokens==2.4.1 astunparse==1.6.3 async-lru==2.0.4 attrs==24.2.0 -babel==2.15.0 +babel==2.16.0 beautifulsoup4==4.12.3 bleach==6.1.0 -cachetools==5.4.0 -cattrs==23.2.3 -certifi==2024.7.4 -cffi==1.17.0 +cachetools==5.5.0 +cattrs==24.1.0 +certifi==2024.8.30 +cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 @@ -26,7 +26,7 @@ click==8.1.7 cloudpickle==3.0.0 colorama==0.4.6 comm==0.2.2 -contourpy==1.2.1 +contourpy==1.3.0 coverage==7.6.1 cycler==0.12.1 debugpy==1.8.5 @@ -37,9 +37,9 @@ dm-tree==0.1.8 docstring-to-markdown==0.15 docutils==0.21.2 execnet==2.1.1 -executing==2.0.1 +executing==2.1.0 fastjsonschema==2.20.0 -filelock==3.15.4 +filelock==3.16.0 flatbuffers==24.3.25 fonttools==4.53.1 fqdn==1.5.1 @@ -48,24 +48,24 @@ gitdb==4.0.11 gitpython==3.1.43 google-pasta==0.2.0 graphviz==0.20.3 -greenlet==3.0.3 -grpcio==1.65.4 +greenlet==3.1.0 +grpcio==1.66.1 h11==0.14.0 h5py==3.11.0 hepunits==2.3.4 httpcore==1.0.5 -httpx==0.27.0 +httpx==0.27.2 identify==2.6.0 -idna==3.7 +idna==3.8 imagesize==1.4.1 -iminuit==2.28.0 -importlib-metadata==8.2.0 +iminuit==2.29.1 +importlib-metadata==8.4.0 iniconfig==2.0.0 ipykernel==6.29.5 ipympl==0.9.4 -ipython==8.26.0 +ipython==8.27.0 ipython-genutils==0.2.0 -ipywidgets==8.1.3 +ipywidgets==8.1.5 isoduration==20.11.0 jax==0.4.31 jaxlib==0.4.31 @@ -83,39 +83,38 @@ jupyter-lsp==2.2.5 jupyter-server==2.14.2 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.3 -jupyterlab==4.2.4 -jupyterlab-code-formatter==3.0.1 +jupyterlab==4.2.5 +jupyterlab-code-formatter==3.0.2 jupyterlab-git==0.50.1 jupyterlab-lsp==5.1.0 jupyterlab-myst==2.4.2 jupyterlab-pygments==0.3.0 jupyterlab-server==2.27.3 -jupyterlab-widgets==3.0.11 -keras==3.4.1 -kiwisolver==1.4.5 +jupyterlab-widgets==3.0.13 +keras==3.5.0 +kiwisolver==1.4.7 latexcodec==3.0.0 libclang==18.1.1 -livereload==2.7.0 llvmlite==0.43.0 lsprotocol==2023.0.1 -markdown==3.6 +markdown==3.7 markdown-it-py==3.0.0 markupsafe==2.1.5 -matplotlib==3.9.1.post1 +matplotlib==3.9.2 matplotlib-inline==0.1.7 -mdit-py-plugins==0.4.1 +mdit-py-plugins==0.4.2 mdurl==0.1.2 mistune==3.0.2 ml-dtypes==0.4.0 mpmath==1.3.0 -mypy==1.11.1 +mypy==1.11.2 mypy-extensions==1.0.0 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 +nbdime==4.0.2 nbformat==5.10.4 nbmake==1.5.4 nest-asyncio==1.6.0 @@ -130,11 +129,11 @@ packaging==24.1 pandas==2.2.2 pandocfilters==1.5.1 parso==0.8.4 -particle==0.24.0 +particle==0.25.0 pexpect==4.9.0 phasespace==1.10.3 pillow==10.4.0 -platformdirs==4.2.2 +platformdirs==4.3.2 pluggy==1.5.0 pre-commit==3.8.0 prometheus-client==0.20.0 @@ -148,9 +147,9 @@ pybtex-docutils==1.0.3 pycparser==2.22 pydata-sphinx-theme==0.15.4 pygments==2.18.0 -pyparsing==3.1.2 +pyparsing==3.1.4 pyproject-api==1.7.1 -pytest==8.3.2 +pytest==8.3.3 pytest-cov==5.0.0 pytest-xdist==3.6.1 python-constraint2==2.0.0b5 @@ -158,30 +157,30 @@ python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 python-lsp-ruff==2.2.2 -python-lsp-server==1.11.0 +python-lsp-server==1.12.0 pytoolconfig==1.3.1 pytz==2024.1 pyyaml==6.0.2 -pyzmq==26.1.0 +pyzmq==26.2.0 qrules==0.10.2 referencing==0.35.1 requests==2.32.3 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rich==13.7.1 +rich==13.8.1 rope==1.13.0 rpds-py==0.20.0 -ruff==0.5.6 -scipy==1.14.0 +ruff==0.6.4 +scipy==1.14.1 send2trash==1.8.3 six==1.16.0 smmap==5.0.1 sniffio==1.3.1 snowballstemmer==2.2.0 -soupsieve==2.5 +soupsieve==2.6 sphinx==8.0.2 sphinx-api-relink==0.0.9 -sphinx-autobuild==2024.2.4 +sphinx-autobuild==2024.9.3 sphinx-book-theme==1.1.3 sphinx-codeautolink==0.15.2 sphinx-copybutton==0.5.2 @@ -195,11 +194,12 @@ sphinxcontrib-htmlhelp==2.1.0 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==2.0.0 sphinxcontrib-serializinghtml==2.0.0 -sqlalchemy==2.0.32 +sqlalchemy==2.0.34 stack-data==0.6.3 -sympy==1.13.1 +starlette==0.38.5 +sympy==1.13.2 tabulate==0.9.0 -tensorboard==2.17.0 +tensorboard==2.17.1 tensorboard-data-server==0.7.2 tensorflow==2.17.0 tensorflow-probability==0.24.0 @@ -208,25 +208,28 @@ termcolor==2.4.0 terminado==0.18.1 tinycss2==1.3.0 tornado==6.4.1 -tox==4.17.0 +tox==4.18.1 tqdm==4.66.5 traitlets==5.14.3 -types-python-dateutil==2.9.0.20240316 +types-python-dateutil==2.9.0.20240906 typing-extensions==4.12.2 tzdata==2024.1 ujson==5.10.0 uri-template==1.3.0 urllib3==2.2.2 -virtualenv==20.26.3 +uvicorn==0.30.6 +virtualenv==20.26.4 +watchfiles==0.24.0 wcwidth==0.2.13 -webcolors==24.6.0 +webcolors==24.8.0 webencodings==0.5.1 websocket-client==1.8.0 -werkzeug==3.0.3 +websockets==13.0.1 +werkzeug==3.0.4 wheel==0.44.0 -widgetsnbextension==4.0.11 +widgetsnbextension==4.0.13 wrapt==1.16.0 -zipp==3.19.2 +zipp==3.20.1 # The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 932bbacb..dae167c3 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -12,14 +12,14 @@ asttokens==2.4.1 astunparse==1.6.3 async-lru==2.0.4 attrs==24.2.0 -babel==2.15.0 +babel==2.16.0 backcall==0.2.0 beautifulsoup4==4.12.3 bleach==6.1.0 -cachetools==5.4.0 -cattrs==23.2.3 -certifi==2024.7.4 -cffi==1.17.0 +cachetools==5.5.0 +cattrs==24.1.0 +certifi==2024.8.30 +cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 @@ -39,38 +39,38 @@ docstring-to-markdown==0.15 docutils==0.17.1 exceptiongroup==1.2.2 execnet==2.1.1 -executing==2.0.1 +executing==2.1.0 fastjsonschema==2.20.0 -filelock==3.15.4 +filelock==3.16.0 flatbuffers==24.3.25 fonttools==4.53.1 fqdn==1.5.1 gast==0.4.0 gitdb==4.0.11 gitpython==3.1.43 -google-auth==2.33.0 +google-auth==2.34.0 google-auth-oauthlib==0.4.6 google-pasta==0.2.0 graphviz==0.20.3 -greenlet==3.0.3 -grpcio==1.65.4 +greenlet==3.1.0 +grpcio==1.66.1 h11==0.14.0 h5py==3.11.0 hepunits==2.3.4 httpcore==1.0.5 -httpx==0.27.0 +httpx==0.27.2 identify==2.6.0 -idna==3.7 +idna==3.8 imagesize==1.4.1 iminuit==2.27.0 -importlib-metadata==8.2.0 -importlib-resources==6.4.0 +importlib-metadata==8.4.0 +importlib-resources==6.4.5 iniconfig==2.0.0 ipykernel==6.29.5 ipympl==0.9.3 ipython==8.12.3 ipython-genutils==0.2.0 -ipywidgets==8.1.3 +ipywidgets==8.1.5 isoduration==20.11.0 jax==0.4.13 jaxlib==0.4.13 @@ -88,22 +88,22 @@ jupyter-lsp==2.2.5 jupyter-server==2.14.2 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.3 -jupyterlab==4.2.4 -jupyterlab-code-formatter==3.0.1 +jupyterlab==4.2.5 +jupyterlab-code-formatter==3.0.2 jupyterlab-git==0.50.1 jupyterlab-lsp==5.1.0 jupyterlab-myst==2.4.2 jupyterlab-pygments==0.3.0 jupyterlab-server==2.27.3 -jupyterlab-widgets==3.0.11 +jupyterlab-widgets==3.0.13 keras==2.11.0 -kiwisolver==1.4.5 +kiwisolver==1.4.7 latexcodec==3.0.0 libclang==18.1.1 livereload==2.7.0 llvmlite==0.41.1 lsprotocol==2023.0.1 -markdown==3.6 +markdown==3.7 markdown-it-py==2.2.0 markupsafe==2.1.5 matplotlib==3.7.5 @@ -113,13 +113,13 @@ mdurl==0.1.2 mistune==3.0.2 ml-dtypes==0.2.0 mpmath==1.3.0 -mypy==1.11.1 +mypy==1.11.2 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.6.8 nbconvert==7.16.4 -nbdime==4.0.1 +nbdime==4.0.2 nbformat==5.10.4 nbmake==1.5.4 nest-asyncio==1.6.0 @@ -134,13 +134,13 @@ packaging==24.1 pandas==2.0.3 pandocfilters==1.5.1 parso==0.8.4 -particle==0.24.0 +particle==0.25.0 pexpect==4.9.0 phasespace==1.9.0 pickleshare==0.7.5 pillow==10.4.0 pkgutil-resolve-name==1.3.10 -platformdirs==4.2.2 +platformdirs==4.3.2 pluggy==1.5.0 pre-commit==3.5.0 prometheus-client==0.20.0 @@ -149,16 +149,16 @@ protobuf==3.19.6 psutil==6.0.0 ptyprocess==0.7.0 pure-eval==0.2.3 -pyasn1==0.6.0 -pyasn1-modules==0.4.0 +pyasn1==0.6.1 +pyasn1-modules==0.4.1 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.22 pydata-sphinx-theme==0.14.4 pygments==2.18.0 -pyparsing==3.1.2 +pyparsing==3.1.4 pyproject-api==1.7.1 -pytest==8.3.2 +pytest==8.3.3 pytest-cov==5.0.0 pytest-xdist==3.6.1 python-constraint2==2.0.0b5 @@ -166,11 +166,11 @@ python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 python-lsp-ruff==2.2.2 -python-lsp-server==1.11.0 +python-lsp-server==1.12.0 pytoolconfig==1.3.1 pytz==2024.1 pyyaml==6.0.2 -pyzmq==26.1.0 +pyzmq==26.2.0 qrules==0.10.2 referencing==0.35.1 requests==2.32.3 @@ -180,14 +180,14 @@ rfc3986-validator==0.1.1 rope==1.13.0 rpds-py==0.20.0 rsa==4.9 -ruff==0.5.6 +ruff==0.6.4 scipy==1.10.1 send2trash==1.8.3 six==1.16.0 smmap==5.0.1 sniffio==1.3.1 snowballstemmer==2.2.0 -soupsieve==2.5 +soupsieve==2.6 sphinx==5.3.0 sphinx-api-relink==0.0.9 sphinx-autobuild==2021.3.14 @@ -204,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.32 +sqlalchemy==2.0.34 stack-data==0.6.3 -sympy==1.13.1 +sympy==1.13.2 tabulate==0.9.0 tensorboard==2.11.2 tensorboard-data-server==0.6.1 @@ -221,25 +221,25 @@ terminado==0.18.1 tinycss2==1.3.0 tomli==2.0.1 tornado==6.4.1 -tox==4.17.0 +tox==4.18.1 tqdm==4.66.5 traitlets==5.14.3 -types-python-dateutil==2.9.0.20240316 +types-python-dateutil==2.9.0.20240906 typing-extensions==4.12.2 tzdata==2024.1 ujson==5.10.0 uri-template==1.3.0 urllib3==2.2.2 -virtualenv==20.26.3 +virtualenv==20.26.4 wcwidth==0.2.13 -webcolors==24.6.0 +webcolors==24.8.0 webencodings==0.5.1 websocket-client==1.8.0 -werkzeug==3.0.3 +werkzeug==3.0.4 wheel==0.44.0 -widgetsnbextension==4.0.11 +widgetsnbextension==4.0.13 wrapt==1.16.0 -zipp==3.19.2 +zipp==3.20.1 # The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 6b68097b..059f5a26 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -12,13 +12,13 @@ asttokens==2.4.1 astunparse==1.6.3 async-lru==2.0.4 attrs==24.2.0 -babel==2.15.0 +babel==2.16.0 beautifulsoup4==4.12.3 bleach==6.1.0 -cachetools==5.4.0 -cattrs==23.2.3 -certifi==2024.7.4 -cffi==1.17.0 +cachetools==5.5.0 +cattrs==24.1.0 +certifi==2024.8.30 +cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 @@ -26,7 +26,7 @@ click==8.1.7 cloudpickle==3.0.0 colorama==0.4.6 comm==0.2.2 -contourpy==1.2.1 +contourpy==1.3.0 coverage==7.6.1 cycler==0.12.1 debugpy==1.8.5 @@ -38,9 +38,9 @@ docstring-to-markdown==0.15 docutils==0.21.2 exceptiongroup==1.2.2 execnet==2.1.1 -executing==2.0.1 +executing==2.1.0 fastjsonschema==2.20.0 -filelock==3.15.4 +filelock==3.16.0 flatbuffers==24.3.25 fonttools==4.53.1 fqdn==1.5.1 @@ -49,25 +49,25 @@ gitdb==4.0.11 gitpython==3.1.43 google-pasta==0.2.0 graphviz==0.20.3 -greenlet==3.0.3 -grpcio==1.65.4 +greenlet==3.1.0 +grpcio==1.66.1 h11==0.14.0 h5py==3.11.0 hepunits==2.3.4 httpcore==1.0.5 -httpx==0.27.0 +httpx==0.27.2 identify==2.6.0 -idna==3.7 +idna==3.8 imagesize==1.4.1 -iminuit==2.28.0 -importlib-metadata==8.2.0 -importlib-resources==6.4.0 +iminuit==2.29.1 +importlib-metadata==8.4.0 +importlib-resources==6.4.5 iniconfig==2.0.0 ipykernel==6.29.5 ipympl==0.9.4 ipython==8.18.1 ipython-genutils==0.2.0 -ipywidgets==8.1.3 +ipywidgets==8.1.5 isoduration==20.11.0 jax==0.4.30 jaxlib==0.4.30 @@ -85,39 +85,38 @@ jupyter-lsp==2.2.5 jupyter-server==2.14.2 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.3 -jupyterlab==4.2.4 -jupyterlab-code-formatter==3.0.1 +jupyterlab==4.2.5 +jupyterlab-code-formatter==3.0.2 jupyterlab-git==0.50.1 jupyterlab-lsp==5.1.0 jupyterlab-myst==2.4.2 jupyterlab-pygments==0.3.0 jupyterlab-server==2.27.3 -jupyterlab-widgets==3.0.11 -keras==3.4.1 -kiwisolver==1.4.5 +jupyterlab-widgets==3.0.13 +keras==3.5.0 +kiwisolver==1.4.7 latexcodec==3.0.0 libclang==18.1.1 -livereload==2.7.0 llvmlite==0.43.0 lsprotocol==2023.0.1 -markdown==3.6 +markdown==3.7 markdown-it-py==3.0.0 markupsafe==2.1.5 -matplotlib==3.9.1.post1 +matplotlib==3.9.2 matplotlib-inline==0.1.7 -mdit-py-plugins==0.4.1 +mdit-py-plugins==0.4.2 mdurl==0.1.2 mistune==3.0.2 ml-dtypes==0.4.0 mpmath==1.3.0 -mypy==1.11.1 +mypy==1.11.2 mypy-extensions==1.0.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 +nbdime==4.0.2 nbformat==5.10.4 nbmake==1.5.4 nest-asyncio==1.6.0 @@ -132,11 +131,11 @@ packaging==24.1 pandas==2.2.2 pandocfilters==1.5.1 parso==0.8.4 -particle==0.24.0 +particle==0.25.0 pexpect==4.9.0 phasespace==1.10.3 pillow==10.4.0 -platformdirs==4.2.2 +platformdirs==4.3.2 pluggy==1.5.0 pre-commit==3.8.0 prometheus-client==0.20.0 @@ -150,9 +149,9 @@ pybtex-docutils==1.0.3 pycparser==2.22 pydata-sphinx-theme==0.15.4 pygments==2.18.0 -pyparsing==3.1.2 +pyparsing==3.1.4 pyproject-api==1.7.1 -pytest==8.3.2 +pytest==8.3.3 pytest-cov==5.0.0 pytest-xdist==3.6.1 python-constraint2==2.0.0b5 @@ -160,30 +159,30 @@ python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 python-lsp-ruff==2.2.2 -python-lsp-server==1.11.0 +python-lsp-server==1.12.0 pytoolconfig==1.3.1 pytz==2024.1 pyyaml==6.0.2 -pyzmq==26.1.0 +pyzmq==26.2.0 qrules==0.10.2 referencing==0.35.1 requests==2.32.3 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rich==13.7.1 +rich==13.8.1 rope==1.13.0 rpds-py==0.20.0 -ruff==0.5.6 +ruff==0.6.4 scipy==1.13.1 send2trash==1.8.3 six==1.16.0 smmap==5.0.1 sniffio==1.3.1 snowballstemmer==2.2.0 -soupsieve==2.5 +soupsieve==2.6 sphinx==7.4.7 sphinx-api-relink==0.0.9 -sphinx-autobuild==2024.2.4 +sphinx-autobuild==2024.9.3 sphinx-book-theme==1.1.3 sphinx-codeautolink==0.15.2 sphinx-copybutton==0.5.2 @@ -197,11 +196,12 @@ sphinxcontrib-htmlhelp==2.1.0 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==2.0.0 sphinxcontrib-serializinghtml==2.0.0 -sqlalchemy==2.0.32 +sqlalchemy==2.0.34 stack-data==0.6.3 -sympy==1.13.1 +starlette==0.38.5 +sympy==1.13.2 tabulate==0.9.0 -tensorboard==2.17.0 +tensorboard==2.17.1 tensorboard-data-server==0.7.2 tensorflow==2.17.0 tensorflow-io-gcs-filesystem==0.37.1 @@ -212,25 +212,28 @@ terminado==0.18.1 tinycss2==1.3.0 tomli==2.0.1 tornado==6.4.1 -tox==4.17.0 +tox==4.18.1 tqdm==4.66.5 traitlets==5.14.3 -types-python-dateutil==2.9.0.20240316 +types-python-dateutil==2.9.0.20240906 typing-extensions==4.12.2 tzdata==2024.1 ujson==5.10.0 uri-template==1.3.0 urllib3==2.2.2 -virtualenv==20.26.3 +uvicorn==0.30.6 +virtualenv==20.26.4 +watchfiles==0.24.0 wcwidth==0.2.13 -webcolors==24.6.0 +webcolors==24.8.0 webencodings==0.5.1 websocket-client==1.8.0 -werkzeug==3.0.3 +websockets==13.0.1 +werkzeug==3.0.4 wheel==0.44.0 -widgetsnbextension==4.0.11 +widgetsnbextension==4.0.13 wrapt==1.16.0 -zipp==3.19.2 +zipp==3.20.1 # The following packages were excluded from the output: # setuptools diff --git a/.cspell.json b/.cspell.json index 15846a25..40413434 100644 --- a/.cspell.json +++ b/.cspell.json @@ -19,8 +19,9 @@ "*particle*.*ml", ".constraints/*.txt", ".editorconfig", + ".envrc", + ".gitattributes", ".gitignore", - ".gitpod.*", ".pre-commit-config.yaml", ".prettierignore", ".readthedocs.yml", diff --git a/.envrc b/.envrc index cce3aa58..e1d415a5 100644 --- a/.envrc +++ b/.envrc @@ -1 +1,10 @@ -layout anaconda +if [ -e .venv ]; then + source .venv/bin/activate +elif [ -e venv ]; then + source venv/bin/activate +elif [ -e .pixi ]; then + watch_file pixi.lock + eval "$(pixi shell-hook)" +else + layout anaconda +fi diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..18f6c7e9 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +pixi.lock linguist-language=YAML linguist-generated=true diff --git a/.gitignore b/.gitignore index 86b251c6..2b89bbba 100644 --- a/.gitignore +++ b/.gitignore @@ -31,6 +31,7 @@ typings/ # Virtual environments *venv/ +.pixi/ .tox/ pyvenv*/ diff --git a/.gitpod.yml b/.gitpod.yml deleted file mode 100644 index 2e3ec8ef..00000000 --- a/.gitpod.yml +++ /dev/null @@ -1,36 +0,0 @@ -tasks: - - init: pyenv local 3.9 - - init: pip install -c .constraints/py3.9.txt -e .[dev] - -github: - prebuilds: - master: true - branches: false - pullRequests: true - pullRequestsFromForks: true - addComment: false - addBadge: false - addLabel: false - -vscode: - extensions: - - charliermarsh.ruff - - eamodio.gitlens - - editorconfig.editorconfig - - esbenp.prettier-vscode - - executablebookproject.myst-highlight - - github.vscode-github-actions - - github.vscode-pull-request-github - - ms-python.python - - ms-python.mypy-type-checker - - ms-python.vscode-pylance - - ms-toolsai.vscode-jupyter-cell-tags - - ms-vscode.live-server - - ms-vsliveshare.vsliveshare - - oijaz.unicode-latex - - redhat.vscode-yaml - - soulcode.vscode-unwanted-extensions - - stkb.rewrap - - streetsidesoftware.code-spell-checker - - tamasfe.even-better-toml - - yzhang.markdown-all-in-one diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e499ff84..92afb790 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,9 +3,7 @@ ci: autoupdate_schedule: quarterly # already done by requirements-cron.yml skip: - mypy - - prettier - pyright - - taplo repos: - repo: meta @@ -13,15 +11,29 @@ repos: - id: check-hooks-apply - id: check-useless-excludes + - repo: https://github.com/ComPWA/policy + rev: 0.4.0 + hooks: + - id: check-dev-files + args: + - --doc-apt-packages=graphviz + - --github-pages + - --no-prettierrc + - --pin-requirements=bimonthly + - --repo-name=ampform-dpd + - --repo-title=AmpForm-DPD + - id: colab-toc-visible + - id: remove-empty-tags + - repo: https://github.com/kynan/nbstripout rev: 0.7.1 hooks: - id: nbstripout args: + - --drop-empty-cells - --extra-keys - | cell.attachments - cell.id cell.metadata.code_folding cell.metadata.editable cell.metadata.id @@ -41,22 +53,8 @@ repos: metadata.varInspector metadata.vscode - - repo: https://github.com/ComPWA/policy - rev: 0.3.18 - hooks: - - id: check-dev-files - args: - - --doc-apt-packages=graphviz - - --github-pages - - --no-prettierrc - - --pin-requirements=bimonthly - - --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.5.6 + rev: v0.6.4 hooks: - id: ruff args: [--fix] @@ -79,15 +77,15 @@ repos: - id: mixed-line-ending - id: trailing-whitespace - - repo: https://github.com/pre-commit/mirrors-prettier - rev: v4.0.0-alpha.8 + - repo: https://github.com/ComPWA/prettier-pre-commit + rev: v3.3.3 hooks: - id: prettier - - repo: https://github.com/ComPWA/mirrors-taplo - rev: v0.8.1 + - repo: https://github.com/ComPWA/taplo-pre-commit + rev: v0.9.3 hooks: - - id: taplo + - id: taplo-format - repo: https://github.com/pappasam/toml-sort rev: v0.23.1 @@ -97,12 +95,12 @@ repos: - --in-place - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v8.13.1 + rev: v8.13.3 hooks: - id: cspell - repo: https://github.com/editorconfig-checker/editorconfig-checker.python - rev: 2.7.3 + rev: 3.0.3 hooks: - id: editorconfig-checker name: editorconfig @@ -123,6 +121,6 @@ repos: - python - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.374 + rev: v1.1.379 hooks: - id: pyright diff --git a/.vscode/extensions.json b/.vscode/extensions.json index d528453c..dd8bb212 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -7,8 +7,9 @@ "executablebookproject.myst-highlight", "github.vscode-github-actions", "github.vscode-pull-request-github", - "ms-python.python", + "mhutchie.git-graph", "ms-python.mypy-type-checker", + "ms-python.python", "ms-python.vscode-pylance", "ms-toolsai.vscode-jupyter-cell-tags", "ms-vscode.live-server", diff --git a/.vscode/settings.json b/.vscode/settings.json index 54d6a8cc..8d5bc234 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -34,7 +34,8 @@ "diffEditor.experimental.showMoves": true, "editor.formatOnSave": true, "files.associations": { - "**/.constraints/py*.txt": "pip-requirements" + "**/.constraints/py*.txt": "pip-requirements", + "**/pixi.lock": "yaml" }, "files.eol": "\n", "github-actions.workflows.pinned.workflows": [".github/workflows/ci.yml"], diff --git a/README.md b/README.md index 823e1ec2..b5acac33 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,6 @@ [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/ComPWA/ampform-dpd/main.svg)](https://results.pre-commit.ci/latest/github/ComPWA/ampform-dpd/main) [![Test coverage](https://codecov.io/gh/ComPWA/ampform-dpd/branch/main/graph/badge.svg)](https://codecov.io/gh/ComPWA/ampform-dpd) -[![GitPod](https://img.shields.io/badge/gitpod-open-blue?logo=gitpod)](https://gitpod.io/#https://github.com/ComPWA/ampform-dpd) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier) [![Spelling checked](https://img.shields.io/badge/cspell-checked-brightgreen.svg)](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell) [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) diff --git a/docs/index.md b/docs/index.md index 17defe25..9f4be504 100644 --- a/docs/index.md +++ b/docs/index.md @@ -139,6 +139,7 @@ Notice the general structure: If $k=1$, we have $\hat\theta_{k(1)}=0$, so the Wigner $d$ function for the production isobar reduces to a Kronecker delta, $d^J_{\nu,\tau-\lambda'_k}\!\left(\hat\theta_{k(1)}\right) = \delta_{\nu,\tau-\lambda'_k}$. [^1]: Alternatively, one can sum over all resonances themselves, so that one has a dynamic function $X_\mathcal{R}(\sigma_k)$ for each resonance $\mathcal{R}$ in subsystem $k$. + [^2]: See also {cite}`JPAC:2021rxu`, Section 2.1. Equation {eq}`aligned-amplitude` is written in terms of _helicity_ couplings, but can be rewritten in terms of _$LS$ couplings_, using diff --git a/environment.yml b/environment.yml index ec90afd9..d262623b 100644 --- a/environment.yml +++ b/environment.yml @@ -8,5 +8,4 @@ dependencies: - pip: - -c .constraints/py3.9.txt -e .[dev] variables: - PRETTIER_LEGACY_CLI: "1" PYTHONHASHSEED: 0 diff --git a/pyproject.toml b/pyproject.toml index 08cd339c..c07b5489 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -135,6 +135,8 @@ namespaces = false where = ["src"] [tool.setuptools_scm] +local_scheme = "no-local-version" +version_scheme = "post-release" write_to = "src/ampform_dpd/version.py" [tool.mypy] @@ -156,6 +158,109 @@ disallow_incomplete_defs = false disallow_untyped_defs = false module = ["tests.*"] +[tool.pixi.project] +channels = ["conda-forge"] +platforms = ["linux-64"] + +[tool.pixi.activation.env] +PRETTIER_LEGACY_CLI = "1" +PYTHONHASHSEED = "0" + +[tool.pixi.dependencies] +graphviz = "*" +python = "3.9.*" + +[tool.pixi.environments] +default = {features = [ + "dev", + "doc", + "jax", + "jupyter", + "numba", + "sty", + "tensorflow", + "test", + "tf", + "types", +]} + +[tool.pixi.feature.dev.tasks.ci] +depends_on = ["cov", "docnb", "linkcheck", "sty"] + +[tool.pixi.feature.dev.tasks.cov] +cmd = """ +pytest src tests \ + --cov-fail-under=50 \ + --cov-report=html \ + --cov-report=xml \ + --cov=ampform_dpd +""" + +[tool.pixi.feature.dev.tasks.doc] +cmd = """ +sphinx-build \ + --builder html \ + --fail-on-warning \ + --keep-going \ + docs/ docs/_build/html +""" +env = {FORCE_COLOR = "yes"} + +[tool.pixi.feature.dev.tasks.doclive] +cmd = """ +sphinx-autobuild \ + --open-browser \ + --re-ignore '.*/__pycache__/.*' \ + --re-ignore '.*/.ipynb_checkpoints/.*' \ + --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/api/.*' \ + --re-ignore 'docs/export/.*' \ + --watch docs \ + --watch src \ + docs/ docs/_build/html +""" +env = {FORCE_COLOR = "yes"} + +[tool.pixi.feature.dev.tasks.docnb] +cmd = "pixi run doc" +env = {EXECUTE_NB = "yes", FORCE_COLOR = "yes"} + +[tool.pixi.feature.dev.tasks.docnb-force] +cmd = "pixi run doc" +env = {FORCE_COLOR = "yes", FORCE_EXECUTE_NB = "yes"} + +[tool.pixi.feature.dev.tasks.docnblive] +cmd = "pixi run doclive" +env = {EXECUTE_NB = "yes", FORCE_COLOR = "yes"} + +[tool.pixi.feature.dev.tasks.linkcheck] +cmd = """ +sphinx-build \ + --builder linkcheck \ + --show-traceback \ + docs/ docs/_build/linkcheck +""" +env = {FORCE_COLOR = "yes"} + +[tool.pixi.feature.dev.tasks.nb] +cmd = "pytest --nbmake --nbmake-timeout=3600 docs" + +[tool.pixi.feature.dev.tasks.sty] +cmd = "pre-commit run -a" +env = {SKIP = "pyright"} + +[tool.pixi.feature.dev.tasks.tests] +cmd = "pytest" + +[tool.pixi.pypi-dependencies] +ampform-dpd = {path = ".", editable = true} + [tool.pyright] reportArgumentType = false reportAssignmentType = false @@ -221,7 +326,6 @@ src = [ "src", "tests", ] -target-version = "py38" [tool.ruff.format] docstring-code-format = true @@ -361,6 +465,5 @@ sort_first = [ "tool.setuptools", "tool.setuptools_scm", ] -sort_table_keys = true spaces_indent_inline_array = 4 trailing_comma_inline_array = true diff --git a/tox.ini b/tox.ini index bc687031..d4b75d28 100644 --- a/tox.ini +++ b/tox.ini @@ -34,7 +34,11 @@ description = allowlist_externals = sphinx-build commands = - sphinx-build -nW --keep-going -b html docs/ docs/_build/html + sphinx-build \ + --builder html \ + --fail-on-warning \ + --keep-going \ + docs/ docs/_build/html description = Build documentation with Sphinx passenv = * @@ -73,7 +77,11 @@ setenv = allowlist_externals = sphinx-build commands = - sphinx-build -nW --keep-going -b html docs/ docs/_build/html + sphinx-build \ + --fail-on-warning \ + --keep-going \ + --builder html \ + docs/ docs/_build/html description = Execute Jupyter notebooks and build documentation with Sphinx passenv = * @@ -88,10 +96,10 @@ allowlist_externals = commands = sphinx-autobuild \ --open-browser \ - --re-ignore .*/.ipynb_checkpoints/.* \ --re-ignore .*/__pycache__/.* \ - --re-ignore .*\.pkl \ + --re-ignore .*/.ipynb_checkpoints/.* \ --re-ignore .*\.pdf \ + --re-ignore .*\.pkl \ --re-ignore .*\.png \ --re-ignore .*\.svg \ --re-ignore .*\.tmp \ @@ -114,7 +122,11 @@ setenv = allowlist_externals = sphinx-build commands = - sphinx-build -nW --keep-going -b html docs/ docs/_build/html + sphinx-build \ + --builder html \ + --fail-on-warning \ + --keep-going \ + docs/ docs/_build/html description = Execute Jupyter notebooks and build documentation with Sphinx setenv = @@ -138,8 +150,8 @@ allowlist_externals = sphinx-build commands = sphinx-build \ - -T \ - -b linkcheck \ + --builder linkcheck \ + --show-traceback \ docs/ docs/_build/linkcheck description = Check external links in the documentation (requires internet connection)