From 7d58984865516069af613037f381cc12e30c5649 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Wed, 29 Nov 2023 18:50:25 +0100 Subject: [PATCH 1/7] MAINT: test package on Python 3.12 --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 0c344b8eb..e8357b991 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,6 +17,7 @@ classifiers = [ "Operating System :: OS Independent", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", @@ -170,6 +171,7 @@ preview = true target-version = [ "py310", "py311", + "py312", "py37", "py38", "py39", From b630f41171b4c094ae500c7988f95468171868ef Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Wed, 29 Nov 2023 18:55:22 +0100 Subject: [PATCH 2/7] MAINT: trigger requirements workflow --- .constraints/py3.12.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 .constraints/py3.12.txt diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt new file mode 100644 index 000000000..e69de29bb From dd2a535a081c38d19f5881d5f07de56ccf1e4399 Mon Sep 17 00:00:00 2001 From: GitHub Date: Wed, 29 Nov 2023 17:56:45 +0000 Subject: [PATCH 3/7] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 90 +++++++++--------- .constraints/py3.11.txt | 88 +++++++++--------- .constraints/py3.12.txt | 201 ++++++++++++++++++++++++++++++++++++++++ .constraints/py3.7.txt | 34 +++---- .constraints/py3.8.txt | 80 ++++++++-------- .constraints/py3.9.txt | 90 +++++++++--------- .pre-commit-config.yaml | 12 +-- 7 files changed, 398 insertions(+), 197 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index ac888e030..25d171078 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -6,7 +6,7 @@ # accessible-pygments==0.0.4 alabaster==0.7.13 -anyio==4.0.0 +anyio==4.1.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -18,7 +18,7 @@ beautifulsoup4==4.12.2 black==23.11.0 bleach==6.1.0 cachetools==5.3.2 -certifi==2023.7.22 +certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 @@ -36,25 +36,25 @@ deprecated==1.2.14 distlib==0.3.7 docstring-to-markdown==0.13 docutils==0.17.1 -exceptiongroup==1.1.3 +exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.18.1 +fastjsonschema==2.19.0 filelock==3.13.1 -fonttools==4.44.0 +fonttools==4.45.1 fqdn==1.5.1 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.1 hepunits==2.3.2 -identify==2.5.31 -idna==3.4 +identify==2.5.32 +idna==3.6 imagesize==1.4.1 importlib-metadata==6.8.0 iniconfig==2.0.0 -ipykernel==6.26.0 +ipykernel==6.27.1 ipympl==0.9.3 -ipython==8.17.2 +ipython==8.18.1 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 @@ -62,38 +62,38 @@ jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.2 -jsonschema-specifications==2023.7.1 -jupyter-cache==0.6.1 +jsonschema==4.20.0 +jsonschema-specifications==2023.11.1 +jupyter-cache==1.0.0 jupyter-client==8.6.0 jupyter-core==5.5.0 jupyter-events==0.9.0 -jupyter-lsp==2.2.0 -jupyter-server==2.10.0 +jupyter-lsp==2.2.1 +jupyter-server==2.11.1 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.8 +jupyterlab==4.0.9 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==5.0.0 +jupyterlab-lsp==5.0.1 jupyterlab-myst==2.1.0 -jupyterlab-pygments==0.2.2 -jupyterlab-server==2.25.1 +jupyterlab-pygments==0.3.0 +jupyterlab-server==2.25.2 jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 latexcodec==2.0.1 livereload==2.6.3 markdown-it-py==2.2.0 markupsafe==2.1.3 -matplotlib==3.8.1 +matplotlib==3.8.2 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 mistune==3.0.2 -mpl-interactions==0.23.2 +mpl-interactions==0.24.1 mpmath==1.3.0 -mypy==1.6.1 +mypy==1.7.1 mypy-extensions==1.0.0 -myst-nb==0.17.2 -myst-parser==0.18.1 +myst-nb==1.0.0 +myst-parser==1.0.0 nbclient==0.6.8 nbconvert==7.11.0 nbformat==5.9.2 @@ -101,34 +101,34 @@ nbmake==1.4.6 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook-shim==0.2.3 -numpy==1.26.1 +numpy==1.26.2 overrides==7.4.0 packaging==23.2 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.0 pathspec==0.11.2 -pexpect==4.8.0 +pexpect==4.9.0 pillow==10.1.0 -platformdirs==3.11.0 +platformdirs==4.0.0 pluggy==1.3.0 pre-commit==3.5.0 -prometheus-client==0.18.0 -prompt-toolkit==3.0.39 +prometheus-client==0.19.0 +prompt-toolkit==3.0.41 psutil==5.9.6 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.14.3 -pygments==2.16.1 +pydata-sphinx-theme==0.14.4 +pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 pytest==7.4.3 pytest-cov==4.1.0 pytest-profiling==1.7.0 -pytest-xdist==3.3.1 +pytest-xdist==3.5.0 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 @@ -138,14 +138,14 @@ pytoolconfig==1.2.6 pyyaml==6.0.1 pyzmq==25.1.1 qrules==0.9.8 -referencing==0.30.2 +referencing==0.31.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rich==13.6.0 +rich==13.7.0 rope==1.11.0 -rpds-py==0.12.0 -ruff==0.1.4 +rpds-py==0.13.1 +ruff==0.1.6 send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -172,30 +172,30 @@ sqlalchemy==2.0.23 stack-data==0.6.3 sympy==1.12 tabulate==0.9.0 -terminado==0.17.1 +terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 -tornado==6.3.3 -tox==4.11.3 +tornado==6.4 +tox==4.11.4 tqdm==4.66.1 -traitlets==5.13.0 +traitlets==5.14.0 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 types-python-dateutil==2.8.19.14 types-requests==2.31.0.10 -types-setuptools==68.2.0.0 +types-setuptools==69.0.0.0 typing-extensions==4.8.0 ujson==5.8.0 uri-template==1.3.0 -urllib3==2.0.7 -virtualenv==20.24.6 -wcwidth==0.2.9 +urllib3==2.1.0 +virtualenv==20.24.7 +wcwidth==0.2.12 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.4 -wheel==0.41.3 +wheel==0.42.0 widgetsnbextension==4.0.9 -wrapt==1.15.0 +wrapt==1.16.0 zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index e8bf01057..7041a5141 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -6,7 +6,7 @@ # accessible-pygments==0.0.4 alabaster==0.7.13 -anyio==4.0.0 +anyio==4.1.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -18,7 +18,7 @@ beautifulsoup4==4.12.2 black==23.11.0 bleach==6.1.0 cachetools==5.3.2 -certifi==2023.7.22 +certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 @@ -38,22 +38,22 @@ docstring-to-markdown==0.13 docutils==0.17.1 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.18.1 +fastjsonschema==2.19.0 filelock==3.13.1 -fonttools==4.44.0 +fonttools==4.45.1 fqdn==1.5.1 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.1 hepunits==2.3.2 -identify==2.5.31 -idna==3.4 +identify==2.5.32 +idna==3.6 imagesize==1.4.1 importlib-metadata==6.8.0 iniconfig==2.0.0 -ipykernel==6.26.0 +ipykernel==6.27.1 ipympl==0.9.3 -ipython==8.17.2 +ipython==8.18.1 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 @@ -61,38 +61,38 @@ jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.2 -jsonschema-specifications==2023.7.1 -jupyter-cache==0.6.1 +jsonschema==4.20.0 +jsonschema-specifications==2023.11.1 +jupyter-cache==1.0.0 jupyter-client==8.6.0 jupyter-core==5.5.0 jupyter-events==0.9.0 -jupyter-lsp==2.2.0 -jupyter-server==2.10.0 +jupyter-lsp==2.2.1 +jupyter-server==2.11.1 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.8 +jupyterlab==4.0.9 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==5.0.0 +jupyterlab-lsp==5.0.1 jupyterlab-myst==2.1.0 -jupyterlab-pygments==0.2.2 -jupyterlab-server==2.25.1 +jupyterlab-pygments==0.3.0 +jupyterlab-server==2.25.2 jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 latexcodec==2.0.1 livereload==2.6.3 markdown-it-py==2.2.0 markupsafe==2.1.3 -matplotlib==3.8.1 +matplotlib==3.8.2 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 mistune==3.0.2 -mpl-interactions==0.23.2 +mpl-interactions==0.24.1 mpmath==1.3.0 -mypy==1.6.1 +mypy==1.7.1 mypy-extensions==1.0.0 -myst-nb==0.17.2 -myst-parser==0.18.1 +myst-nb==1.0.0 +myst-parser==1.0.0 nbclient==0.6.8 nbconvert==7.11.0 nbformat==5.9.2 @@ -100,34 +100,34 @@ nbmake==1.4.6 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook-shim==0.2.3 -numpy==1.26.1 +numpy==1.26.2 overrides==7.4.0 packaging==23.2 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.0 pathspec==0.11.2 -pexpect==4.8.0 +pexpect==4.9.0 pillow==10.1.0 -platformdirs==3.11.0 +platformdirs==4.0.0 pluggy==1.3.0 pre-commit==3.5.0 -prometheus-client==0.18.0 -prompt-toolkit==3.0.39 +prometheus-client==0.19.0 +prompt-toolkit==3.0.41 psutil==5.9.6 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.14.3 -pygments==2.16.1 +pydata-sphinx-theme==0.14.4 +pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 pytest==7.4.3 pytest-cov==4.1.0 pytest-profiling==1.7.0 -pytest-xdist==3.3.1 +pytest-xdist==3.5.0 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 @@ -137,14 +137,14 @@ pytoolconfig==1.2.6 pyyaml==6.0.1 pyzmq==25.1.1 qrules==0.9.8 -referencing==0.30.2 +referencing==0.31.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rich==13.6.0 +rich==13.7.0 rope==1.11.0 -rpds-py==0.12.0 -ruff==0.1.4 +rpds-py==0.13.1 +ruff==0.1.6 send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -171,29 +171,29 @@ sqlalchemy==2.0.23 stack-data==0.6.3 sympy==1.12 tabulate==0.9.0 -terminado==0.17.1 +terminado==0.18.0 tinycss2==1.2.1 -tornado==6.3.3 -tox==4.11.3 +tornado==6.4 +tox==4.11.4 tqdm==4.66.1 -traitlets==5.13.0 +traitlets==5.14.0 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 types-python-dateutil==2.8.19.14 types-requests==2.31.0.10 -types-setuptools==68.2.0.0 +types-setuptools==69.0.0.0 typing-extensions==4.8.0 ujson==5.8.0 uri-template==1.3.0 -urllib3==2.0.7 -virtualenv==20.24.6 -wcwidth==0.2.9 +urllib3==2.1.0 +virtualenv==20.24.7 +wcwidth==0.2.12 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.4 -wheel==0.41.3 +wheel==0.42.0 widgetsnbextension==4.0.9 -wrapt==1.15.0 +wrapt==1.16.0 zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt index e69de29bb..4aeb2ee3c 100644 --- a/.constraints/py3.12.txt +++ b/.constraints/py3.12.txt @@ -0,0 +1,201 @@ +# +# This file is autogenerated by pip-compile with Python 3.12 +# by the following command: +# +# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.12.txt --strip-extras --unsafe-package=ampform --unsafe-package=pip --unsafe-package=setuptools --unsafe-package=symplot +# +accessible-pygments==0.0.4 +alabaster==0.7.13 +anyio==4.1.0 +argon2-cffi==23.1.0 +argon2-cffi-bindings==21.2.0 +arrow==1.3.0 +asttokens==2.4.1 +async-lru==2.0.4 +attrs==23.1.0 +babel==2.13.1 +beautifulsoup4==4.12.2 +black==23.11.0 +bleach==6.1.0 +cachetools==5.3.2 +certifi==2023.11.17 +cffi==1.16.0 +cfgv==3.4.0 +chardet==5.2.0 +charset-normalizer==3.3.2 +click==8.1.7 +colorama==0.4.6 +comm==0.2.0 +contourpy==1.2.0 +coverage==7.3.2 +cycler==0.12.1 +debugpy==1.8.0 +decorator==5.1.1 +defusedxml==0.7.1 +deprecated==1.2.14 +distlib==0.3.7 +docstring-to-markdown==0.13 +docutils==0.17.1 +execnet==2.0.2 +executing==2.0.1 +fastjsonschema==2.19.0 +filelock==3.13.1 +fonttools==4.45.1 +fqdn==1.5.1 +gprof2dot==2022.7.29 +graphviz==0.20.1 +greenlet==3.0.1 +hepunits==2.3.2 +identify==2.5.32 +idna==3.6 +imagesize==1.4.1 +importlib-metadata==6.8.0 +iniconfig==2.0.0 +ipykernel==6.27.1 +ipympl==0.9.3 +ipython==8.18.1 +ipython-genutils==0.2.0 +ipywidgets==8.1.1 +isoduration==20.11.0 +jedi==0.19.1 +jinja2==3.1.2 +json5==0.9.14 +jsonpointer==2.4 +jsonschema==4.20.0 +jsonschema-specifications==2023.11.1 +jupyter-cache==1.0.0 +jupyter-client==8.6.0 +jupyter-core==5.5.0 +jupyter-events==0.9.0 +jupyter-lsp==2.2.1 +jupyter-server==2.11.1 +jupyter-server-terminals==0.4.4 +jupyterlab==4.0.9 +jupyterlab-code-formatter==2.2.1 +jupyterlab-lsp==5.0.1 +jupyterlab-myst==2.1.0 +jupyterlab-pygments==0.3.0 +jupyterlab-server==2.25.2 +jupyterlab-widgets==3.0.9 +kiwisolver==1.4.5 +latexcodec==2.0.1 +livereload==2.6.3 +markdown-it-py==2.2.0 +markupsafe==2.1.3 +matplotlib==3.8.2 +matplotlib-inline==0.1.6 +mdit-py-plugins==0.3.5 +mdurl==0.1.2 +mistune==3.0.2 +mpl-interactions==0.24.1 +mpmath==1.3.0 +mypy==1.7.1 +mypy-extensions==1.0.0 +myst-nb==1.0.0 +myst-parser==1.0.0 +nbclient==0.6.8 +nbconvert==7.11.0 +nbformat==5.9.2 +nbmake==1.4.6 +nest-asyncio==1.5.8 +nodeenv==1.8.0 +notebook-shim==0.2.3 +numpy==1.26.2 +overrides==7.4.0 +packaging==23.2 +pandocfilters==1.5.0 +parso==0.8.3 +particle==0.23.0 +pathspec==0.11.2 +pexpect==4.9.0 +pillow==10.1.0 +platformdirs==4.0.0 +pluggy==1.3.0 +pre-commit==3.5.0 +prometheus-client==0.19.0 +prompt-toolkit==3.0.41 +psutil==5.9.6 +ptyprocess==0.7.0 +pure-eval==0.2.2 +pybtex==0.24.0 +pybtex-docutils==1.0.3 +pycparser==2.21 +pydata-sphinx-theme==0.14.4 +pygments==2.17.2 +pyparsing==3.1.1 +pyproject-api==1.6.1 +pytest==7.4.3 +pytest-cov==4.1.0 +pytest-profiling==1.7.0 +pytest-xdist==3.5.0 +python-constraint==1.4.0 +python-dateutil==2.8.2 +python-json-logger==2.0.7 +python-lsp-jsonrpc==1.1.2 +python-lsp-server==1.9.0 +pytoolconfig==1.2.6 +pyyaml==6.0.1 +pyzmq==25.1.1 +qrules==0.9.8 +referencing==0.31.0 +requests==2.31.0 +rfc3339-validator==0.1.4 +rfc3986-validator==0.1.1 +rich==13.7.0 +rope==1.11.0 +rpds-py==0.13.1 +ruff==0.1.6 +send2trash==1.8.2 +six==1.16.0 +sniffio==1.3.0 +snowballstemmer==2.2.0 +soupsieve==2.5 +sphinx==5.3.0 +sphinx-autobuild==2021.3.14 +sphinx-book-theme==1.0.1 +sphinx-codeautolink==0.15.0 +sphinx-comments==0.0.3 +sphinx-copybutton==0.5.2 +sphinx-design==0.5.0 +sphinx-hep-pdgref==0.2.0 +sphinx-thebe==0.3.0 +sphinx-togglebutton==0.3.2 +sphinxcontrib-applehelp==1.0.7 +sphinxcontrib-bibtex==2.6.1 +sphinxcontrib-devhelp==1.0.5 +sphinxcontrib-htmlhelp==2.0.4 +sphinxcontrib-jsmath==1.0.1 +sphinxcontrib-qthelp==1.0.6 +sphinxcontrib-serializinghtml==1.1.9 +sqlalchemy==2.0.23 +stack-data==0.6.3 +sympy==1.12 +tabulate==0.9.0 +terminado==0.18.0 +tinycss2==1.2.1 +tornado==6.4 +tox==4.11.4 +tqdm==4.66.1 +traitlets==5.14.0 +types-docutils==0.20.0.3 +types-pkg-resources==0.1.3 +types-python-dateutil==2.8.19.14 +types-requests==2.31.0.10 +types-setuptools==69.0.0.0 +typing-extensions==4.8.0 +ujson==5.8.0 +uri-template==1.3.0 +urllib3==2.1.0 +virtualenv==20.24.7 +wcwidth==0.2.12 +webcolors==1.13 +webencodings==0.5.1 +websocket-client==1.6.4 +wheel==0.42.0 +widgetsnbextension==4.0.9 +wrapt==1.16.0 +zipp==3.17.0 + +# The following packages are considered to be unsafe in a requirements file: +# ampform +# setuptools diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index c194613ef..9d384b26c 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -20,7 +20,7 @@ black==23.3.0 bleach==6.0.0 cached-property==1.5.2 cachetools==5.3.2 -certifi==2023.7.22 +certifi==2023.11.17 cffi==1.15.1 cfgv==3.3.1 chardet==5.2.0 @@ -38,9 +38,9 @@ distlib==0.3.7 docstring-to-markdown==0.13 docutils==0.17.1 entrypoints==0.4 -exceptiongroup==1.1.3 +exceptiongroup==1.2.0 execnet==2.0.2 -fastjsonschema==2.18.1 +fastjsonschema==2.19.0 filelock==3.12.2 fonttools==4.38.0 fqdn==1.5.1 @@ -49,7 +49,7 @@ graphviz==0.20.1 greenlet==3.0.1 hepunits==2.3.2 identify==2.5.24 -idna==3.4 +idna==3.6 imagesize==1.4.1 importlib-metadata==6.7.0 importlib-resources==5.12.0 @@ -91,7 +91,7 @@ matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 mistune==3.0.2 -mpl-interactions==0.23.2 +mpl-interactions==0.24.1 mpmath==1.3.0 mypy==1.4.1 mypy-extensions==1.0.0 @@ -112,15 +112,15 @@ pandocfilters==1.5.0 parso==0.8.3 particle==0.23.0 pathspec==0.11.2 -pexpect==4.8.0 +pexpect==4.9.0 pickleshare==0.7.5 pillow==9.5.0 pkgutil-resolve-name==1.3.10 -platformdirs==3.11.0 +platformdirs==4.0.0 pluggy==1.2.0 pre-commit==2.21.0 prometheus-client==0.17.1 -prompt-toolkit==3.0.39 +prompt-toolkit==3.0.41 psutil==5.9.6 ptyprocess==0.7.0 pybtex==0.24.0 @@ -128,14 +128,14 @@ pybtex-docutils==1.0.3 pycparser==2.21 pydantic==1.10.13 pydata-sphinx-theme==0.13.3 -pygments==2.16.1 +pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.5.3 pyrsistent==0.19.3 pytest==7.4.3 pytest-cov==4.1.0 pytest-profiling==1.7.0 -pytest-xdist==3.3.1 +pytest-xdist==3.5.0 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 @@ -149,9 +149,9 @@ qrules==0.9.8 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rich==13.6.0 +rich==13.7.0 rope==1.9.0 -ruff==0.1.4 +ruff==0.1.6 send2trash==1.8.2 singledispatchmethod==1.0 ; python_version < "3.8.0" six==1.16.0 @@ -189,19 +189,19 @@ typed-ast==1.5.5 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 types-requests==2.31.0.10 -types-setuptools==68.2.0.0 +types-setuptools==69.0.0.0 typing-extensions==4.7.1 ; python_version < "3.8.0" ujson==5.7.0 uri-template==1.3.0 urllib3==2.0.7 -virtualenv==20.24.6 -wcwidth==0.2.9 +virtualenv==20.24.7 +wcwidth==0.2.12 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.1 -wheel==0.41.3 +wheel==0.42.0 widgetsnbextension==4.0.9 -wrapt==1.15.0 +wrapt==1.16.0 y-py==0.5.9 ypy-websocket==0.8.2 zipp==3.15.0 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 0a7d0a21e..1e80a5619 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -6,7 +6,7 @@ # accessible-pygments==0.0.4 alabaster==0.7.13 -anyio==4.0.0 +anyio==4.1.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -19,7 +19,7 @@ beautifulsoup4==4.12.2 black==23.11.0 bleach==6.1.0 cachetools==5.3.2 -certifi==2023.7.22 +certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 @@ -37,24 +37,24 @@ deprecated==1.2.14 distlib==0.3.7 docstring-to-markdown==0.13 docutils==0.17.1 -exceptiongroup==1.1.3 +exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.18.1 +fastjsonschema==2.19.0 filelock==3.13.1 -fonttools==4.44.0 +fonttools==4.45.1 fqdn==1.5.1 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.1 hepunits==2.3.2 -identify==2.5.31 -idna==3.4 +identify==2.5.32 +idna==3.6 imagesize==1.4.1 importlib-metadata==6.8.0 importlib-resources==6.1.1 iniconfig==2.0.0 -ipykernel==6.26.0 +ipykernel==6.27.1 ipympl==0.9.3 ipython==8.12.3 ipython-genutils==0.2.0 @@ -64,35 +64,35 @@ jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.2 -jsonschema-specifications==2023.7.1 +jsonschema==4.20.0 +jsonschema-specifications==2023.11.1 jupyter-cache==0.6.1 jupyter-client==8.6.0 jupyter-core==5.5.0 jupyter-events==0.9.0 -jupyter-lsp==2.2.0 -jupyter-server==2.10.0 +jupyter-lsp==2.2.1 +jupyter-server==2.11.1 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.8 +jupyterlab==4.0.9 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==5.0.0 +jupyterlab-lsp==5.0.1 jupyterlab-myst==2.1.0 -jupyterlab-pygments==0.2.2 -jupyterlab-server==2.25.1 +jupyterlab-pygments==0.3.0 +jupyterlab-server==2.25.2 jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 latexcodec==2.0.1 livereload==2.6.3 markdown-it-py==2.2.0 markupsafe==2.1.3 -matplotlib==3.7.3 +matplotlib==3.7.4 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 mistune==3.0.2 -mpl-interactions==0.23.2 +mpl-interactions==0.24.1 mpmath==1.3.0 -mypy==1.6.1 +mypy==1.7.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 @@ -110,29 +110,29 @@ pandocfilters==1.5.0 parso==0.8.3 particle==0.23.0 pathspec==0.11.2 -pexpect==4.8.0 +pexpect==4.9.0 pickleshare==0.7.5 pillow==10.1.0 pkgutil-resolve-name==1.3.10 -platformdirs==3.11.0 +platformdirs==4.0.0 pluggy==1.3.0 pre-commit==3.5.0 -prometheus-client==0.18.0 -prompt-toolkit==3.0.39 +prometheus-client==0.19.0 +prompt-toolkit==3.0.41 psutil==5.9.6 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.14.3 -pygments==2.16.1 +pydata-sphinx-theme==0.14.4 +pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 pytest==7.4.3 pytest-cov==4.1.0 pytest-profiling==1.7.0 -pytest-xdist==3.3.1 +pytest-xdist==3.5.0 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 @@ -143,14 +143,14 @@ pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.1 qrules==0.9.8 -referencing==0.30.2 +referencing==0.31.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rich==13.6.0 +rich==13.7.0 rope==1.11.0 -rpds-py==0.12.0 -ruff==0.1.4 +rpds-py==0.13.1 +ruff==0.1.6 send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -177,30 +177,30 @@ sqlalchemy==2.0.23 stack-data==0.6.3 sympy==1.12 tabulate==0.9.0 -terminado==0.17.1 +terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 -tornado==6.3.3 -tox==4.11.3 +tornado==6.4 +tox==4.11.4 tqdm==4.66.1 -traitlets==5.13.0 +traitlets==5.14.0 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 types-python-dateutil==2.8.19.14 types-requests==2.31.0.10 -types-setuptools==68.2.0.0 +types-setuptools==69.0.0.0 typing-extensions==4.8.0 ujson==5.8.0 uri-template==1.3.0 -urllib3==2.0.7 -virtualenv==20.24.6 -wcwidth==0.2.9 +urllib3==2.1.0 +virtualenv==20.24.7 +wcwidth==0.2.12 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.4 -wheel==0.41.3 +wheel==0.42.0 widgetsnbextension==4.0.9 -wrapt==1.15.0 +wrapt==1.16.0 zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index abbbefbf1..dc317d965 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -6,7 +6,7 @@ # accessible-pygments==0.0.4 alabaster==0.7.13 -anyio==4.0.0 +anyio==4.1.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -18,7 +18,7 @@ beautifulsoup4==4.12.2 black==23.11.0 bleach==6.1.0 cachetools==5.3.2 -certifi==2023.7.22 +certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 @@ -36,26 +36,26 @@ deprecated==1.2.14 distlib==0.3.7 docstring-to-markdown==0.13 docutils==0.17.1 -exceptiongroup==1.1.3 +exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.18.1 +fastjsonschema==2.19.0 filelock==3.13.1 -fonttools==4.44.0 +fonttools==4.45.1 fqdn==1.5.1 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.1 hepunits==2.3.2 -identify==2.5.31 -idna==3.4 +identify==2.5.32 +idna==3.6 imagesize==1.4.1 importlib-metadata==6.8.0 importlib-resources==6.1.1 iniconfig==2.0.0 -ipykernel==6.26.0 +ipykernel==6.27.1 ipympl==0.9.3 -ipython==8.17.2 +ipython==8.18.1 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 @@ -63,38 +63,38 @@ jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.2 -jsonschema-specifications==2023.7.1 -jupyter-cache==0.6.1 +jsonschema==4.20.0 +jsonschema-specifications==2023.11.1 +jupyter-cache==1.0.0 jupyter-client==8.6.0 jupyter-core==5.5.0 jupyter-events==0.9.0 -jupyter-lsp==2.2.0 -jupyter-server==2.10.0 +jupyter-lsp==2.2.1 +jupyter-server==2.11.1 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.8 +jupyterlab==4.0.9 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==5.0.0 +jupyterlab-lsp==5.0.1 jupyterlab-myst==2.1.0 -jupyterlab-pygments==0.2.2 -jupyterlab-server==2.25.1 +jupyterlab-pygments==0.3.0 +jupyterlab-server==2.25.2 jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 latexcodec==2.0.1 livereload==2.6.3 markdown-it-py==2.2.0 markupsafe==2.1.3 -matplotlib==3.8.1 +matplotlib==3.8.2 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 mistune==3.0.2 -mpl-interactions==0.23.2 +mpl-interactions==0.24.1 mpmath==1.3.0 -mypy==1.6.1 +mypy==1.7.1 mypy-extensions==1.0.0 -myst-nb==0.17.2 -myst-parser==0.18.1 +myst-nb==1.0.0 +myst-parser==1.0.0 nbclient==0.6.8 nbconvert==7.11.0 nbformat==5.9.2 @@ -102,34 +102,34 @@ nbmake==1.4.6 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook-shim==0.2.3 -numpy==1.26.1 +numpy==1.26.2 overrides==7.4.0 packaging==23.2 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.0 pathspec==0.11.2 -pexpect==4.8.0 +pexpect==4.9.0 pillow==10.1.0 -platformdirs==3.11.0 +platformdirs==4.0.0 pluggy==1.3.0 pre-commit==3.5.0 -prometheus-client==0.18.0 -prompt-toolkit==3.0.39 +prometheus-client==0.19.0 +prompt-toolkit==3.0.41 psutil==5.9.6 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.14.3 -pygments==2.16.1 +pydata-sphinx-theme==0.14.4 +pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 pytest==7.4.3 pytest-cov==4.1.0 pytest-profiling==1.7.0 -pytest-xdist==3.3.1 +pytest-xdist==3.5.0 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 @@ -139,14 +139,14 @@ pytoolconfig==1.2.6 pyyaml==6.0.1 pyzmq==25.1.1 qrules==0.9.8 -referencing==0.30.2 +referencing==0.31.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rich==13.6.0 +rich==13.7.0 rope==1.11.0 -rpds-py==0.12.0 -ruff==0.1.4 +rpds-py==0.13.1 +ruff==0.1.6 send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -173,30 +173,30 @@ sqlalchemy==2.0.23 stack-data==0.6.3 sympy==1.12 tabulate==0.9.0 -terminado==0.17.1 +terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 -tornado==6.3.3 -tox==4.11.3 +tornado==6.4 +tox==4.11.4 tqdm==4.66.1 -traitlets==5.13.0 +traitlets==5.14.0 types-docutils==0.20.0.3 types-pkg-resources==0.1.3 types-python-dateutil==2.8.19.14 types-requests==2.31.0.10 -types-setuptools==68.2.0.0 +types-setuptools==69.0.0.0 typing-extensions==4.8.0 ujson==5.8.0 uri-template==1.3.0 -urllib3==2.0.7 -virtualenv==20.24.6 -wcwidth==0.2.9 +urllib3==2.1.0 +virtualenv==20.24.7 +wcwidth==0.2.12 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.4 -wheel==0.41.3 +wheel==0.42.0 widgetsnbextension==4.0.9 -wrapt==1.15.0 +wrapt==1.16.0 zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 25f7a094c..888628d2f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -38,7 +38,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.1 + rev: 0.1.3 hooks: - id: check-dev-files args: @@ -56,7 +56,7 @@ repos: - --extras-require=doc,viz - repo: https://github.com/nbQA-dev/nbQA - rev: 1.7.0 + rev: 1.7.1 hooks: - id: nbqa-pyupgrade args: @@ -79,7 +79,7 @@ repos: - id: blacken-docs - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.27.1 + rev: 0.27.2 hooks: - id: check-jsonschema name: Check CITATION.cff @@ -143,12 +143,12 @@ repos: metadata.vscode - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.3 + rev: v3.1.0 hooks: - id: prettier - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.334 + rev: v1.1.337 hooks: - id: pyright @@ -160,7 +160,7 @@ repos: - --py37-plus - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.4 + rev: v0.1.6 hooks: - id: ruff args: From d15e27c420959dceb8d564d9638e6a61a56f156c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 29 Nov 2023 17:58:08 +0000 Subject: [PATCH 4/7] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .cspell.json | 7 ++++++- .vscode/settings.json | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.cspell.json b/.cspell.json index 62904d07b..c5df8e544 100644 --- a/.cspell.json +++ b/.cspell.json @@ -1,6 +1,11 @@ { "allowCompoundWords": true, - "enableFiletypes": ["git-commit", "julia", "jupyter"], + "enableFiletypes": [ + "git-commit", + "github-actions-workflow", + "julia", + "jupyter" + ], "flagWords": [ "analyse", "colour", diff --git a/.vscode/settings.json b/.vscode/settings.json index 0fbe1d772..2c0096b2d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -31,6 +31,7 @@ "coverage-gutters.showGutterCoverage": false, "coverage-gutters.showLineCoverage": true, "cSpell.enabled": true, + "diffEditor.experimental.showMoves": true, "editor.formatOnSave": true, "files.watcherExclude": { "**/*_cache/**": true, From 9521703642aebcd933fe0b49b108a3ee861f0993 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Wed, 29 Nov 2023 19:04:08 +0100 Subject: [PATCH 5/7] FIX: ignore Pytest deprecation warnings --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index e8357b991..4c77f36e2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -283,10 +283,12 @@ addopts = ''' filterwarnings = [ "error", "ignore:.*invalid value encountered in sqrt.*:RuntimeWarning", + "ignore:.*is deprecated and slated for removal in Python 3.14:DeprecationWarning", "ignore:Passing a schema to Validator.iter_errors is deprecated.*:DeprecationWarning", "ignore:The .* argument to NotebookFile is deprecated.*:pytest.PytestRemovedIn8Warning", "ignore:The distutils package is deprecated.*:DeprecationWarning", "ignore:The distutils.* module is deprecated.*:DeprecationWarning", + "ignore:datetime.datetime.utcfromtimestamp\\(\\) is deprecated and scheduled for removal in a future version.*:DeprecationWarning", "ignore:unclosed .*:ResourceWarning", 'ignore:Widget\..* is deprecated\.:DeprecationWarning', ] From d5adf3f6021f876f6467c3f580877e87fb76e501 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Wed, 29 Nov 2023 19:28:37 +0100 Subject: [PATCH 6/7] MAINT: relink API to `mpl-interactions` --- docs/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 9104ab0bb..6839106fb 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -288,6 +288,9 @@ def fetch_logo(url: str, output_path: str) -> None: "8.12.2": "8.12.1", "8.12.3": "8.12.1", }, + "mpl-interactions": { + "0.24.1": "0.24.0", + }, "ipywidgets": { "8.0.3": "8.0.5", "8.0.4": "8.0.5", From 6ae0e79b09d000e5aeec11187248213d56102ebe Mon Sep 17 00:00:00 2001 From: GitHub Date: Sat, 2 Dec 2023 17:11:42 +0000 Subject: [PATCH 7/7] MAINT: update pip constraints and pre-commit --- .constraints/py3.12.txt | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt index 4aeb2ee3c..8f0481f4f 100644 --- a/.constraints/py3.12.txt +++ b/.constraints/py3.12.txt @@ -32,7 +32,6 @@ cycler==0.12.1 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 -deprecated==1.2.14 distlib==0.3.7 docstring-to-markdown==0.13 docutils==0.17.1 @@ -40,7 +39,7 @@ execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.0 filelock==3.13.1 -fonttools==4.45.1 +fonttools==4.46.0 fqdn==1.5.1 gprof2dot==2022.7.29 graphviz==0.20.1 @@ -49,7 +48,7 @@ hepunits==2.3.2 identify==2.5.32 idna==3.6 imagesize==1.4.1 -importlib-metadata==6.8.0 +importlib-metadata==6.9.0 iniconfig==2.0.0 ipykernel==6.27.1 ipympl==0.9.3 @@ -62,7 +61,7 @@ jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 -jsonschema-specifications==2023.11.1 +jsonschema-specifications==2023.11.2 jupyter-cache==1.0.0 jupyter-client==8.6.0 jupyter-core==5.5.0 @@ -105,7 +104,7 @@ overrides==7.4.0 packaging==23.2 pandocfilters==1.5.0 parso==0.8.3 -particle==0.23.0 +particle==0.23.1 pathspec==0.11.2 pexpect==4.9.0 pillow==10.1.0 @@ -137,13 +136,13 @@ pytoolconfig==1.2.6 pyyaml==6.0.1 pyzmq==25.1.1 qrules==0.9.8 -referencing==0.31.0 +referencing==0.31.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rich==13.7.0 rope==1.11.0 -rpds-py==0.13.1 +rpds-py==0.13.2 ruff==0.1.6 send2trash==1.8.2 six==1.16.0 @@ -186,14 +185,13 @@ typing-extensions==4.8.0 ujson==5.8.0 uri-template==1.3.0 urllib3==2.1.0 -virtualenv==20.24.7 +virtualenv==20.25.0 wcwidth==0.2.12 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.4 wheel==0.42.0 widgetsnbextension==4.0.9 -wrapt==1.16.0 zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: