diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 35d2f964..328007c6 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -2,7 +2,7 @@ # This file is autogenerated by pip-compile with Python 3.10 # by the following command: # -# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.10.txt --strip-extras setup.py +# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.10.txt --strip-extras # accessible-pygments==0.0.4 alabaster==0.7.13 @@ -11,66 +11,66 @@ argon2-cffi==21.3.0 argon2-cffi-bindings==21.2.0 arrow==1.2.3 asttokens==2.2.1 -async-lru==2.0.2 +async-lru==2.0.4 attrs==23.1.0 babel==2.12.1 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.3.0 +black==23.7.0 bleach==6.0.0 cachetools==5.3.1 -certifi==2023.5.7 +certifi==2023.7.22 cffi==1.15.1 cfgv==3.3.1 -chardet==5.1.0 -charset-normalizer==3.1.0 -click==8.1.4 +chardet==5.2.0 +charset-normalizer==3.2.0 +click==8.1.6 colorama==0.4.6 -comm==0.1.3 +comm==0.1.4 coverage==7.2.7 debugpy==1.6.7 decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 -distlib==0.3.6 +distlib==0.3.7 docutils==0.19 exceptiongroup==1.1.2 -execnet==1.9.0 +execnet==2.0.2 executing==1.2.0 -fastjsonschema==2.17.1 +fastjsonschema==2.18.0 filelock==3.12.2 fqdn==1.5.1 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==2.0.2 hepunits==2.3.2 -identify==2.5.24 +identify==2.5.26 idna==3.4 imagesize==1.4.1 -importlib-metadata==6.7.0 +importlib-metadata==6.8.0 iniconfig==2.0.0 -ipykernel==6.24.0 +ipykernel==6.25.1 ipython==8.14.0 -ipywidgets==8.0.7 +ipywidgets==8.1.0 isoduration==20.11.0 -jedi==0.18.2 +jedi==0.19.0 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.18.0 -jsonschema-specifications==2023.6.1 +jsonschema==4.19.0 +jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 jupyter-client==8.3.0 jupyter-core==5.3.1 -jupyter-events==0.6.3 +jupyter-events==0.7.0 jupyter-lsp==2.2.0 jupyter-server==2.7.0 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.2 +jupyterlab==4.0.4 jupyterlab-code-formatter==2.2.1 jupyterlab-myst==2.0.1 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 -jupyterlab-server==2.23.0 +jupyterlab-server==2.24.0 jupyterlab-widgets==3.0.8 latexcodec==2.0.1 livereload==2.6.3 @@ -85,24 +85,24 @@ mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.6.8 -nbconvert==7.6.0 -nbformat==5.9.0 +nbconvert==7.7.3 +nbformat==5.9.2 nbmake==1.4.1 -nest-asyncio==1.5.6 +nest-asyncio==1.5.7 nodeenv==1.8.0 notebook-shim==0.2.3 -overrides==7.3.1 +overrides==7.4.0 packaging==23.1 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.0 -pathspec==0.11.1 +pathspec==0.11.2 pexpect==4.8.0 pickleshare==0.7.5 -platformdirs==3.8.1 +platformdirs==3.10.0 pluggy==1.2.0 pre-commit==3.3.3 -prometheus-client==0.17.0 +prometheus-client==0.17.1 prompt-toolkit==3.0.39 psutil==5.9.5 ptyprocess==0.7.0 @@ -110,11 +110,11 @@ pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.2 pycparser==2.21 -pydantic==1.10.11 +pydantic==1.10.12 pydata-sphinx-theme==0.13.3 pydot==1.4.2 -pygments==2.15.1 -pyparsing==3.1.0 +pygments==2.16.1 +pyparsing==3.1.1 pyproject-api==1.5.3 pytest==7.4.0 pytest-cov==4.1.0 @@ -123,14 +123,14 @@ pytest-xdist==3.3.1 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 -pyyaml==6.0 +pyyaml==6.0.1 pyzmq==25.1.0 -referencing==0.29.1 +referencing==0.30.2 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rpds-py==0.8.8 -ruff==0.0.277 ; python_version >= "3.7.0" +rpds-py==0.9.2 +ruff==0.0.282 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -142,7 +142,7 @@ sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 -sphinx-design==0.4.1 +sphinx-design==0.5.0 sphinx-thebe==0.2.1 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.4 @@ -154,7 +154,7 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 sphobjinv==2.3.1 -sqlalchemy==2.0.18 +sqlalchemy==2.0.19 stack-data==0.6.2 tabulate==0.9.0 terminado==0.17.1 @@ -166,22 +166,22 @@ tqdm==4.65.0 traitlets==5.9.0 types-docutils==0.20.0.1 types-pkg-resources==0.1.3 -types-pyyaml==6.0.12.10 -types-requests==2.31.0.1 -types-setuptools==68.0.0.1 -types-urllib3==1.26.25.13 +types-pyyaml==6.0.12.11 +types-requests==2.31.0.2 +types-setuptools==68.0.0.3 +types-urllib3==1.26.25.14 typing-extensions==4.7.1 uri-template==1.3.0 -urllib3==2.0.3 -virtualenv==20.23.1 +urllib3==2.0.4 +virtualenv==20.24.2 wcwidth==0.2.6 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.1 -wheel==0.40.0 +wheel==0.41.1 widgetsnbextension==4.0.8 wrapt==1.15.0 -zipp==3.15.0 +zipp==3.16.2 # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 0c603f0b..f9b0aa1e 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -2,7 +2,7 @@ # This file is autogenerated by pip-compile with Python 3.11 # by the following command: # -# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.11.txt --strip-extras setup.py +# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.11.txt --strip-extras # accessible-pygments==0.0.4 alabaster==0.7.13 @@ -11,65 +11,65 @@ argon2-cffi==21.3.0 argon2-cffi-bindings==21.2.0 arrow==1.2.3 asttokens==2.2.1 -async-lru==2.0.2 +async-lru==2.0.4 attrs==23.1.0 babel==2.12.1 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.3.0 +black==23.7.0 bleach==6.0.0 cachetools==5.3.1 -certifi==2023.5.7 +certifi==2023.7.22 cffi==1.15.1 cfgv==3.3.1 -chardet==5.1.0 -charset-normalizer==3.1.0 -click==8.1.4 +chardet==5.2.0 +charset-normalizer==3.2.0 +click==8.1.6 colorama==0.4.6 -comm==0.1.3 +comm==0.1.4 coverage==7.2.7 debugpy==1.6.7 decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 -distlib==0.3.6 +distlib==0.3.7 docutils==0.19 -execnet==1.9.0 +execnet==2.0.2 executing==1.2.0 -fastjsonschema==2.17.1 +fastjsonschema==2.18.0 filelock==3.12.2 fqdn==1.5.1 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==2.0.2 hepunits==2.3.2 -identify==2.5.24 +identify==2.5.26 idna==3.4 imagesize==1.4.1 -importlib-metadata==6.7.0 +importlib-metadata==6.8.0 iniconfig==2.0.0 -ipykernel==6.24.0 +ipykernel==6.25.1 ipython==8.14.0 -ipywidgets==8.0.7 +ipywidgets==8.1.0 isoduration==20.11.0 -jedi==0.18.2 +jedi==0.19.0 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.18.0 -jsonschema-specifications==2023.6.1 +jsonschema==4.19.0 +jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 jupyter-client==8.3.0 jupyter-core==5.3.1 -jupyter-events==0.6.3 +jupyter-events==0.7.0 jupyter-lsp==2.2.0 jupyter-server==2.7.0 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.2 +jupyterlab==4.0.4 jupyterlab-code-formatter==2.2.1 jupyterlab-myst==2.0.1 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 -jupyterlab-server==2.23.0 +jupyterlab-server==2.24.0 jupyterlab-widgets==3.0.8 latexcodec==2.0.1 livereload==2.6.3 @@ -84,24 +84,24 @@ mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.6.8 -nbconvert==7.6.0 -nbformat==5.9.0 +nbconvert==7.7.3 +nbformat==5.9.2 nbmake==1.4.1 -nest-asyncio==1.5.6 +nest-asyncio==1.5.7 nodeenv==1.8.0 notebook-shim==0.2.3 -overrides==7.3.1 +overrides==7.4.0 packaging==23.1 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.0 -pathspec==0.11.1 +pathspec==0.11.2 pexpect==4.8.0 pickleshare==0.7.5 -platformdirs==3.8.1 +platformdirs==3.10.0 pluggy==1.2.0 pre-commit==3.3.3 -prometheus-client==0.17.0 +prometheus-client==0.17.1 prompt-toolkit==3.0.39 psutil==5.9.5 ptyprocess==0.7.0 @@ -109,11 +109,11 @@ pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.2 pycparser==2.21 -pydantic==1.10.11 +pydantic==1.10.12 pydata-sphinx-theme==0.13.3 pydot==1.4.2 -pygments==2.15.1 -pyparsing==3.1.0 +pygments==2.16.1 +pyparsing==3.1.1 pyproject-api==1.5.3 pytest==7.4.0 pytest-cov==4.1.0 @@ -122,14 +122,14 @@ pytest-xdist==3.3.1 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 -pyyaml==6.0 +pyyaml==6.0.1 pyzmq==25.1.0 -referencing==0.29.1 +referencing==0.30.2 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rpds-py==0.8.8 -ruff==0.0.277 ; python_version >= "3.7.0" +rpds-py==0.9.2 +ruff==0.0.282 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -141,7 +141,7 @@ sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 -sphinx-design==0.4.1 +sphinx-design==0.5.0 sphinx-thebe==0.2.1 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.4 @@ -153,7 +153,7 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 sphobjinv==2.3.1 -sqlalchemy==2.0.18 +sqlalchemy==2.0.19 stack-data==0.6.2 tabulate==0.9.0 terminado==0.17.1 @@ -164,22 +164,22 @@ tqdm==4.65.0 traitlets==5.9.0 types-docutils==0.20.0.1 types-pkg-resources==0.1.3 -types-pyyaml==6.0.12.10 -types-requests==2.31.0.1 -types-setuptools==68.0.0.1 -types-urllib3==1.26.25.13 +types-pyyaml==6.0.12.11 +types-requests==2.31.0.2 +types-setuptools==68.0.0.3 +types-urllib3==1.26.25.14 typing-extensions==4.7.1 uri-template==1.3.0 -urllib3==2.0.3 -virtualenv==20.23.1 +urllib3==2.0.4 +virtualenv==20.24.2 wcwidth==0.2.6 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.1 -wheel==0.40.0 +wheel==0.41.1 widgetsnbextension==4.0.8 wrapt==1.15.0 -zipp==3.15.0 +zipp==3.16.2 # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/.constraints/py3.6.txt b/.constraints/py3.6.txt index c80a8bf0..8251ec34 100644 --- a/.constraints/py3.6.txt +++ b/.constraints/py3.6.txt @@ -2,7 +2,7 @@ # This file is autogenerated by pip-compile with python 3.6 # To update, run: # -# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.6.txt --strip-extras setup.py +# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.6.txt --strip-extras # alabaster==0.7.13 anyio==3.6.2 @@ -15,18 +15,19 @@ backcall==0.2.0 beautifulsoup4==4.12.2 black==22.8.0 bleach==4.1.0 -certifi==2023.5.7 +certifi==2023.7.22 cffi==1.15.1 cfgv==3.3.1 charset-normalizer==2.0.12 click==8.0.4 colorama==0.4.5 +comm==0.1.4 contextvars==2.4 coverage==6.2 dataclasses==0.8 decorator==5.1.1 defusedxml==0.7.1 -distlib==0.3.6 +distlib==0.3.7 docutils==0.16 entrypoints==0.4 execnet==1.9.0 @@ -47,7 +48,7 @@ iniconfig==1.1.1 ipykernel==5.5.6 ipython==7.16.3 ipython-genutils==0.2.0 -ipywidgets==7.7.5 +ipywidgets==7.8.0 jedi==0.17.2 jinja2==3.0.3 json5==0.9.14 @@ -62,7 +63,7 @@ jupyterlab==3.2.9 jupyterlab-code-formatter==1.6.1 jupyterlab-pygments==0.1.2 jupyterlab-server==2.10.3 -jupyterlab-widgets==1.1.4 +jupyterlab-widgets==1.1.5 latexcodec==2.0.1 livereload==2.6.3 markdown-it-py==1.1.0 @@ -79,7 +80,7 @@ nbconvert==6.0.7 nbdime==3.2.1 nbformat==5.1.3 nbmake==1.2.1 -nest-asyncio==1.5.6 +nest-asyncio==1.5.7 nodeenv==1.6.0 notebook==6.4.10 packaging==21.3 @@ -92,7 +93,7 @@ pickleshare==0.7.5 platformdirs==2.4.0 pluggy==1.0.0 pre-commit==2.17.0 -prometheus-client==0.17.0 +prometheus-client==0.17.1 prompt-toolkit==3.0.36 ptyprocess==0.7.0 py==1.11.0 @@ -103,7 +104,7 @@ pydantic==1.9.2 pydata-sphinx-theme==0.7.2 pydot==1.4.2 pygments==2.14.0 -pyparsing==3.1.0 +pyparsing==3.1.1 pyrsistent==0.18.0 pytest==7.0.1 pytest-cov==4.0.0 @@ -112,7 +113,7 @@ pytest-xdist==3.0.2 python-constraint==1.4.0 python-dateutil==2.8.2 pytz==2023.3 -pyyaml==6.0 +pyyaml==6.0.1 pyzmq==25.1.0 requests==2.27.1 send2trash==1.8.2 @@ -151,10 +152,10 @@ traitlets==4.3.3 typed-ast==1.5.5 types-docutils==0.20.0.1 types-pkg-resources==0.1.3 -types-pyyaml==6.0.12.10 -types-requests==2.31.0.1 -types-setuptools==68.0.0.1 -types-urllib3==1.26.25.13 +types-pyyaml==6.0.12.11 +types-requests==2.31.0.2 +types-setuptools==68.0.0.3 +types-urllib3==1.26.25.14 typing-extensions==4.1.1 ; python_version < "3.10.0" urllib3==1.26.16 virtualenv==20.15.1 ; python_version < "3.7.0" @@ -162,7 +163,7 @@ wcwidth==0.2.6 webencodings==0.5.1 websocket-client==1.3.1 wheel==0.37.1 -widgetsnbextension==3.6.4 +widgetsnbextension==3.6.5 zipp==3.6.0 # The following packages are considered to be unsafe in a requirements file: diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index dd43ccc0..500e75e4 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -2,7 +2,7 @@ # This file is autogenerated by pip-compile with Python 3.7 # by the following command: # -# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.7.txt --strip-extras setup.py +# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.7.txt --resolver=backtracking --strip-extras # accessible-pygments==0.0.4 aiofiles==22.1.0 @@ -20,24 +20,25 @@ black==23.3.0 bleach==6.0.0 cached-property==1.5.2 cachetools==5.3.1 -certifi==2023.5.7 +certifi==2023.7.22 cffi==1.15.1 cfgv==3.3.1 -chardet==5.1.0 -charset-normalizer==3.1.0 -click==8.1.4 +chardet==5.2.0 +charset-normalizer==3.2.0 +click==8.1.6 colorama==0.4.6 +comm==0.1.4 coverage==7.2.7 debugpy==1.6.7 decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 -distlib==0.3.6 +distlib==0.3.7 docutils==0.19 entrypoints==0.4 exceptiongroup==1.1.2 -execnet==1.9.0 -fastjsonschema==2.17.1 +execnet==2.0.2 +fastjsonschema==2.18.0 filelock==3.12.2 fqdn==1.5.1 gprof2dot==2022.7.29 @@ -53,9 +54,9 @@ iniconfig==2.0.0 ipykernel==6.16.2 ipython==7.34.0 ipython-genutils==0.2.0 -ipywidgets==8.0.7 +ipywidgets==8.1.0 isoduration==20.11.0 -jedi==0.18.2 +jedi==0.19.0 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 @@ -72,7 +73,7 @@ jupyterlab==3.6.5 jupyterlab-code-formatter==2.2.1 jupyterlab-myst==1.2.0 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 -jupyterlab-server==2.23.0 +jupyterlab-server==2.24.0 jupyterlab-widgets==3.0.8 latexcodec==2.0.1 livereload==2.6.3 @@ -91,33 +92,33 @@ nbclient==0.5.13 nbconvert==7.6.0 nbformat==5.8.0 nbmake==1.2.1 ; python_version == "3.7.*" -nest-asyncio==1.5.6 +nest-asyncio==1.5.7 nodeenv==1.8.0 -notebook==6.5.4 +notebook==6.5.5 notebook-shim==0.2.3 packaging==23.1 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.0 -pathspec==0.11.1 +pathspec==0.11.2 pexpect==4.8.0 pickleshare==0.7.5 pkgutil-resolve-name==1.3.10 -platformdirs==3.8.1 +platformdirs==3.10.0 pluggy==1.2.0 pre-commit==2.21.0 -prometheus-client==0.17.0 +prometheus-client==0.17.1 prompt-toolkit==3.0.39 psutil==5.9.5 ptyprocess==0.7.0 pybtex==0.24.0 pybtex-docutils==1.0.2 pycparser==2.21 -pydantic==1.10.11 +pydantic==1.10.12 pydata-sphinx-theme==0.13.3 pydot==1.4.2 -pygments==2.15.1 -pyparsing==3.1.0 +pygments==2.16.1 +pyparsing==3.1.1 pyproject-api==1.5.3 pyrsistent==0.19.3 pytest==7.4.0 @@ -128,12 +129,12 @@ python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 pytz==2023.3 -pyyaml==6.0 -pyzmq==25.1.0 +pyyaml==6.0.1 +pyzmq==24.0.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -ruff==0.0.277 ; python_version >= "3.7.0" +ruff==0.0.282 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -169,19 +170,19 @@ traitlets==5.9.0 typed-ast==1.5.5 types-docutils==0.20.0.1 types-pkg-resources==0.1.3 -types-pyyaml==6.0.12.10 -types-requests==2.31.0.1 -types-setuptools==68.0.0.1 -types-urllib3==1.26.25.13 +types-pyyaml==6.0.12.11 +types-requests==2.31.0.2 +types-setuptools==68.0.0.3 +types-urllib3==1.26.25.14 typing-extensions==4.7.1 ; python_version < "3.10.0" uri-template==1.3.0 -urllib3==2.0.3 -virtualenv==20.23.1 +urllib3==2.0.4 +virtualenv==20.24.2 wcwidth==0.2.6 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.1 -wheel==0.40.0 +wheel==0.41.1 widgetsnbextension==4.0.8 wrapt==1.15.0 y-py==0.5.9 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 1342192c..3013bf92 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -2,7 +2,7 @@ # This file is autogenerated by pip-compile with Python 3.8 # by the following command: # -# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.8.txt --strip-extras setup.py +# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.8.txt --strip-extras # accessible-pygments==0.0.4 alabaster==0.7.13 @@ -11,67 +11,67 @@ argon2-cffi==21.3.0 argon2-cffi-bindings==21.2.0 arrow==1.2.3 asttokens==2.2.1 -async-lru==2.0.2 +async-lru==2.0.4 attrs==23.1.0 babel==2.12.1 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.3.0 +black==23.7.0 bleach==6.0.0 cachetools==5.3.1 -certifi==2023.5.7 +certifi==2023.7.22 cffi==1.15.1 cfgv==3.3.1 -chardet==5.1.0 -charset-normalizer==3.1.0 -click==8.1.4 +chardet==5.2.0 +charset-normalizer==3.2.0 +click==8.1.6 colorama==0.4.6 -comm==0.1.3 +comm==0.1.4 coverage==7.2.7 debugpy==1.6.7 decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 -distlib==0.3.6 +distlib==0.3.7 docutils==0.19 exceptiongroup==1.1.2 -execnet==1.9.0 +execnet==2.0.2 executing==1.2.0 -fastjsonschema==2.17.1 +fastjsonschema==2.18.0 filelock==3.12.2 fqdn==1.5.1 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==2.0.2 hepunits==2.3.2 -identify==2.5.24 +identify==2.5.26 idna==3.4 imagesize==1.4.1 -importlib-metadata==6.7.0 -importlib-resources==5.12.0 +importlib-metadata==6.8.0 +importlib-resources==6.0.1 iniconfig==2.0.0 -ipykernel==6.24.0 +ipykernel==6.25.1 ipython==8.12.2 -ipywidgets==8.0.7 +ipywidgets==8.1.0 isoduration==20.11.0 -jedi==0.18.2 +jedi==0.19.0 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.18.0 -jsonschema-specifications==2023.6.1 +jsonschema==4.19.0 +jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 jupyter-client==8.3.0 jupyter-core==5.3.1 -jupyter-events==0.6.3 +jupyter-events==0.7.0 jupyter-lsp==2.2.0 jupyter-server==2.7.0 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.2 +jupyterlab==4.0.4 jupyterlab-code-formatter==2.2.1 jupyterlab-myst==2.0.1 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 -jupyterlab-server==2.23.0 +jupyterlab-server==2.24.0 jupyterlab-widgets==3.0.8 latexcodec==2.0.1 livereload==2.6.3 @@ -86,25 +86,25 @@ mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.6.8 -nbconvert==7.6.0 -nbformat==5.9.0 +nbconvert==7.7.3 +nbformat==5.9.2 nbmake==1.4.1 -nest-asyncio==1.5.6 +nest-asyncio==1.5.7 nodeenv==1.8.0 notebook-shim==0.2.3 -overrides==7.3.1 +overrides==7.4.0 packaging==23.1 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.0 -pathspec==0.11.1 +pathspec==0.11.2 pexpect==4.8.0 pickleshare==0.7.5 pkgutil-resolve-name==1.3.10 -platformdirs==3.8.1 +platformdirs==3.10.0 pluggy==1.2.0 pre-commit==3.3.3 -prometheus-client==0.17.0 +prometheus-client==0.17.1 prompt-toolkit==3.0.39 psutil==5.9.5 ptyprocess==0.7.0 @@ -112,11 +112,11 @@ pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.2 pycparser==2.21 -pydantic==1.10.11 +pydantic==1.10.12 pydata-sphinx-theme==0.13.3 pydot==1.4.2 -pygments==2.15.1 -pyparsing==3.1.0 +pygments==2.16.1 +pyparsing==3.1.1 pyproject-api==1.5.3 pytest==7.4.0 pytest-cov==4.1.0 @@ -126,14 +126,14 @@ python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 pytz==2023.3 -pyyaml==6.0 +pyyaml==6.0.1 pyzmq==25.1.0 -referencing==0.29.1 +referencing==0.30.2 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rpds-py==0.8.8 -ruff==0.0.277 ; python_version >= "3.7.0" +rpds-py==0.9.2 +ruff==0.0.282 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -145,7 +145,7 @@ sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 -sphinx-design==0.4.1 +sphinx-design==0.5.0 sphinx-thebe==0.2.1 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.4 @@ -157,7 +157,7 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 sphobjinv==2.3.1 -sqlalchemy==2.0.18 +sqlalchemy==2.0.19 stack-data==0.6.2 tabulate==0.9.0 terminado==0.17.1 @@ -169,22 +169,22 @@ tqdm==4.65.0 traitlets==5.9.0 types-docutils==0.20.0.1 types-pkg-resources==0.1.3 -types-pyyaml==6.0.12.10 -types-requests==2.31.0.1 -types-setuptools==68.0.0.1 -types-urllib3==1.26.25.13 +types-pyyaml==6.0.12.11 +types-requests==2.31.0.2 +types-setuptools==68.0.0.3 +types-urllib3==1.26.25.14 typing-extensions==4.7.1 ; python_version < "3.10.0" uri-template==1.3.0 -urllib3==2.0.3 -virtualenv==20.23.1 +urllib3==2.0.4 +virtualenv==20.24.2 wcwidth==0.2.6 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.1 -wheel==0.40.0 +wheel==0.41.1 widgetsnbextension==4.0.8 wrapt==1.15.0 -zipp==3.15.0 +zipp==3.16.2 # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index d9f6e978..5eaeb4b6 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -2,7 +2,7 @@ # This file is autogenerated by pip-compile with Python 3.9 # by the following command: # -# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.9.txt --strip-extras setup.py +# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.9.txt --strip-extras # accessible-pygments==0.0.4 alabaster==0.7.13 @@ -11,66 +11,66 @@ argon2-cffi==21.3.0 argon2-cffi-bindings==21.2.0 arrow==1.2.3 asttokens==2.2.1 -async-lru==2.0.2 +async-lru==2.0.4 attrs==23.1.0 babel==2.12.1 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.3.0 +black==23.7.0 bleach==6.0.0 cachetools==5.3.1 -certifi==2023.5.7 +certifi==2023.7.22 cffi==1.15.1 cfgv==3.3.1 -chardet==5.1.0 -charset-normalizer==3.1.0 -click==8.1.4 +chardet==5.2.0 +charset-normalizer==3.2.0 +click==8.1.6 colorama==0.4.6 -comm==0.1.3 +comm==0.1.4 coverage==7.2.7 debugpy==1.6.7 decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 -distlib==0.3.6 +distlib==0.3.7 docutils==0.19 exceptiongroup==1.1.2 -execnet==1.9.0 +execnet==2.0.2 executing==1.2.0 -fastjsonschema==2.17.1 +fastjsonschema==2.18.0 filelock==3.12.2 fqdn==1.5.1 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==2.0.2 hepunits==2.3.2 -identify==2.5.24 +identify==2.5.26 idna==3.4 imagesize==1.4.1 -importlib-metadata==6.7.0 +importlib-metadata==6.8.0 iniconfig==2.0.0 -ipykernel==6.24.0 +ipykernel==6.25.1 ipython==8.14.0 -ipywidgets==8.0.7 +ipywidgets==8.1.0 isoduration==20.11.0 -jedi==0.18.2 +jedi==0.19.0 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.18.0 -jsonschema-specifications==2023.6.1 +jsonschema==4.19.0 +jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 jupyter-client==8.3.0 jupyter-core==5.3.1 -jupyter-events==0.6.3 +jupyter-events==0.7.0 jupyter-lsp==2.2.0 jupyter-server==2.7.0 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.2 +jupyterlab==4.0.4 jupyterlab-code-formatter==2.2.1 jupyterlab-myst==2.0.1 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 -jupyterlab-server==2.23.0 +jupyterlab-server==2.24.0 jupyterlab-widgets==3.0.8 latexcodec==2.0.1 livereload==2.6.3 @@ -85,24 +85,24 @@ mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.6.8 -nbconvert==7.6.0 -nbformat==5.9.0 +nbconvert==7.7.3 +nbformat==5.9.2 nbmake==1.4.1 -nest-asyncio==1.5.6 +nest-asyncio==1.5.7 nodeenv==1.8.0 notebook-shim==0.2.3 -overrides==7.3.1 +overrides==7.4.0 packaging==23.1 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.0 -pathspec==0.11.1 +pathspec==0.11.2 pexpect==4.8.0 pickleshare==0.7.5 -platformdirs==3.8.1 +platformdirs==3.10.0 pluggy==1.2.0 pre-commit==3.3.3 -prometheus-client==0.17.0 +prometheus-client==0.17.1 prompt-toolkit==3.0.39 psutil==5.9.5 ptyprocess==0.7.0 @@ -110,11 +110,11 @@ pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.2 pycparser==2.21 -pydantic==1.10.11 +pydantic==1.10.12 pydata-sphinx-theme==0.13.3 pydot==1.4.2 -pygments==2.15.1 -pyparsing==3.1.0 +pygments==2.16.1 +pyparsing==3.1.1 pyproject-api==1.5.3 pytest==7.4.0 pytest-cov==4.1.0 @@ -123,14 +123,14 @@ pytest-xdist==3.3.1 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 -pyyaml==6.0 +pyyaml==6.0.1 pyzmq==25.1.0 -referencing==0.29.1 +referencing==0.30.2 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rpds-py==0.8.8 -ruff==0.0.277 ; python_version >= "3.7.0" +rpds-py==0.9.2 +ruff==0.0.282 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -142,7 +142,7 @@ sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 -sphinx-design==0.4.1 +sphinx-design==0.5.0 sphinx-thebe==0.2.1 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.4 @@ -154,7 +154,7 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 sphobjinv==2.3.1 -sqlalchemy==2.0.18 +sqlalchemy==2.0.19 stack-data==0.6.2 tabulate==0.9.0 terminado==0.17.1 @@ -166,22 +166,22 @@ tqdm==4.65.0 traitlets==5.9.0 types-docutils==0.20.0.1 types-pkg-resources==0.1.3 -types-pyyaml==6.0.12.10 -types-requests==2.31.0.1 -types-setuptools==68.0.0.1 -types-urllib3==1.26.25.13 +types-pyyaml==6.0.12.11 +types-requests==2.31.0.2 +types-setuptools==68.0.0.3 +types-urllib3==1.26.25.14 typing-extensions==4.7.1 ; python_version < "3.10.0" uri-template==1.3.0 -urllib3==2.0.3 -virtualenv==20.23.1 +urllib3==2.0.4 +virtualenv==20.24.2 wcwidth==0.2.6 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.1 -wheel==0.40.0 +wheel==0.41.1 widgetsnbextension==4.0.8 wrapt==1.15.0 -zipp==3.15.0 +zipp==3.16.2 # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e445c501..70e34acc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,6 +28,9 @@ on: jobs: doc: uses: ComPWA/actions/.github/workflows/ci-docs.yml@v1 + permissions: + pages: write + id-token: write with: apt-packages: graphviz specific-pip-packages: ${{ inputs.specific-pip-packages }} diff --git a/.gitpod.yml b/.gitpod.yml index 11d00d80..5afdeab6 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -24,6 +24,7 @@ vscode: - github.vscode-github-actions - github.vscode-pull-request-github - joaompinto.vscode-graphviz + - ms-python.black-formatter - ms-python.mypy-type-checker - ms-python.python - ms-python.vscode-pylance diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 474f8a47..0d4e7e5a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -36,7 +36,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.0.189 + rev: 0.0.195 hooks: - id: check-dev-files args: @@ -66,17 +66,17 @@ repos: - --fix - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 23.7.0 hooks: - id: black - repo: https://github.com/asottile/blacken-docs - rev: 1.14.0 + rev: 1.15.0 hooks: - id: blacken-docs - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v6.31.0 + rev: v6.31.1 hooks: - id: cspell @@ -131,30 +131,30 @@ repos: metadata.vscode - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.0 + rev: v3.0.1 hooks: - id: prettier - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.316 + rev: v1.1.320 hooks: - id: pyright - repo: https://github.com/asottile/pyupgrade - rev: v3.8.0 + rev: v3.10.1 hooks: - id: pyupgrade args: - --py36-plus - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.277 + rev: v0.0.282 hooks: - id: ruff args: - --fix - repo: https://github.com/ComPWA/mirrors-taplo - rev: v0.8.0 + rev: v0.8.1 hooks: - id: taplo diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 6fa95bff..63f0b238 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -11,6 +11,7 @@ "github.vscode-github-actions", "github.vscode-pull-request-github", "joaompinto.vscode-graphviz", + "ms-python.black-formatter", "ms-python.mypy-type-checker", "ms-python.python", "ms-python.vscode-pylance", diff --git a/.vscode/settings.json b/.vscode/settings.json index 4a7281fa..8d8504bd 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -18,11 +18,13 @@ "[python]": { "editor.codeActionsOnSave": { "source.organizeImports": true - } + }, + "editor.defaultFormatter": "ms-python.black-formatter" }, "[yaml]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, + "black-formatter.importStrategy": "fromEnvironment", "coverage-gutters.coverageFileNames": ["coverage.xml"], "coverage-gutters.coverageReportFileName": "**/htmlcov/index.html", "coverage-gutters.showGutterCoverage": false, @@ -49,18 +51,11 @@ } ], "livePreview.defaultPreviewPath": "docs/_build/html", + "mypy-type-checker.args": ["--config-file", "pyproject.toml"], "mypy-type-checker.importStrategy": "fromEnvironment", "python.analysis.autoImportCompletions": false, "python.analysis.inlayHints.pytestParameters": true, "python.analysis.typeCheckingMode": "strict", - "python.formatting.provider": "black", - "python.linting.banditEnabled": false, - "python.linting.enabled": true, - "python.linting.flake8Enabled": false, - "python.linting.mypyEnabled": false, - "python.linting.pydocstyleEnabled": false, - "python.linting.pylamaEnabled": false, - "python.linting.pylintEnabled": false, "python.testing.pytestArgs": ["--color=no", "--no-cov"], "python.testing.pytestEnabled": true, "python.testing.unittestEnabled": false, diff --git a/src/qrules/solving.py b/src/qrules/solving.py index 6037640d..2ece29a7 100644 --- a/src/qrules/solving.py +++ b/src/qrules/solving.py @@ -856,7 +856,7 @@ def __initialize_variable_containers( scheme edge_id(delimiter)qn_name. This method creates a dict linking the var name to a list that consists of the particle list index and the qn name. """ - self.__qns.update(list(fixed_variables.values())[0]) + self.__qns.update(next(iter(fixed_variables.values()))) for element_id, qn_type in variables: self.__var_string_to_data[_create_variable_string(element_id, qn_type)] = ( qn_type diff --git a/src/qrules/system_control.py b/src/qrules/system_control.py index 6620aab1..aca90bdf 100644 --- a/src/qrules/system_control.py +++ b/src/qrules/system_control.py @@ -129,11 +129,9 @@ def filter_interaction_types( if int_type_intersection: return int_type_intersection _LOGGER.warning( - ( - "The specified list of interaction types %s" - " does not intersect with the valid list of interaction types %s" - ".\nUsing valid list instead." - ), + "The specified list of interaction types %s" + " does not intersect with the valid list of interaction types %s" + ".\nUsing valid list instead.", allowed_interaction_types, valid_determined_interaction_types, ) diff --git a/src/qrules/transition.py b/src/qrules/transition.py index 2f741826..04b51bcf 100644 --- a/src/qrules/transition.py +++ b/src/qrules/transition.py @@ -539,10 +539,8 @@ def find_solutions( # noqa: C901 results = self._find_particle_transitions(problem_sets) for strength, result in results.items(): _LOGGER.info( - ( - f"Number of solutions for strength {strength} after" - f"QN solving: {len(result.solutions)}" - ), + f"Number of solutions for strength {strength} after" + f"QN solving: {len(result.solutions)}", ) final_result = _SolutionContainer() diff --git a/tests/channels/test_nbody_reactions.py b/tests/channels/test_nbody_reactions.py index dea76413..501324c1 100644 --- a/tests/channels/test_nbody_reactions.py +++ b/tests/channels/test_nbody_reactions.py @@ -11,7 +11,7 @@ def reduce_violated_rules( reduced_violations: Set[Union[str, FrozenSet[str]]] = set() for rule_group in violated_rules: if len(rule_group) == 1: - reduced_violations.add(tuple(rule_group)[0]) + reduced_violations.add(next(iter(rule_group))) else: reduced_violations.add(rule_group) diff --git a/tests/unit/test_combinatorics.py b/tests/unit/test_combinatorics.py index 0961b15a..a9aa9fc1 100644 --- a/tests/unit/test_combinatorics.py +++ b/tests/unit/test_combinatorics.py @@ -212,7 +212,7 @@ def test_in_operator(self): assert [["J/psi"]] not in kinematic_representation assert [["gamma", "pi0"]] in kinematic_representation with pytest.raises(ValueError, match=r"Cannot compare "): - assert float() in kinematic_representation + assert 0.0 in kinematic_representation with pytest.raises( TypeError, match=r"Comparison representation needs to be a list of lists", diff --git a/tests/unit/test_system_control.py b/tests/unit/test_system_control.py index 8e76a57a..f868ddfa 100644 --- a/tests/unit/test_system_control.py +++ b/tests/unit/test_system_control.py @@ -116,7 +116,7 @@ def test_external_edge_initialization( problem_sets = stm.create_problem_sets() if problem_sets.values(): - assert len(list(problem_sets.values())[0]) == result_graph_count + assert len(next(iter(problem_sets.values()))) == result_graph_count def get_pi0_width() -> float: diff --git a/tests/unit/test_topology.py b/tests/unit/test_topology.py index cff6c5bd..427500c3 100644 --- a/tests/unit/test_topology.py +++ b/tests/unit/test_topology.py @@ -192,7 +192,7 @@ def test_constructor_exceptions(self, nodes, edges): def test_repr_and_eq(self, repr_method, two_to_three_decay: Topology): topology = eval(repr_method(two_to_three_decay)) assert topology == two_to_three_decay - assert topology != float() + assert topology != 0.0 def test_getters(self, two_to_three_decay: Topology): topology = two_to_three_decay # shorter name