From 2c92ac845abf3ac995272f88959b2e00d6b3b354 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 6 Apr 2024 12:42:37 +0200 Subject: [PATCH] MAINT: update pip constraints and pre-commit (#219) * MAINT: add PyPA to word list * MAINT: implement updates from pre-commit hooks * MAINT: remove JSON schema for GitHub Actions --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: GitHub Co-authored-by: Remco de Boer <29308176+redeboer@users.noreply.github.com> --- .constraints/py3.10.txt | 72 ++++++++++++++++++++-------------------- .constraints/py3.11.txt | 72 ++++++++++++++++++++-------------------- .constraints/py3.12.txt | 72 ++++++++++++++++++++-------------------- .constraints/py3.7.txt | 8 ++--- .constraints/py3.8.txt | 66 ++++++++++++++++++------------------ .constraints/py3.9.txt | 72 ++++++++++++++++++++-------------------- .cspell.json | 1 + .github/workflows/cd.yml | 16 +++++++-- .pre-commit-config.yaml | 10 +++--- .vscode/settings.json | 6 ++-- 10 files changed, 204 insertions(+), 191 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 31c864c2..c439fa8a 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -12,7 +12,7 @@ async-lru==2.0.4 attrs==23.2.0 babel==2.14.0 beautifulsoup4==4.12.3 -black==24.2.0 +black==24.3.0 bleach==6.1.0 cachetools==5.3.3 cattrs==23.2.3 @@ -24,8 +24,8 @@ charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 comm==0.2.2 -contourpy==1.2.0 -coverage==7.4.3 +contourpy==1.2.1 +coverage==7.4.4 cryptography==42.0.5 cycler==0.12.1 dataproperty==1.0.1 @@ -38,32 +38,32 @@ docstring-to-markdown==0.15 docutils==0.20.1 dominate==2.9.1 exceptiongroup==1.2.0 -execnet==2.0.2 +execnet==2.1.0 executing==2.0.1 fastjsonschema==2.19.1 feynman==2.1.0 -filelock==3.13.1 -fonttools==4.49.0 +filelock==3.13.3 +fonttools==4.51.0 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.42 +gitpython==3.1.43 greenlet==3.0.3 h11==0.14.0 -httpcore==1.0.4 +httpcore==1.0.5 httpx==0.27.0 identify==2.5.35 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.2 +importlib-metadata==7.1.0 iniconfig==2.0.0 -ipykernel==6.29.3 -ipython==8.22.2 +ipykernel==6.29.4 +ipython==8.23.0 ipywidgets==8.1.2 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 jinja2==3.1.3 -json5==0.9.22 +json5==0.9.24 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 @@ -72,16 +72,16 @@ jupyter-cache==1.0.0 jupyter-client==8.6.1 jupyter-console==6.6.3 jupyter-core==5.7.2 -jupyter-events==0.9.1 +jupyter-events==0.10.0 jupyter-lsp==2.2.4 jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.3 -jupyterlab==4.1.4 +jupyterlab==4.1.5 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 jupyterlab-lsp==5.1.0 -jupyterlab-myst==2.3.1 +jupyterlab-myst==2.3.2 jupyterlab-pygments==0.3.0 jupyterlab-server==2.25.4 jupyterlab-widgets==3.0.10 @@ -91,7 +91,7 @@ livereload==2.6.3 lsprotocol==2023.0.1 markdown-it-py==3.0.0 markupsafe==2.1.5 -matplotlib==3.8.3 +matplotlib==3.8.4 matplotlib-inline==0.1.6 mbstrdecoder==1.1.3 mdit-py-plugins==0.4.0 @@ -103,26 +103,26 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.16.2 +nbconvert==7.16.3 nbdime==4.0.1 -nbformat==5.10.2 +nbformat==5.10.4 nbmake==1.5.3 nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook==7.1.1 +notebook==7.1.2 notebook-shim==0.2.4 numpy==1.26.4 overrides==7.7.0 packaging==24.0 pandocfilters==1.5.1 -parso==0.8.3 +parso==0.8.4 pathspec==0.12.1 pathvalidate==3.2.0 pexpect==4.9.0 -pillow==10.2.0 +pillow==10.3.0 platformdirs==4.2.0 pluggy==1.4.0 -pre-commit==3.6.2 +pre-commit==3.7.0 prometheus-client==0.20.0 prompt-toolkit==3.0.43 psutil==5.9.8 @@ -130,11 +130,11 @@ ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 -pycparser==2.21 +pycparser==2.22 pydantic==2.6.4 pydantic-core==2.16.3 pydata-sphinx-theme==0.15.2 -pygithub==2.2.0 +pygithub==2.3.0 pygments==2.17.2 pyjwt==2.8.0 pynacl==1.5.0 @@ -142,28 +142,28 @@ pyparsing==3.1.2 pyproject-api==1.6.1 pytablewriter==1.2.0 pytest==8.1.1 -pytest-cov==4.1.0 +pytest-cov==5.0.0 pytest-xdist==3.5.0 python-dateutil==2.9.0.post0 python-gitlab==4.4.0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 python-lsp-ruff==2.2.0 -python-lsp-server==1.10.1 +python-lsp-server==1.11.0 pytoolconfig==1.3.1 pytz==2024.1 pyyaml==6.0.1 pyzmq==25.1.2 qtconsole==5.5.1 qtpy==2.4.1 -referencing==0.33.0 +referencing==0.34.0 requests==2.31.0 requests-toolbelt==1.0.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.12.0 +rope==1.13.0 rpds-py==0.18.0 -ruff==0.3.2 +ruff==0.3.5 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 @@ -189,7 +189,7 @@ sphinxcontrib-htmlhelp==2.0.5 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.7 sphinxcontrib-serializinghtml==1.1.10 -sqlalchemy==2.0.28 +sqlalchemy==2.0.29 stack-data==0.6.3 sympy==1.12 tabledata==1.3.3 @@ -199,15 +199,15 @@ terminado==0.18.1 tinycss2==1.2.1 tomli==2.0.1 tornado==6.4 -tox==4.14.1 +tox==4.14.2 traitlets==5.14.2 typepy==1.3.2 -types-docutils==0.20.0.20240311 +types-docutils==0.20.0.20240406 types-pkg-resources==0.1.3 -types-python-dateutil==2.8.19.20240311 +types-python-dateutil==2.9.0.20240316 types-pyyaml==6.0.12.20240311 -types-setuptools==69.1.0.20240310 -typing-extensions==4.10.0 +types-setuptools==69.2.0.20240317 +typing-extensions==4.11.0 ujson==5.9.0 uri-template==1.3.0 urllib3==2.2.1 @@ -219,7 +219,7 @@ websocket-client==1.7.0 wheel==0.43.0 widgetsnbextension==4.0.10 wrapt==1.16.0 -zipp==3.18.0 +zipp==3.18.1 # The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 4466e2c0..5f548d99 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -12,7 +12,7 @@ async-lru==2.0.4 attrs==23.2.0 babel==2.14.0 beautifulsoup4==4.12.3 -black==24.2.0 +black==24.3.0 bleach==6.1.0 cachetools==5.3.3 cattrs==23.2.3 @@ -24,8 +24,8 @@ charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 comm==0.2.2 -contourpy==1.2.0 -coverage==7.4.3 +contourpy==1.2.1 +coverage==7.4.4 cryptography==42.0.5 cycler==0.12.1 dataproperty==1.0.1 @@ -37,32 +37,32 @@ distlib==0.3.8 docstring-to-markdown==0.15 docutils==0.20.1 dominate==2.9.1 -execnet==2.0.2 +execnet==2.1.0 executing==2.0.1 fastjsonschema==2.19.1 feynman==2.1.0 -filelock==3.13.1 -fonttools==4.49.0 +filelock==3.13.3 +fonttools==4.51.0 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.42 +gitpython==3.1.43 greenlet==3.0.3 h11==0.14.0 -httpcore==1.0.4 +httpcore==1.0.5 httpx==0.27.0 identify==2.5.35 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.2 +importlib-metadata==7.1.0 iniconfig==2.0.0 -ipykernel==6.29.3 -ipython==8.22.2 +ipykernel==6.29.4 +ipython==8.23.0 ipywidgets==8.1.2 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 jinja2==3.1.3 -json5==0.9.22 +json5==0.9.24 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 @@ -71,16 +71,16 @@ jupyter-cache==1.0.0 jupyter-client==8.6.1 jupyter-console==6.6.3 jupyter-core==5.7.2 -jupyter-events==0.9.1 +jupyter-events==0.10.0 jupyter-lsp==2.2.4 jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.3 -jupyterlab==4.1.4 +jupyterlab==4.1.5 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 jupyterlab-lsp==5.1.0 -jupyterlab-myst==2.3.1 +jupyterlab-myst==2.3.2 jupyterlab-pygments==0.3.0 jupyterlab-server==2.25.4 jupyterlab-widgets==3.0.10 @@ -90,7 +90,7 @@ livereload==2.6.3 lsprotocol==2023.0.1 markdown-it-py==3.0.0 markupsafe==2.1.5 -matplotlib==3.8.3 +matplotlib==3.8.4 matplotlib-inline==0.1.6 mbstrdecoder==1.1.3 mdit-py-plugins==0.4.0 @@ -102,26 +102,26 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.16.2 +nbconvert==7.16.3 nbdime==4.0.1 -nbformat==5.10.2 +nbformat==5.10.4 nbmake==1.5.3 nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook==7.1.1 +notebook==7.1.2 notebook-shim==0.2.4 numpy==1.26.4 overrides==7.7.0 packaging==24.0 pandocfilters==1.5.1 -parso==0.8.3 +parso==0.8.4 pathspec==0.12.1 pathvalidate==3.2.0 pexpect==4.9.0 -pillow==10.2.0 +pillow==10.3.0 platformdirs==4.2.0 pluggy==1.4.0 -pre-commit==3.6.2 +pre-commit==3.7.0 prometheus-client==0.20.0 prompt-toolkit==3.0.43 psutil==5.9.8 @@ -129,11 +129,11 @@ ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 -pycparser==2.21 +pycparser==2.22 pydantic==2.6.4 pydantic-core==2.16.3 pydata-sphinx-theme==0.15.2 -pygithub==2.2.0 +pygithub==2.3.0 pygments==2.17.2 pyjwt==2.8.0 pynacl==1.5.0 @@ -141,28 +141,28 @@ pyparsing==3.1.2 pyproject-api==1.6.1 pytablewriter==1.2.0 pytest==8.1.1 -pytest-cov==4.1.0 +pytest-cov==5.0.0 pytest-xdist==3.5.0 python-dateutil==2.9.0.post0 python-gitlab==4.4.0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 python-lsp-ruff==2.2.0 -python-lsp-server==1.10.1 +python-lsp-server==1.11.0 pytoolconfig==1.3.1 pytz==2024.1 pyyaml==6.0.1 pyzmq==25.1.2 qtconsole==5.5.1 qtpy==2.4.1 -referencing==0.33.0 +referencing==0.34.0 requests==2.31.0 requests-toolbelt==1.0.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.12.0 +rope==1.13.0 rpds-py==0.18.0 -ruff==0.3.2 +ruff==0.3.5 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 @@ -188,7 +188,7 @@ sphinxcontrib-htmlhelp==2.0.5 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.7 sphinxcontrib-serializinghtml==1.1.10 -sqlalchemy==2.0.28 +sqlalchemy==2.0.29 stack-data==0.6.3 sympy==1.12 tabledata==1.3.3 @@ -197,15 +197,15 @@ tcolorpy==0.1.4 terminado==0.18.1 tinycss2==1.2.1 tornado==6.4 -tox==4.14.1 +tox==4.14.2 traitlets==5.14.2 typepy==1.3.2 -types-docutils==0.20.0.20240311 +types-docutils==0.20.0.20240406 types-pkg-resources==0.1.3 -types-python-dateutil==2.8.19.20240311 +types-python-dateutil==2.9.0.20240316 types-pyyaml==6.0.12.20240311 -types-setuptools==69.1.0.20240310 -typing-extensions==4.10.0 +types-setuptools==69.2.0.20240317 +typing-extensions==4.11.0 ujson==5.9.0 uri-template==1.3.0 urllib3==2.2.1 @@ -217,7 +217,7 @@ websocket-client==1.7.0 wheel==0.43.0 widgetsnbextension==4.0.10 wrapt==1.16.0 -zipp==3.18.0 +zipp==3.18.1 # The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt index b914ed6e..cc61a6c2 100644 --- a/.constraints/py3.12.txt +++ b/.constraints/py3.12.txt @@ -12,7 +12,7 @@ async-lru==2.0.4 attrs==23.2.0 babel==2.14.0 beautifulsoup4==4.12.3 -black==24.2.0 +black==24.3.0 bleach==6.1.0 cachetools==5.3.3 cattrs==23.2.3 @@ -24,8 +24,8 @@ charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 comm==0.2.2 -contourpy==1.2.0 -coverage==7.4.3 +contourpy==1.2.1 +coverage==7.4.4 cryptography==42.0.5 cycler==0.12.1 dataproperty==1.0.1 @@ -37,32 +37,32 @@ distlib==0.3.8 docstring-to-markdown==0.15 docutils==0.20.1 dominate==2.9.1 -execnet==2.0.2 +execnet==2.1.0 executing==2.0.1 fastjsonschema==2.19.1 feynman==2.1.0 -filelock==3.13.1 -fonttools==4.49.0 +filelock==3.13.3 +fonttools==4.51.0 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.42 +gitpython==3.1.43 greenlet==3.0.3 h11==0.14.0 -httpcore==1.0.4 +httpcore==1.0.5 httpx==0.27.0 identify==2.5.35 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.2 +importlib-metadata==7.1.0 iniconfig==2.0.0 -ipykernel==6.29.3 -ipython==8.22.2 +ipykernel==6.29.4 +ipython==8.23.0 ipywidgets==8.1.2 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 jinja2==3.1.3 -json5==0.9.22 +json5==0.9.24 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 @@ -71,16 +71,16 @@ jupyter-cache==1.0.0 jupyter-client==8.6.1 jupyter-console==6.6.3 jupyter-core==5.7.2 -jupyter-events==0.9.1 +jupyter-events==0.10.0 jupyter-lsp==2.2.4 jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.3 -jupyterlab==4.1.4 +jupyterlab==4.1.5 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 jupyterlab-lsp==5.1.0 -jupyterlab-myst==2.3.1 +jupyterlab-myst==2.3.2 jupyterlab-pygments==0.3.0 jupyterlab-server==2.25.4 jupyterlab-widgets==3.0.10 @@ -90,7 +90,7 @@ livereload==2.6.3 lsprotocol==2023.0.1 markdown-it-py==3.0.0 markupsafe==2.1.5 -matplotlib==3.8.3 +matplotlib==3.8.4 matplotlib-inline==0.1.6 mbstrdecoder==1.1.3 mdit-py-plugins==0.4.0 @@ -102,26 +102,26 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.16.2 +nbconvert==7.16.3 nbdime==4.0.1 -nbformat==5.10.2 +nbformat==5.10.4 nbmake==1.5.3 nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook==7.1.1 +notebook==7.1.2 notebook-shim==0.2.4 numpy==1.26.4 overrides==7.7.0 packaging==24.0 pandocfilters==1.5.1 -parso==0.8.3 +parso==0.8.4 pathspec==0.12.1 pathvalidate==3.2.0 pexpect==4.9.0 -pillow==10.2.0 +pillow==10.3.0 platformdirs==4.2.0 pluggy==1.4.0 -pre-commit==3.6.2 +pre-commit==3.7.0 prometheus-client==0.20.0 prompt-toolkit==3.0.43 psutil==5.9.8 @@ -129,11 +129,11 @@ ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 -pycparser==2.21 +pycparser==2.22 pydantic==2.6.4 pydantic-core==2.16.3 pydata-sphinx-theme==0.15.2 -pygithub==2.2.0 +pygithub==2.3.0 pygments==2.17.2 pyjwt==2.8.0 pynacl==1.5.0 @@ -141,28 +141,28 @@ pyparsing==3.1.2 pyproject-api==1.6.1 pytablewriter==1.2.0 pytest==8.1.1 -pytest-cov==4.1.0 +pytest-cov==5.0.0 pytest-xdist==3.5.0 python-dateutil==2.9.0.post0 python-gitlab==4.4.0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 python-lsp-ruff==2.2.0 -python-lsp-server==1.10.1 +python-lsp-server==1.11.0 pytoolconfig==1.3.1 pytz==2024.1 pyyaml==6.0.1 pyzmq==25.1.2 qtconsole==5.5.1 qtpy==2.4.1 -referencing==0.33.0 +referencing==0.34.0 requests==2.31.0 requests-toolbelt==1.0.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.12.0 +rope==1.13.0 rpds-py==0.18.0 -ruff==0.3.2 +ruff==0.3.5 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 @@ -188,7 +188,7 @@ sphinxcontrib-htmlhelp==2.0.5 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.7 sphinxcontrib-serializinghtml==1.1.10 -sqlalchemy==2.0.28 +sqlalchemy==2.0.29 stack-data==0.6.3 sympy==1.12 tabledata==1.3.3 @@ -197,15 +197,15 @@ tcolorpy==0.1.4 terminado==0.18.1 tinycss2==1.2.1 tornado==6.4 -tox==4.14.1 +tox==4.14.2 traitlets==5.14.2 typepy==1.3.2 -types-docutils==0.20.0.20240311 +types-docutils==0.20.0.20240406 types-pkg-resources==0.1.3 -types-python-dateutil==2.8.19.20240311 +types-python-dateutil==2.9.0.20240316 types-pyyaml==6.0.12.20240311 -types-setuptools==69.1.0.20240310 -typing-extensions==4.10.0 +types-setuptools==69.2.0.20240317 +typing-extensions==4.11.0 ujson==5.9.0 uri-template==1.3.0 urllib3==2.2.1 @@ -217,7 +217,7 @@ websocket-client==1.7.0 wheel==0.43.0 widgetsnbextension==4.0.10 wrapt==1.16.0 -zipp==3.18.0 +zipp==3.18.1 # The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index ded8d9b6..764ce1c9 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -46,7 +46,7 @@ filelock==3.12.2 fonttools==4.38.0 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.42 +gitpython==3.1.43 greenlet==3.0.3 identify==2.5.24 idna==3.6 @@ -115,7 +115,7 @@ notebook-shim==0.2.4 numpy==1.21.6 packaging==24.0 pandocfilters==1.5.1 -parso==0.8.3 +parso==0.8.4 pathspec==0.11.2 pathvalidate==3.2.0 pexpect==4.9.0 @@ -132,9 +132,9 @@ ptyprocess==0.7.0 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydantic==1.10.14 +pydantic==1.10.15 pydata-sphinx-theme==0.13.3 -pygithub==2.2.0 +pygithub==2.3.0 pygments==2.17.2 pyjwt==2.8.0 pynacl==1.5.0 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 2cc5652a..00537c17 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -13,7 +13,7 @@ attrs==23.2.0 babel==2.14.0 backcall==0.2.0 beautifulsoup4==4.12.3 -black==24.2.0 +black==24.3.0 bleach==6.1.0 cachetools==5.3.3 cattrs==23.2.3 @@ -26,7 +26,7 @@ click==8.1.7 colorama==0.4.6 comm==0.2.2 contourpy==1.1.1 -coverage==7.4.3 +coverage==7.4.4 cryptography==42.0.5 cycler==0.12.1 dataproperty==1.0.1 @@ -39,33 +39,33 @@ docstring-to-markdown==0.15 docutils==0.17.1 dominate==2.9.1 exceptiongroup==1.2.0 -execnet==2.0.2 +execnet==2.1.0 executing==2.0.1 fastjsonschema==2.19.1 feynman==2.1.0 -filelock==3.13.1 -fonttools==4.49.0 +filelock==3.13.3 +fonttools==4.51.0 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.42 +gitpython==3.1.43 greenlet==3.0.3 h11==0.14.0 -httpcore==1.0.4 +httpcore==1.0.5 httpx==0.27.0 identify==2.5.35 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.2 -importlib-resources==6.3.0 +importlib-metadata==7.1.0 +importlib-resources==6.4.0 iniconfig==2.0.0 -ipykernel==6.29.3 +ipykernel==6.29.4 ipython==8.12.3 ipywidgets==8.1.2 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 jinja2==3.1.3 -json5==0.9.22 +json5==0.9.24 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 @@ -74,16 +74,16 @@ jupyter-cache==0.6.1 jupyter-client==8.6.1 jupyter-console==6.6.3 jupyter-core==5.7.2 -jupyter-events==0.9.1 +jupyter-events==0.10.0 jupyter-lsp==2.2.4 jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.3 -jupyterlab==4.1.4 +jupyterlab==4.1.5 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 jupyterlab-lsp==5.1.0 -jupyterlab-myst==2.3.1 +jupyterlab-myst==2.3.2 jupyterlab-pygments==0.3.0 jupyterlab-server==2.25.4 jupyterlab-widgets==3.0.10 @@ -105,24 +105,24 @@ mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.6.8 -nbconvert==7.16.2 +nbconvert==7.16.3 nbdime==4.0.1 -nbformat==5.10.2 +nbformat==5.10.4 nbmake==1.5.3 nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook==7.1.1 +notebook==7.1.2 notebook-shim==0.2.4 numpy==1.24.4 overrides==7.7.0 packaging==24.0 pandocfilters==1.5.1 -parso==0.8.3 +parso==0.8.4 pathspec==0.12.1 pathvalidate==3.2.0 pexpect==4.9.0 pickleshare==0.7.5 -pillow==10.2.0 +pillow==10.3.0 pkgutil-resolve-name==1.3.10 platformdirs==4.2.0 pluggy==1.4.0 @@ -134,11 +134,11 @@ ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 -pycparser==2.21 +pycparser==2.22 pydantic==2.6.4 pydantic-core==2.16.3 pydata-sphinx-theme==0.14.4 -pygithub==2.2.0 +pygithub==2.3.0 pygments==2.17.2 pyjwt==2.8.0 pynacl==1.5.0 @@ -146,28 +146,28 @@ pyparsing==3.1.2 pyproject-api==1.6.1 pytablewriter==1.2.0 pytest==8.1.1 -pytest-cov==4.1.0 +pytest-cov==5.0.0 pytest-xdist==3.5.0 python-dateutil==2.9.0.post0 python-gitlab==4.4.0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 python-lsp-ruff==2.2.0 -python-lsp-server==1.10.1 +python-lsp-server==1.11.0 pytoolconfig==1.3.1 pytz==2024.1 pyyaml==6.0.1 pyzmq==25.1.2 qtconsole==5.5.1 qtpy==2.4.1 -referencing==0.33.0 +referencing==0.34.0 requests==2.31.0 requests-toolbelt==1.0.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.12.0 +rope==1.13.0 rpds-py==0.18.0 -ruff==0.3.2 +ruff==0.3.5 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 @@ -193,7 +193,7 @@ sphinxcontrib-htmlhelp==2.0.1 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 -sqlalchemy==2.0.28 +sqlalchemy==2.0.29 stack-data==0.6.3 sympy==1.12 tabledata==1.3.3 @@ -203,15 +203,15 @@ terminado==0.18.1 tinycss2==1.2.1 tomli==2.0.1 tornado==6.4 -tox==4.14.1 +tox==4.14.2 traitlets==5.14.2 typepy==1.3.2 -types-docutils==0.20.0.20240311 +types-docutils==0.20.0.20240406 types-pkg-resources==0.1.3 -types-python-dateutil==2.8.19.20240311 +types-python-dateutil==2.9.0.20240316 types-pyyaml==6.0.12.20240311 -types-setuptools==69.1.0.20240310 -typing-extensions==4.10.0 +types-setuptools==69.2.0.20240317 +typing-extensions==4.11.0 ujson==5.9.0 uri-template==1.3.0 urllib3==2.2.1 @@ -223,7 +223,7 @@ websocket-client==1.7.0 wheel==0.43.0 widgetsnbextension==4.0.10 wrapt==1.16.0 -zipp==3.18.0 +zipp==3.18.1 # The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 399862a7..175acb52 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -12,7 +12,7 @@ async-lru==2.0.4 attrs==23.2.0 babel==2.14.0 beautifulsoup4==4.12.3 -black==24.2.0 +black==24.3.0 bleach==6.1.0 cachetools==5.3.3 cattrs==23.2.3 @@ -24,8 +24,8 @@ charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 comm==0.2.2 -contourpy==1.2.0 -coverage==7.4.3 +contourpy==1.2.1 +coverage==7.4.4 cryptography==42.0.5 cycler==0.12.1 dataproperty==1.0.1 @@ -38,33 +38,33 @@ docstring-to-markdown==0.15 docutils==0.20.1 dominate==2.9.1 exceptiongroup==1.2.0 -execnet==2.0.2 +execnet==2.1.0 executing==2.0.1 fastjsonschema==2.19.1 feynman==2.1.0 -filelock==3.13.1 -fonttools==4.49.0 +filelock==3.13.3 +fonttools==4.51.0 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.42 +gitpython==3.1.43 greenlet==3.0.3 h11==0.14.0 -httpcore==1.0.4 +httpcore==1.0.5 httpx==0.27.0 identify==2.5.35 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.2 -importlib-resources==6.3.0 +importlib-metadata==7.1.0 +importlib-resources==6.4.0 iniconfig==2.0.0 -ipykernel==6.29.3 +ipykernel==6.29.4 ipython==8.18.1 ipywidgets==8.1.2 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 jinja2==3.1.3 -json5==0.9.22 +json5==0.9.24 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 @@ -73,16 +73,16 @@ jupyter-cache==1.0.0 jupyter-client==8.6.1 jupyter-console==6.6.3 jupyter-core==5.7.2 -jupyter-events==0.9.1 +jupyter-events==0.10.0 jupyter-lsp==2.2.4 jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.3 -jupyterlab==4.1.4 +jupyterlab==4.1.5 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 jupyterlab-lsp==5.1.0 -jupyterlab-myst==2.3.1 +jupyterlab-myst==2.3.2 jupyterlab-pygments==0.3.0 jupyterlab-server==2.25.4 jupyterlab-widgets==3.0.10 @@ -92,7 +92,7 @@ livereload==2.6.3 lsprotocol==2023.0.1 markdown-it-py==3.0.0 markupsafe==2.1.5 -matplotlib==3.8.3 +matplotlib==3.8.4 matplotlib-inline==0.1.6 mbstrdecoder==1.1.3 mdit-py-plugins==0.4.0 @@ -104,26 +104,26 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.16.2 +nbconvert==7.16.3 nbdime==4.0.1 -nbformat==5.10.2 +nbformat==5.10.4 nbmake==1.5.3 nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook==7.1.1 +notebook==7.1.2 notebook-shim==0.2.4 numpy==1.26.4 overrides==7.7.0 packaging==24.0 pandocfilters==1.5.1 -parso==0.8.3 +parso==0.8.4 pathspec==0.12.1 pathvalidate==3.2.0 pexpect==4.9.0 -pillow==10.2.0 +pillow==10.3.0 platformdirs==4.2.0 pluggy==1.4.0 -pre-commit==3.6.2 +pre-commit==3.7.0 prometheus-client==0.20.0 prompt-toolkit==3.0.43 psutil==5.9.8 @@ -131,11 +131,11 @@ ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 -pycparser==2.21 +pycparser==2.22 pydantic==2.6.4 pydantic-core==2.16.3 pydata-sphinx-theme==0.15.2 -pygithub==2.2.0 +pygithub==2.3.0 pygments==2.17.2 pyjwt==2.8.0 pynacl==1.5.0 @@ -143,28 +143,28 @@ pyparsing==3.1.2 pyproject-api==1.6.1 pytablewriter==1.2.0 pytest==8.1.1 -pytest-cov==4.1.0 +pytest-cov==5.0.0 pytest-xdist==3.5.0 python-dateutil==2.9.0.post0 python-gitlab==4.4.0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 python-lsp-ruff==2.2.0 -python-lsp-server==1.10.1 +python-lsp-server==1.11.0 pytoolconfig==1.3.1 pytz==2024.1 pyyaml==6.0.1 pyzmq==25.1.2 qtconsole==5.5.1 qtpy==2.4.1 -referencing==0.33.0 +referencing==0.34.0 requests==2.31.0 requests-toolbelt==1.0.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.12.0 +rope==1.13.0 rpds-py==0.18.0 -ruff==0.3.2 +ruff==0.3.5 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 @@ -190,7 +190,7 @@ sphinxcontrib-htmlhelp==2.0.5 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.7 sphinxcontrib-serializinghtml==1.1.10 -sqlalchemy==2.0.28 +sqlalchemy==2.0.29 stack-data==0.6.3 sympy==1.12 tabledata==1.3.3 @@ -200,15 +200,15 @@ terminado==0.18.1 tinycss2==1.2.1 tomli==2.0.1 tornado==6.4 -tox==4.14.1 +tox==4.14.2 traitlets==5.14.2 typepy==1.3.2 -types-docutils==0.20.0.20240311 +types-docutils==0.20.0.20240406 types-pkg-resources==0.1.3 -types-python-dateutil==2.8.19.20240311 +types-python-dateutil==2.9.0.20240316 types-pyyaml==6.0.12.20240311 -types-setuptools==69.1.0.20240310 -typing-extensions==4.10.0 +types-setuptools==69.2.0.20240317 +typing-extensions==4.11.0 ujson==5.9.0 uri-template==1.3.0 urllib3==2.2.1 @@ -220,7 +220,7 @@ websocket-client==1.7.0 wheel==0.43.0 widgetsnbextension==4.0.10 wrapt==1.16.0 -zipp==3.18.0 +zipp==3.18.1 # The following packages were excluded from the output: # setuptools diff --git a/.cspell.json b/.cspell.json index 197d329f..3c040657 100644 --- a/.cspell.json +++ b/.cspell.json @@ -67,6 +67,7 @@ "mypy", "numpy", "pseudoscalar", + "PyPA", "PYTHONHASHSEED", "qrules", "sympy", diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 925b84d6..54ae3bc8 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -10,10 +10,22 @@ jobs: milestone: if: startsWith(github.ref, 'refs/tags') uses: ComPWA/actions/.github/workflows/close-milestone.yml@v1 + package-name: + uses: ComPWA/actions/.github/workflows/get-pypi-name.yml@v1 pypi: + environment: + name: PyPI + url: https://pypi.org/p/${{ needs.package-name.outputs.name }} if: startsWith(github.ref, 'refs/tags') - secrets: inherit - uses: ComPWA/actions/.github/workflows/publish-to-pypi.yml@v1 + name: Publish to PyPI + needs: + - package-name + permissions: + id-token: write + runs-on: ubuntu-22.04 + steps: + - uses: ComPWA/actions/build-pypi-distribution@v1 + - uses: pypa/gh-action-pypi-publish@release/v1 push: if: startsWith(github.ref, 'refs/tags') && !github.event.release.prerelease secrets: inherit diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 52b79f81..cf148994 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,7 +41,7 @@ repos: metadata.vscode - repo: https://github.com/ComPWA/policy - rev: 0.3.1 + rev: 0.3.4 hooks: - id: check-dev-files args: @@ -55,7 +55,7 @@ repos: - id: fix-nbformat-version - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.3.2 + rev: v0.3.5 hooks: - id: ruff args: [--fix] @@ -105,7 +105,7 @@ repos: - --in-place - repo: https://github.com/sirosen/check-jsonschema - rev: 0.28.0 + rev: 0.28.1 hooks: - id: check-jsonschema name: Check project inventory YAML files @@ -115,7 +115,7 @@ repos: args: ["--schemafile", "./docs/software/project-inventory-schema.json"] - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v8.6.0 + rev: v8.6.1 hooks: - id: cspell @@ -141,7 +141,7 @@ repos: - python - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.353 + rev: v1.1.357 hooks: - id: pyright diff --git a/.vscode/settings.json b/.vscode/settings.json index fa0a30a0..f3006037 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,7 +7,8 @@ "rewrap.wrappingColumn": 72 }, "[json]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.wordWrap": "on" }, "[jsonc]": { "editor.defaultFormatter": "esbenp.prettier-vscode" @@ -79,7 +80,6 @@ }, "telemetry.telemetryLevel": "off", "yaml.schemas": { - "./docs/software/project-inventory-schema.json": ["docs/software/*.yml"], - "https://json.schemastore.org/github-workflow.json": "./.github/workflows/requirements.yml" + "./docs/software/project-inventory-schema.json": ["docs/software/*.yml"] } }