From 3744522dd8319308612d71f71ee34968b4168613 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Mon, 24 Jun 2024 09:41:40 +0200 Subject: [PATCH] MAINT: update pip constraints and pre-commit (#270) * MAINT: implement autofixes from pre-commit.com hooks * MAINT: simplify RTD `pip` installation * MAINT: sort keys in RTD config --------- Co-authored-by: GitHub Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .constraints/py3.10.txt | 82 ++++++++++++++++++++--------------------- .constraints/py3.11.txt | 82 ++++++++++++++++++++--------------------- .constraints/py3.12.txt | 82 ++++++++++++++++++++--------------------- .constraints/py3.7.txt | 28 +++++++------- .constraints/py3.8.txt | 72 ++++++++++++++++++------------------ .constraints/py3.9.txt | 80 ++++++++++++++++++++-------------------- .pre-commit-config.yaml | 10 ++--- .readthedocs.yml | 21 +++++------ 8 files changed, 228 insertions(+), 229 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 005c554b..ca749015 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -2,7 +2,7 @@ # uv pip compile pyproject.toml -o .constraints/py3.10.txt --all-extras --no-annotate --python-version=3.10 --no-emit-package setuptools accessible-pygments==0.0.5 alabaster==0.7.16 -anyio==4.3.0 +anyio==4.4.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -15,7 +15,7 @@ black==24.4.2 bleach==6.1.0 cachetools==5.3.3 cattrs==23.2.3 -certifi==2024.2.2 +certifi==2024.6.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 @@ -23,7 +23,7 @@ charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 comm==0.2.2 -coverage==7.5.1 +coverage==7.5.4 debugpy==1.8.1 decorator==5.1.1 defusedxml==0.7.1 @@ -33,50 +33,50 @@ docutils==0.21.2 exceptiongroup==1.2.1 execnet==2.1.1 executing==2.0.1 -fastjsonschema==2.19.1 -filelock==3.14.0 +fastjsonschema==2.20.0 +filelock==3.15.4 fqdn==1.5.1 gitdb==4.0.11 gitpython==3.1.43 -gprof2dot==2022.7.29 +gprof2dot==2024.6.6 graphviz==0.20.3 greenlet==3.0.3 h11==0.14.0 -hepunits==2.3.3 +hepunits==2.3.4 httpcore==1.0.5 httpx==0.27.0 identify==2.5.36 idna==3.7 imagesize==1.4.1 -importlib-metadata==7.1.0 +importlib-metadata==7.2.1 iniconfig==2.0.0 ipykernel==6.29.4 -ipython==8.24.0 -ipywidgets==8.1.2 +ipython==8.25.0 +ipywidgets==8.1.3 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 jinja2==3.1.4 json5==0.9.25 -jsonpointer==2.4 +jsonpointer==3.0.0 jsonschema==4.22.0 jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 -jupyter-client==8.6.1 +jupyter-client==8.6.2 jupyter-core==5.7.2 jupyter-events==0.10.0 jupyter-lsp==2.2.5 -jupyter-server==2.14.0 +jupyter-server==2.14.1 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.3 -jupyterlab==4.2.0 +jupyterlab==4.2.2 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.1 jupyterlab-lsp==5.1.0 jupyterlab-myst==2.4.2 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.27.1 -jupyterlab-widgets==3.0.10 +jupyterlab-server==2.27.2 +jupyterlab-widgets==3.0.11 latexcodec==3.0.0 lsprotocol==2023.0.1 markdown-it-py==3.0.0 @@ -93,12 +93,12 @@ nbclient==0.6.8 nbconvert==7.16.4 nbdime==4.0.1 nbformat==5.10.4 -nbmake==1.5.3 +nbmake==1.5.4 nest-asyncio==1.6.0 -nodeenv==1.8.0 +nodeenv==1.9.1 notebook-shim==0.2.4 overrides==7.7.0 -packaging==24.0 +packaging==24.1 pandocfilters==1.5.1 parso==0.8.4 particle==0.24.0 @@ -108,19 +108,19 @@ platformdirs==4.2.2 pluggy==1.5.0 pre-commit==3.7.1 prometheus-client==0.20.0 -prompt-toolkit==3.0.43 -psutil==5.9.8 +prompt-toolkit==3.0.47 +psutil==6.0.0 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.22 -pydata-sphinx-theme==0.15.2 +pydata-sphinx-theme==0.15.3 pydot==1.4.2 pygments==2.18.0 pyparsing==3.1.2 -pyproject-api==1.6.1 -pytest==8.2.1 +pyproject-api==1.7.1 +pytest==8.2.2 pytest-cov==5.0.0 pytest-profiling==1.7.0 pytest-xdist==3.6.1 @@ -134,12 +134,12 @@ pytoolconfig==1.3.1 pyyaml==6.0.1 pyzmq==26.0.3 referencing==0.35.1 -requests==2.31.0 +requests==2.32.3 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.13.0 rpds-py==0.18.1 -ruff==0.4.4 +ruff==0.4.10 send2trash==1.8.3 six==1.16.0 smmap==5.0.1 @@ -149,11 +149,11 @@ soupsieve==2.5 sphinx==7.3.7 sphinx-api-relink==0.0.9 sphinx-autobuild==2024.4.16 -sphinx-book-theme==1.1.2 -sphinx-codeautolink==0.15.1 +sphinx-book-theme==1.1.3 +sphinx-codeautolink==0.15.2 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 -sphinx-design==0.5.0 +sphinx-design==0.6.0 sphinx-hep-pdgref==0.2.0 sphinx-pybtex-etal-style==0.0.2 sphinx-thebe==0.3.1 @@ -165,35 +165,35 @@ sphinxcontrib-htmlhelp==2.0.5 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.7 sphinxcontrib-serializinghtml==1.1.10 -sqlalchemy==2.0.30 +sqlalchemy==2.0.31 stack-data==0.6.3 starlette==0.37.2 tabulate==0.9.0 terminado==0.18.1 tinycss2==1.3.0 tomli==2.0.1 -tornado==6.4 -tox==4.15.0 +tornado==6.4.1 +tox==4.15.1 tqdm==4.66.4 traitlets==5.14.3 types-python-dateutil==2.9.0.20240316 types-pyyaml==6.0.12.20240311 -types-setuptools==69.5.0.20240519 -typing-extensions==4.11.0 +types-setuptools==70.0.0.20240524 +typing-extensions==4.12.2 ujson==5.10.0 uri-template==1.3.0 -urllib3==2.2.1 -uvicorn==0.29.0 -virtualenv==20.26.2 -watchfiles==0.21.0 +urllib3==2.2.2 +uvicorn==0.30.1 +virtualenv==20.26.3 +watchfiles==0.22.0 wcwidth==0.2.13 -webcolors==1.13 +webcolors==24.6.0 webencodings==0.5.1 websocket-client==1.8.0 websockets==12.0 wheel==0.43.0 -widgetsnbextension==4.0.10 -zipp==3.18.2 +widgetsnbextension==4.0.11 +zipp==3.19.2 # The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 9c5d55c2..20a86e26 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -2,7 +2,7 @@ # uv pip compile pyproject.toml -o .constraints/py3.11.txt --all-extras --no-annotate --python-version=3.11 --no-emit-package setuptools accessible-pygments==0.0.5 alabaster==0.7.16 -anyio==4.3.0 +anyio==4.4.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -15,7 +15,7 @@ black==24.4.2 bleach==6.1.0 cachetools==5.3.3 cattrs==23.2.3 -certifi==2024.2.2 +certifi==2024.6.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 @@ -23,7 +23,7 @@ charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 comm==0.2.2 -coverage==7.5.1 +coverage==7.5.4 debugpy==1.8.1 decorator==5.1.1 defusedxml==0.7.1 @@ -32,50 +32,50 @@ docstring-to-markdown==0.15 docutils==0.21.2 execnet==2.1.1 executing==2.0.1 -fastjsonschema==2.19.1 -filelock==3.14.0 +fastjsonschema==2.20.0 +filelock==3.15.4 fqdn==1.5.1 gitdb==4.0.11 gitpython==3.1.43 -gprof2dot==2022.7.29 +gprof2dot==2024.6.6 graphviz==0.20.3 greenlet==3.0.3 h11==0.14.0 -hepunits==2.3.3 +hepunits==2.3.4 httpcore==1.0.5 httpx==0.27.0 identify==2.5.36 idna==3.7 imagesize==1.4.1 -importlib-metadata==7.1.0 +importlib-metadata==7.2.1 iniconfig==2.0.0 ipykernel==6.29.4 -ipython==8.24.0 -ipywidgets==8.1.2 +ipython==8.25.0 +ipywidgets==8.1.3 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 jinja2==3.1.4 json5==0.9.25 -jsonpointer==2.4 +jsonpointer==3.0.0 jsonschema==4.22.0 jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 -jupyter-client==8.6.1 +jupyter-client==8.6.2 jupyter-core==5.7.2 jupyter-events==0.10.0 jupyter-lsp==2.2.5 -jupyter-server==2.14.0 +jupyter-server==2.14.1 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.3 -jupyterlab==4.2.0 +jupyterlab==4.2.2 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.1 jupyterlab-lsp==5.1.0 jupyterlab-myst==2.4.2 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.27.1 -jupyterlab-widgets==3.0.10 +jupyterlab-server==2.27.2 +jupyterlab-widgets==3.0.11 latexcodec==3.0.0 lsprotocol==2023.0.1 markdown-it-py==3.0.0 @@ -92,12 +92,12 @@ nbclient==0.6.8 nbconvert==7.16.4 nbdime==4.0.1 nbformat==5.10.4 -nbmake==1.5.3 +nbmake==1.5.4 nest-asyncio==1.6.0 -nodeenv==1.8.0 +nodeenv==1.9.1 notebook-shim==0.2.4 overrides==7.7.0 -packaging==24.0 +packaging==24.1 pandocfilters==1.5.1 parso==0.8.4 particle==0.24.0 @@ -107,19 +107,19 @@ platformdirs==4.2.2 pluggy==1.5.0 pre-commit==3.7.1 prometheus-client==0.20.0 -prompt-toolkit==3.0.43 -psutil==5.9.8 +prompt-toolkit==3.0.47 +psutil==6.0.0 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.22 -pydata-sphinx-theme==0.15.2 +pydata-sphinx-theme==0.15.3 pydot==1.4.2 pygments==2.18.0 pyparsing==3.1.2 -pyproject-api==1.6.1 -pytest==8.2.1 +pyproject-api==1.7.1 +pytest==8.2.2 pytest-cov==5.0.0 pytest-profiling==1.7.0 pytest-xdist==3.6.1 @@ -133,12 +133,12 @@ pytoolconfig==1.3.1 pyyaml==6.0.1 pyzmq==26.0.3 referencing==0.35.1 -requests==2.31.0 +requests==2.32.3 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.13.0 rpds-py==0.18.1 -ruff==0.4.4 +ruff==0.4.10 send2trash==1.8.3 six==1.16.0 smmap==5.0.1 @@ -148,11 +148,11 @@ soupsieve==2.5 sphinx==7.3.7 sphinx-api-relink==0.0.9 sphinx-autobuild==2024.4.16 -sphinx-book-theme==1.1.2 -sphinx-codeautolink==0.15.1 +sphinx-book-theme==1.1.3 +sphinx-codeautolink==0.15.2 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 -sphinx-design==0.5.0 +sphinx-design==0.6.0 sphinx-hep-pdgref==0.2.0 sphinx-pybtex-etal-style==0.0.2 sphinx-thebe==0.3.1 @@ -164,34 +164,34 @@ sphinxcontrib-htmlhelp==2.0.5 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.7 sphinxcontrib-serializinghtml==1.1.10 -sqlalchemy==2.0.30 +sqlalchemy==2.0.31 stack-data==0.6.3 starlette==0.37.2 tabulate==0.9.0 terminado==0.18.1 tinycss2==1.3.0 -tornado==6.4 -tox==4.15.0 +tornado==6.4.1 +tox==4.15.1 tqdm==4.66.4 traitlets==5.14.3 types-python-dateutil==2.9.0.20240316 types-pyyaml==6.0.12.20240311 -types-setuptools==69.5.0.20240519 -typing-extensions==4.11.0 +types-setuptools==70.0.0.20240524 +typing-extensions==4.12.2 ujson==5.10.0 uri-template==1.3.0 -urllib3==2.2.1 -uvicorn==0.29.0 -virtualenv==20.26.2 -watchfiles==0.21.0 +urllib3==2.2.2 +uvicorn==0.30.1 +virtualenv==20.26.3 +watchfiles==0.22.0 wcwidth==0.2.13 -webcolors==1.13 +webcolors==24.6.0 webencodings==0.5.1 websocket-client==1.8.0 websockets==12.0 wheel==0.43.0 -widgetsnbextension==4.0.10 -zipp==3.18.2 +widgetsnbextension==4.0.11 +zipp==3.19.2 # The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt index 7e6db895..ef9fdc66 100644 --- a/.constraints/py3.12.txt +++ b/.constraints/py3.12.txt @@ -2,7 +2,7 @@ # uv pip compile pyproject.toml -o .constraints/py3.12.txt --all-extras --no-annotate --python-version=3.12 --no-emit-package setuptools accessible-pygments==0.0.5 alabaster==0.7.16 -anyio==4.3.0 +anyio==4.4.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -15,7 +15,7 @@ black==24.4.2 bleach==6.1.0 cachetools==5.3.3 cattrs==23.2.3 -certifi==2024.2.2 +certifi==2024.6.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 @@ -23,7 +23,7 @@ charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 comm==0.2.2 -coverage==7.5.1 +coverage==7.5.4 debugpy==1.8.1 decorator==5.1.1 defusedxml==0.7.1 @@ -32,50 +32,50 @@ docstring-to-markdown==0.15 docutils==0.21.2 execnet==2.1.1 executing==2.0.1 -fastjsonschema==2.19.1 -filelock==3.14.0 +fastjsonschema==2.20.0 +filelock==3.15.4 fqdn==1.5.1 gitdb==4.0.11 gitpython==3.1.43 -gprof2dot==2022.7.29 +gprof2dot==2024.6.6 graphviz==0.20.3 greenlet==3.0.3 h11==0.14.0 -hepunits==2.3.3 +hepunits==2.3.4 httpcore==1.0.5 httpx==0.27.0 identify==2.5.36 idna==3.7 imagesize==1.4.1 -importlib-metadata==7.1.0 +importlib-metadata==7.2.1 iniconfig==2.0.0 ipykernel==6.29.4 -ipython==8.24.0 -ipywidgets==8.1.2 +ipython==8.25.0 +ipywidgets==8.1.3 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 jinja2==3.1.4 json5==0.9.25 -jsonpointer==2.4 +jsonpointer==3.0.0 jsonschema==4.22.0 jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 -jupyter-client==8.6.1 +jupyter-client==8.6.2 jupyter-core==5.7.2 jupyter-events==0.10.0 jupyter-lsp==2.2.5 -jupyter-server==2.14.0 +jupyter-server==2.14.1 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.3 -jupyterlab==4.2.0 +jupyterlab==4.2.2 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.1 jupyterlab-lsp==5.1.0 jupyterlab-myst==2.4.2 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.27.1 -jupyterlab-widgets==3.0.10 +jupyterlab-server==2.27.2 +jupyterlab-widgets==3.0.11 latexcodec==3.0.0 lsprotocol==2023.0.1 markdown-it-py==3.0.0 @@ -92,12 +92,12 @@ nbclient==0.6.8 nbconvert==7.16.4 nbdime==4.0.1 nbformat==5.10.4 -nbmake==1.5.3 +nbmake==1.5.4 nest-asyncio==1.6.0 -nodeenv==1.8.0 +nodeenv==1.9.1 notebook-shim==0.2.4 overrides==7.7.0 -packaging==24.0 +packaging==24.1 pandocfilters==1.5.1 parso==0.8.4 particle==0.24.0 @@ -107,19 +107,19 @@ platformdirs==4.2.2 pluggy==1.5.0 pre-commit==3.7.1 prometheus-client==0.20.0 -prompt-toolkit==3.0.43 -psutil==5.9.8 +prompt-toolkit==3.0.47 +psutil==6.0.0 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.22 -pydata-sphinx-theme==0.15.2 +pydata-sphinx-theme==0.15.3 pydot==1.4.2 pygments==2.18.0 pyparsing==3.1.2 -pyproject-api==1.6.1 -pytest==8.2.1 +pyproject-api==1.7.1 +pytest==8.2.2 pytest-cov==5.0.0 pytest-profiling==1.7.0 pytest-xdist==3.6.1 @@ -133,12 +133,12 @@ pytoolconfig==1.3.1 pyyaml==6.0.1 pyzmq==26.0.3 referencing==0.35.1 -requests==2.31.0 +requests==2.32.3 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.13.0 rpds-py==0.18.1 -ruff==0.4.4 +ruff==0.4.10 send2trash==1.8.3 six==1.16.0 smmap==5.0.1 @@ -148,11 +148,11 @@ soupsieve==2.5 sphinx==7.3.7 sphinx-api-relink==0.0.9 sphinx-autobuild==2024.4.16 -sphinx-book-theme==1.1.2 -sphinx-codeautolink==0.15.1 +sphinx-book-theme==1.1.3 +sphinx-codeautolink==0.15.2 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 -sphinx-design==0.5.0 +sphinx-design==0.6.0 sphinx-hep-pdgref==0.2.0 sphinx-pybtex-etal-style==0.0.2 sphinx-thebe==0.3.1 @@ -164,34 +164,34 @@ sphinxcontrib-htmlhelp==2.0.5 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.7 sphinxcontrib-serializinghtml==1.1.10 -sqlalchemy==2.0.30 +sqlalchemy==2.0.31 stack-data==0.6.3 starlette==0.37.2 tabulate==0.9.0 terminado==0.18.1 tinycss2==1.3.0 -tornado==6.4 -tox==4.15.0 +tornado==6.4.1 +tox==4.15.1 tqdm==4.66.4 traitlets==5.14.3 types-python-dateutil==2.9.0.20240316 types-pyyaml==6.0.12.20240311 -types-setuptools==69.5.0.20240519 -typing-extensions==4.11.0 +types-setuptools==70.0.0.20240524 +typing-extensions==4.12.2 ujson==5.10.0 uri-template==1.3.0 -urllib3==2.2.1 -uvicorn==0.29.0 -virtualenv==20.26.2 -watchfiles==0.21.0 +urllib3==2.2.2 +uvicorn==0.30.1 +virtualenv==20.26.3 +watchfiles==0.22.0 wcwidth==0.2.13 -webcolors==1.13 +webcolors==24.6.0 webencodings==0.5.1 websocket-client==1.8.0 websockets==12.0 wheel==0.43.0 -widgetsnbextension==4.0.10 -zipp==3.18.2 +widgetsnbextension==4.0.11 +zipp==3.19.2 # The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index 5d598a62..31191e08 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -17,7 +17,7 @@ bleach==6.0.0 cached-property==1.5.2 cachetools==5.3.3 cattrs==23.1.2 -certifi==2024.2.2 +certifi==2024.6.2 cffi==1.15.1 cfgv==3.3.1 chardet==5.2.0 @@ -35,7 +35,7 @@ docutils==0.17.1 entrypoints==0.4 exceptiongroup==1.2.1 execnet==2.0.2 -fastjsonschema==2.19.1 +fastjsonschema==2.20.0 filelock==3.12.2 fqdn==1.5.1 gitdb==4.0.11 @@ -53,13 +53,13 @@ iniconfig==2.0.0 ipykernel==6.16.2 ipython==7.34.0 ipython-genutils==0.2.0 -ipywidgets==8.1.2 +ipywidgets==8.1.3 isoduration==20.11.0 isort==5.11.5 jedi==0.18.2 jinja2==3.1.4 json5==0.9.16 -jsonpointer==2.4 +jsonpointer==3.0.0 jsonschema==4.17.3 jupyter-cache==0.5.0 jupyter-client==7.4.9 @@ -78,9 +78,9 @@ jupyterlab-lsp==3.10.2 jupyterlab-myst==1.2.0 jupyterlab-pygments==0.2.2 jupyterlab-server==2.24.0 -jupyterlab-widgets==3.0.10 +jupyterlab-widgets==3.0.11 latexcodec==3.0.0 -livereload==2.6.3 +livereload==2.7.0 lsprotocol==2023.0.1 markdown-it-py==2.2.0 markupsafe==2.1.5 @@ -92,14 +92,14 @@ mypy==1.4.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 -nbclassic==1.0.0 +nbclassic==1.1.0 nbclient==0.5.13 nbconvert==7.6.0 nbdime==3.2.1 nbformat==5.8.0 nbmake==1.2.1 nest-asyncio==1.6.0 -nodeenv==1.8.0 +nodeenv==1.9.1 notebook==6.5.7 notebook-shim==0.2.4 packaging==24.0 @@ -114,13 +114,13 @@ platformdirs==4.0.0 pluggy==1.2.0 pre-commit==2.21.0 prometheus-client==0.17.1 -prompt-toolkit==3.0.43 -psutil==5.9.8 +prompt-toolkit==3.0.47 +psutil==6.0.0 ptyprocess==0.7.0 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydantic==1.10.15 +pydantic==1.10.17 pydata-sphinx-theme==0.13.3 pydot==1.4.2 pygments==2.17.2 @@ -156,7 +156,7 @@ sphinx==5.3.0 sphinx-api-relink==0.0.9 sphinx-autobuild==2021.3.14 sphinx-book-theme==1.0.1 -sphinx-codeautolink==0.15.1 +sphinx-codeautolink==0.15.2 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 sphinx-design==0.4.1 @@ -187,13 +187,13 @@ typing-extensions==4.7.1 ujson==5.7.0 uri-template==1.3.0 urllib3==2.0.7 -virtualenv==20.26.2 +virtualenv==20.26.3 wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.1 wheel==0.42.0 -widgetsnbextension==4.0.10 +widgetsnbextension==4.0.11 y-py==0.6.2 ypy-websocket==0.8.4 zipp==3.15.0 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index f7bddc89..d8528278 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -2,7 +2,7 @@ # uv pip compile pyproject.toml -o .constraints/py3.8.txt --all-extras --no-annotate --python-version=3.8 --no-emit-package setuptools accessible-pygments==0.0.4 alabaster==0.7.13 -anyio==4.3.0 +anyio==4.4.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -16,7 +16,7 @@ black==24.4.2 bleach==6.1.0 cachetools==5.3.3 cattrs==23.2.3 -certifi==2024.2.2 +certifi==2024.6.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 @@ -24,7 +24,7 @@ charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 comm==0.2.2 -coverage==7.5.1 +coverage==7.5.4 debugpy==1.8.1 decorator==5.1.1 defusedxml==0.7.1 @@ -34,53 +34,53 @@ docutils==0.17.1 exceptiongroup==1.2.1 execnet==2.1.1 executing==2.0.1 -fastjsonschema==2.19.1 -filelock==3.14.0 +fastjsonschema==2.20.0 +filelock==3.15.4 fqdn==1.5.1 gitdb==4.0.11 gitpython==3.1.43 -gprof2dot==2022.7.29 +gprof2dot==2024.6.6 graphviz==0.20.3 greenlet==3.0.3 h11==0.14.0 -hepunits==2.3.3 +hepunits==2.3.4 httpcore==1.0.5 httpx==0.27.0 identify==2.5.36 idna==3.7 imagesize==1.4.1 -importlib-metadata==7.1.0 +importlib-metadata==7.2.1 importlib-resources==6.4.0 iniconfig==2.0.0 ipykernel==6.29.4 ipython==8.12.3 -ipywidgets==8.1.2 +ipywidgets==8.1.3 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 jinja2==3.1.4 json5==0.9.25 -jsonpointer==2.4 +jsonpointer==3.0.0 jsonschema==4.22.0 jsonschema-specifications==2023.12.1 jupyter-cache==0.6.1 -jupyter-client==8.6.1 +jupyter-client==8.6.2 jupyter-core==5.7.2 jupyter-events==0.10.0 jupyter-lsp==2.2.5 -jupyter-server==2.14.0 +jupyter-server==2.14.1 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.3 -jupyterlab==4.2.0 +jupyterlab==4.2.2 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.1 jupyterlab-lsp==5.1.0 jupyterlab-myst==2.4.2 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.27.1 -jupyterlab-widgets==3.0.10 +jupyterlab-server==2.27.2 +jupyterlab-widgets==3.0.11 latexcodec==3.0.0 -livereload==2.6.3 +livereload==2.7.0 lsprotocol==2023.0.1 markdown-it-py==2.2.0 markupsafe==2.1.5 @@ -96,12 +96,12 @@ nbclient==0.6.8 nbconvert==7.16.4 nbdime==4.0.1 nbformat==5.10.4 -nbmake==1.5.3 +nbmake==1.5.4 nest-asyncio==1.6.0 -nodeenv==1.8.0 +nodeenv==1.9.1 notebook-shim==0.2.4 overrides==7.7.0 -packaging==24.0 +packaging==24.1 pandocfilters==1.5.1 parso==0.8.4 particle==0.24.0 @@ -113,8 +113,8 @@ platformdirs==4.2.2 pluggy==1.5.0 pre-commit==3.5.0 prometheus-client==0.20.0 -prompt-toolkit==3.0.43 -psutil==5.9.8 +prompt-toolkit==3.0.47 +psutil==6.0.0 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 @@ -124,8 +124,8 @@ pydata-sphinx-theme==0.14.4 pydot==1.4.2 pygments==2.18.0 pyparsing==3.1.2 -pyproject-api==1.6.1 -pytest==8.2.1 +pyproject-api==1.7.1 +pytest==8.2.2 pytest-cov==5.0.0 pytest-profiling==1.7.0 pytest-xdist==3.6.1 @@ -140,12 +140,12 @@ pytz==2024.1 pyyaml==6.0.1 pyzmq==26.0.3 referencing==0.35.1 -requests==2.31.0 +requests==2.32.3 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.13.0 rpds-py==0.18.1 -ruff==0.4.4 +ruff==0.4.10 send2trash==1.8.3 six==1.16.0 smmap==5.0.1 @@ -156,7 +156,7 @@ sphinx==5.3.0 sphinx-api-relink==0.0.9 sphinx-autobuild==2021.3.14 sphinx-book-theme==1.0.1 -sphinx-codeautolink==0.15.1 +sphinx-codeautolink==0.15.2 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 sphinx-design==0.5.0 @@ -171,31 +171,31 @@ sphinxcontrib-htmlhelp==2.0.1 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 -sqlalchemy==2.0.30 +sqlalchemy==2.0.31 stack-data==0.6.3 tabulate==0.9.0 terminado==0.18.1 tinycss2==1.3.0 tomli==2.0.1 -tornado==6.4 -tox==4.15.0 +tornado==6.4.1 +tox==4.15.1 tqdm==4.66.4 traitlets==5.14.3 types-python-dateutil==2.9.0.20240316 types-pyyaml==6.0.12.20240311 -types-setuptools==69.5.0.20240519 -typing-extensions==4.11.0 +types-setuptools==70.0.0.20240524 +typing-extensions==4.12.2 ujson==5.10.0 uri-template==1.3.0 -urllib3==2.2.1 -virtualenv==20.26.2 +urllib3==2.2.2 +virtualenv==20.26.3 wcwidth==0.2.13 -webcolors==1.13 +webcolors==24.6.0 webencodings==0.5.1 websocket-client==1.8.0 wheel==0.43.0 -widgetsnbextension==4.0.10 -zipp==3.18.2 +widgetsnbextension==4.0.11 +zipp==3.19.2 # The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 1dcbe75c..0625d72f 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -2,7 +2,7 @@ # uv pip compile pyproject.toml -o .constraints/py3.9.txt --all-extras --no-annotate --python-version=3.9 --no-emit-package setuptools accessible-pygments==0.0.5 alabaster==0.7.16 -anyio==4.3.0 +anyio==4.4.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -15,7 +15,7 @@ black==24.4.2 bleach==6.1.0 cachetools==5.3.3 cattrs==23.2.3 -certifi==2024.2.2 +certifi==2024.6.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 @@ -23,7 +23,7 @@ charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 comm==0.2.2 -coverage==7.5.1 +coverage==7.5.4 debugpy==1.8.1 decorator==5.1.1 defusedxml==0.7.1 @@ -33,50 +33,50 @@ docutils==0.21.2 exceptiongroup==1.2.1 execnet==2.1.1 executing==2.0.1 -fastjsonschema==2.19.1 -filelock==3.14.0 +fastjsonschema==2.20.0 +filelock==3.15.4 fqdn==1.5.1 gitdb==4.0.11 gitpython==3.1.43 -gprof2dot==2022.7.29 +gprof2dot==2024.6.6 graphviz==0.20.3 greenlet==3.0.3 h11==0.14.0 -hepunits==2.3.3 +hepunits==2.3.4 httpcore==1.0.5 httpx==0.27.0 identify==2.5.36 idna==3.7 imagesize==1.4.1 -importlib-metadata==7.1.0 +importlib-metadata==7.2.1 iniconfig==2.0.0 ipykernel==6.29.4 ipython==8.18.1 -ipywidgets==8.1.2 +ipywidgets==8.1.3 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 jinja2==3.1.4 json5==0.9.25 -jsonpointer==2.4 +jsonpointer==3.0.0 jsonschema==4.22.0 jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 -jupyter-client==8.6.1 +jupyter-client==8.6.2 jupyter-core==5.7.2 jupyter-events==0.10.0 jupyter-lsp==2.2.5 -jupyter-server==2.14.0 +jupyter-server==2.14.1 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.3 -jupyterlab==4.2.0 +jupyterlab==4.2.2 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.1 jupyterlab-lsp==5.1.0 jupyterlab-myst==2.4.2 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.27.1 -jupyterlab-widgets==3.0.10 +jupyterlab-server==2.27.2 +jupyterlab-widgets==3.0.11 latexcodec==3.0.0 lsprotocol==2023.0.1 markdown-it-py==3.0.0 @@ -93,12 +93,12 @@ nbclient==0.6.8 nbconvert==7.16.4 nbdime==4.0.1 nbformat==5.10.4 -nbmake==1.5.3 +nbmake==1.5.4 nest-asyncio==1.6.0 -nodeenv==1.8.0 +nodeenv==1.9.1 notebook-shim==0.2.4 overrides==7.7.0 -packaging==24.0 +packaging==24.1 pandocfilters==1.5.1 parso==0.8.4 particle==0.24.0 @@ -108,19 +108,19 @@ platformdirs==4.2.2 pluggy==1.5.0 pre-commit==3.7.1 prometheus-client==0.20.0 -prompt-toolkit==3.0.43 -psutil==5.9.8 +prompt-toolkit==3.0.47 +psutil==6.0.0 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.22 -pydata-sphinx-theme==0.15.2 +pydata-sphinx-theme==0.15.3 pydot==1.4.2 pygments==2.18.0 pyparsing==3.1.2 -pyproject-api==1.6.1 -pytest==8.2.1 +pyproject-api==1.7.1 +pytest==8.2.2 pytest-cov==5.0.0 pytest-profiling==1.7.0 pytest-xdist==3.6.1 @@ -134,12 +134,12 @@ pytoolconfig==1.3.1 pyyaml==6.0.1 pyzmq==26.0.3 referencing==0.35.1 -requests==2.31.0 +requests==2.32.3 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.13.0 rpds-py==0.18.1 -ruff==0.4.4 +ruff==0.4.10 send2trash==1.8.3 six==1.16.0 smmap==5.0.1 @@ -149,11 +149,11 @@ soupsieve==2.5 sphinx==7.3.7 sphinx-api-relink==0.0.9 sphinx-autobuild==2024.4.16 -sphinx-book-theme==1.1.2 -sphinx-codeautolink==0.15.1 +sphinx-book-theme==1.1.3 +sphinx-codeautolink==0.15.2 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 -sphinx-design==0.5.0 +sphinx-design==0.6.0 sphinx-hep-pdgref==0.2.0 sphinx-pybtex-etal-style==0.0.2 sphinx-thebe==0.3.1 @@ -165,35 +165,35 @@ sphinxcontrib-htmlhelp==2.0.5 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.7 sphinxcontrib-serializinghtml==1.1.10 -sqlalchemy==2.0.30 +sqlalchemy==2.0.31 stack-data==0.6.3 starlette==0.37.2 tabulate==0.9.0 terminado==0.18.1 tinycss2==1.3.0 tomli==2.0.1 -tornado==6.4 -tox==4.15.0 +tornado==6.4.1 +tox==4.15.1 tqdm==4.66.4 traitlets==5.14.3 types-python-dateutil==2.9.0.20240316 types-pyyaml==6.0.12.20240311 -types-setuptools==69.5.0.20240519 -typing-extensions==4.11.0 +types-setuptools==70.0.0.20240524 +typing-extensions==4.12.2 ujson==5.10.0 uri-template==1.3.0 -urllib3==2.2.1 -uvicorn==0.29.0 -virtualenv==20.26.2 -watchfiles==0.21.0 +urllib3==2.2.2 +uvicorn==0.30.1 +virtualenv==20.26.3 +watchfiles==0.22.0 wcwidth==0.2.13 -webcolors==1.13 +webcolors==24.6.0 webencodings==0.5.1 websocket-client==1.8.0 websockets==12.0 wheel==0.43.0 -widgetsnbextension==4.0.10 -zipp==3.18.2 +widgetsnbextension==4.0.11 +zipp==3.19.2 # The following packages were excluded from the output: # setuptools diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c5666877..976adb24 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.3.8 + rev: 0.3.9 hooks: - id: check-dev-files args: @@ -58,7 +58,7 @@ repos: - --extras-require=doc,viz - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.4 + rev: v0.4.10 hooks: - id: ruff args: [--fix] @@ -107,7 +107,7 @@ repos: - --in-place - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.28.3 + rev: 0.28.5 hooks: - id: check-jsonschema name: Check CITATION.cff @@ -120,7 +120,7 @@ repos: pass_filenames: false - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v8.8.1 + rev: v8.9.0 hooks: - id: cspell @@ -146,6 +146,6 @@ repos: - python - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.363 + rev: v1.1.368 hooks: - id: pyright diff --git a/.readthedocs.yml b/.readthedocs.yml index eb9cd7a0..1fa04aaf 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,13 +1,5 @@ version: 2 -sphinx: - builder: html - configuration: docs/conf.py - fail_on_warning: true - -formats: - - htmlzip - build: os: ubuntu-22.04 tools: @@ -16,6 +8,13 @@ build: - graphviz jobs: post_install: - - curl -LsSf https://astral.sh/uv/install.sh | sh - - |- - /home/docs/.cargo/bin/uv pip install --system -c .constraints/py3.9.txt -e .[doc] + - python -m pip install 'uv>=0.2.0' + - python -m uv pip install -c .constraints/py3.9.txt -e .[doc] + +formats: + - htmlzip + +sphinx: + builder: html + configuration: docs/conf.py + fail_on_warning: true