From 8a211508ccfa0a97fd1db9a03bc799de8679b54c Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Sat, 2 Dec 2023 17:57:47 +0100 Subject: [PATCH] MAINT: update pip constraints and pre-commit (#236) Co-authored-by: GitHub Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .constraints/.gitignore | 1 + .constraints/py3.10.txt | 94 ++++++++++++++++++++--------------------- .constraints/py3.11.txt | 92 ++++++++++++++++++++-------------------- .constraints/py3.6.txt | 10 ++--- .constraints/py3.7.txt | 32 +++++++------- .constraints/py3.8.txt | 76 ++++++++++++++++----------------- .constraints/py3.9.txt | 94 ++++++++++++++++++++--------------------- .cspell.json | 7 ++- .pre-commit-config.yaml | 13 +++--- .vscode/settings.json | 1 + environment.yml | 2 + 11 files changed, 211 insertions(+), 211 deletions(-) create mode 100644 .constraints/.gitignore diff --git a/.constraints/.gitignore b/.constraints/.gitignore new file mode 100644 index 00000000..36a07ad0 --- /dev/null +++ b/.constraints/.gitignore @@ -0,0 +1 @@ +!py3.*.txt diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index c5e49540..96037c0d 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 @@ -30,61 +30,60 @@ coverage==7.3.2 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 -exceptiongroup==1.1.3 +docutils==0.19 +exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.18.1 +fastjsonschema==2.19.0 filelock==3.13.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-metadata==6.9.0 iniconfig==2.0.0 -ipykernel==6.26.0 -ipython==8.17.2 +ipykernel==6.27.1 +ipython==8.18.1 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.19.2 -jsonschema-specifications==2023.7.1 -jupyter-cache==0.6.1 +jsonschema==4.20.0 +jsonschema-specifications==2023.11.2 +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 ; python_version >= "3.7.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 latexcodec==2.0.1 livereload==2.6.3 -markdown-it-py==2.2.0 +markdown-it-py==3.0.0 markupsafe==2.1.3 matplotlib-inline==0.1.6 -mdit-py-plugins==0.3.5 +mdit-py-plugins==0.4.0 mdurl==0.1.2 mistune==3.0.2 -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==2.0.0 nbclient==0.6.8 nbconvert==7.11.0 nbformat==5.9.2 @@ -96,29 +95,29 @@ 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.8.0 -platformdirs==3.11.0 +pexpect==4.9.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 +pydata-sphinx-theme==0.14.4 pydot==1.4.2 -pygments==2.16.1 +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 @@ -127,19 +126,19 @@ python-lsp-server==1.9.0 pytoolconfig==1.2.6 pyyaml==6.0.1 pyzmq==25.1.1 -referencing==0.30.2 +referencing==0.31.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 -rpds-py==0.12.0 -ruff==0.1.4 ; python_version >= "3.7.0" +rpds-py==0.13.2 +ruff==0.1.6 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 snowballstemmer==2.2.0 soupsieve==2.5 -sphinx==5.3.0 +sphinx==6.2.1 sphinx-autobuild==2021.3.14 sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 @@ -150,7 +149,7 @@ 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-bibtex==2.5.0 sphinxcontrib-devhelp==1.0.5 sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 @@ -160,31 +159,30 @@ sphobjinv==2.3.1 sqlalchemy==2.0.23 stack-data==0.6.3 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-pyyaml==6.0.12.12 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.25.0 +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 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 e80da92e..50033f93 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 @@ -30,60 +30,59 @@ coverage==7.3.2 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 +docutils==0.19 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.18.1 +fastjsonschema==2.19.0 filelock==3.13.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-metadata==6.9.0 iniconfig==2.0.0 -ipykernel==6.26.0 -ipython==8.17.2 +ipykernel==6.27.1 +ipython==8.18.1 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.19.2 -jsonschema-specifications==2023.7.1 -jupyter-cache==0.6.1 +jsonschema==4.20.0 +jsonschema-specifications==2023.11.2 +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 ; python_version >= "3.7.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 latexcodec==2.0.1 livereload==2.6.3 -markdown-it-py==2.2.0 +markdown-it-py==3.0.0 markupsafe==2.1.3 matplotlib-inline==0.1.6 -mdit-py-plugins==0.3.5 +mdit-py-plugins==0.4.0 mdurl==0.1.2 mistune==3.0.2 -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==2.0.0 nbclient==0.6.8 nbconvert==7.11.0 nbformat==5.9.2 @@ -95,29 +94,29 @@ 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.8.0 -platformdirs==3.11.0 +pexpect==4.9.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 +pydata-sphinx-theme==0.14.4 pydot==1.4.2 -pygments==2.16.1 +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 @@ -126,19 +125,19 @@ python-lsp-server==1.9.0 pytoolconfig==1.2.6 pyyaml==6.0.1 pyzmq==25.1.1 -referencing==0.30.2 +referencing==0.31.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 -rpds-py==0.12.0 -ruff==0.1.4 ; python_version >= "3.7.0" +rpds-py==0.13.2 +ruff==0.1.6 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 snowballstemmer==2.2.0 soupsieve==2.5 -sphinx==5.3.0 +sphinx==6.2.1 sphinx-autobuild==2021.3.14 sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 @@ -149,7 +148,7 @@ 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-bibtex==2.5.0 sphinxcontrib-devhelp==1.0.5 sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 @@ -159,30 +158,29 @@ sphobjinv==2.3.1 sqlalchemy==2.0.23 stack-data==0.6.3 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-pyyaml==6.0.12.12 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.25.0 +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 zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: diff --git a/.constraints/py3.6.txt b/.constraints/py3.6.txt index 0ad180ed..cd55c005 100644 --- a/.constraints/py3.6.txt +++ b/.constraints/py3.6.txt @@ -15,7 +15,7 @@ backcall==0.2.0 beautifulsoup4==4.12.2 black==22.8.0 bleach==4.1.0 -certifi==2023.7.22 +certifi==2023.11.17 cffi==1.15.1 cfgv==3.3.1 charset-normalizer==2.0.12 @@ -39,7 +39,7 @@ graphviz==0.19.1 greenlet==2.0.2 hepunits==2.2.1 identify==2.4.4 -idna==3.4 +idna==3.6 imagesize==1.4.1 immutables==0.19 importlib-metadata==4.8.3 ; python_version < "3.8.0" @@ -79,7 +79,7 @@ myst-parser==0.15.2 nbclassic==0.3.5 nbclient==0.5.9 nbconvert==6.0.7 -nbdime==3.2.1 +nbdime==4.0.1 nbformat==5.1.3 nbmake==1.2.1 nest-asyncio==1.5.8 @@ -90,7 +90,7 @@ pandocfilters==1.5.0 parso==0.7.1 particle==0.20.1 pathspec==0.9.0 -pexpect==4.8.0 +pexpect==4.9.0 pickleshare==0.7.5 platformdirs==2.4.0 pluggy==1.0.0 @@ -165,7 +165,7 @@ typing-extensions==4.1.1 ; python_version < "3.10.0" ujson==4.3.0 urllib3==1.26.18 virtualenv==20.15.1 ; python_version < "3.7.0" -wcwidth==0.2.9 +wcwidth==0.2.12 webencodings==0.5.1 websocket-client==1.3.1 wheel==0.37.1 diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index 6ae4f38e..4ba68c0c 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 @@ -32,14 +32,13 @@ coverage==7.2.7 debugpy==1.7.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 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 fqdn==1.5.1 gprof2dot==2022.7.29 @@ -47,7 +46,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 ; python_version < "3.8.0" importlib-resources==5.12.0 @@ -102,16 +101,16 @@ notebook-shim==0.2.3 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.8.0 +pexpect==4.9.0 pickleshare==0.7.5 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 @@ -120,14 +119,14 @@ pycparser==2.21 pydantic==1.10.13 pydata-sphinx-theme==0.13.3 pydot==1.4.2 -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 @@ -141,7 +140,7 @@ requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.9.0 -ruff==0.1.4 ; python_version >= "3.7.0" +ruff==0.1.6 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -179,19 +178,18 @@ types-docutils==0.20.0.3 types-pkg-resources==0.1.3 types-pyyaml==6.0.12.12 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.10.0" ujson==5.7.0 uri-template==1.3.0 urllib3==2.0.7 -virtualenv==20.24.6 -wcwidth==0.2.9 +virtualenv==20.25.0 +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 y-py==0.5.9 ypy-websocket==0.8.2 ; python_version == "3.7.*" zipp==3.15.0 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index bf3a100f..1de04bea 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 @@ -31,27 +31,26 @@ coverage==7.3.2 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 -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 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-metadata==6.9.0 importlib-resources==6.1.1 iniconfig==2.0.0 -ipykernel==6.26.0 +ipykernel==6.27.1 ipython==8.12.3 ipywidgets==8.1.1 isoduration==20.11.0 @@ -59,21 +58,21 @@ 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.2 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 ; python_version >= "3.7.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 latexcodec==2.0.1 livereload==2.6.3 @@ -83,7 +82,7 @@ matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 mistune==3.0.2 -mypy==1.6.1 +mypy==1.7.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 @@ -98,31 +97,31 @@ 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.8.0 +pexpect==4.9.0 pickleshare==0.7.5 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 +pydata-sphinx-theme==0.14.4 pydot==1.4.2 -pygments==2.16.1 +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 @@ -132,13 +131,13 @@ pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.1 -referencing==0.30.2 +referencing==0.31.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 -rpds-py==0.12.0 -ruff==0.1.4 ; python_version >= "3.7.0" +rpds-py==0.13.2 +ruff==0.1.6 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -165,31 +164,30 @@ sphobjinv==2.3.1 sqlalchemy==2.0.23 stack-data==0.6.3 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-pyyaml==6.0.12.12 types-requests==2.31.0.10 -types-setuptools==68.2.0.0 +types-setuptools==69.0.0.0 typing-extensions==4.8.0 ; python_version < "3.10.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.25.0 +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 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 5c8f6e00..b5670cbb 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 @@ -30,61 +30,60 @@ coverage==7.3.2 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 -exceptiongroup==1.1.3 +docutils==0.19 +exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.18.1 +fastjsonschema==2.19.0 filelock==3.13.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-metadata==6.9.0 iniconfig==2.0.0 -ipykernel==6.26.0 -ipython==8.17.2 +ipykernel==6.27.1 +ipython==8.18.1 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.19.2 -jsonschema-specifications==2023.7.1 -jupyter-cache==0.6.1 +jsonschema==4.20.0 +jsonschema-specifications==2023.11.2 +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 ; python_version >= "3.7.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 latexcodec==2.0.1 livereload==2.6.3 -markdown-it-py==2.2.0 +markdown-it-py==3.0.0 markupsafe==2.1.3 matplotlib-inline==0.1.6 -mdit-py-plugins==0.3.5 +mdit-py-plugins==0.4.0 mdurl==0.1.2 mistune==3.0.2 -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==2.0.0 nbclient==0.6.8 nbconvert==7.11.0 nbformat==5.9.2 @@ -96,29 +95,29 @@ 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.8.0 -platformdirs==3.11.0 +pexpect==4.9.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 +pydata-sphinx-theme==0.14.4 pydot==1.4.2 -pygments==2.16.1 +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 @@ -127,19 +126,19 @@ python-lsp-server==1.9.0 pytoolconfig==1.2.6 pyyaml==6.0.1 pyzmq==25.1.1 -referencing==0.30.2 +referencing==0.31.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 -rpds-py==0.12.0 -ruff==0.1.4 ; python_version >= "3.7.0" +rpds-py==0.13.2 +ruff==0.1.6 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 snowballstemmer==2.2.0 soupsieve==2.5 -sphinx==5.3.0 +sphinx==6.2.1 sphinx-autobuild==2021.3.14 sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 @@ -150,7 +149,7 @@ 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-bibtex==2.5.0 sphinxcontrib-devhelp==1.0.5 sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 @@ -160,31 +159,30 @@ sphobjinv==2.3.1 sqlalchemy==2.0.23 stack-data==0.6.3 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-pyyaml==6.0.12.12 types-requests==2.31.0.10 -types-setuptools==68.2.0.0 +types-setuptools==69.0.0.0 typing-extensions==4.8.0 ; python_version < "3.10.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.25.0 +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 zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: diff --git a/.cspell.json b/.cspell.json index e813606c..0662c449 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/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4222646b..d4cc8011 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,6 +4,7 @@ ci: skip: - check-jsonschema - mypy + - prettier - pyright - taplo @@ -37,7 +38,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.1 + rev: 0.1.4 hooks: - id: check-dev-files args: @@ -56,7 +57,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 +80,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 +144,12 @@ repos: metadata.vscode - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.3 + rev: v4.0.0-alpha.3 hooks: - id: prettier - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.334 + rev: v1.1.338 hooks: - id: pyright @@ -160,7 +161,7 @@ repos: - --py36-plus - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.4 + rev: v0.1.6 hooks: - id: ruff args: diff --git a/.vscode/settings.json b/.vscode/settings.json index 22f1c923..e21cbed7 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, diff --git a/environment.yml b/environment.yml index e763ef04..4117652f 100644 --- a/environment.yml +++ b/environment.yml @@ -9,3 +9,5 @@ dependencies: - | -c .constraints/py3.8.txt -e .[dev] +variables: + PRETTIER_LEGACY_CLI: "1"