From 29b8aacd21119a33f4c3ef4c2dc931e6e56e1a0e Mon Sep 17 00:00:00 2001 From: GitHub Date: Sun, 19 Feb 2023 13:51:56 +0000 Subject: [PATCH 1/3] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 89 ++++++++++++++++++++++++---------------- .constraints/py3.7.txt | 71 ++++++++++++++++++++------------ .constraints/py3.8.txt | 91 ++++++++++++++++++++++++----------------- .constraints/py3.9.txt | 90 ++++++++++++++++++++++++---------------- .pre-commit-config.yaml | 8 ++-- 5 files changed, 209 insertions(+), 140 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 23f42b45..aedd2e27 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -4,18 +4,21 @@ # # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.10.txt --strip-extras setup.py # +aiofiles==22.1.0 +aiosqlite==0.18.0 alabaster==0.7.13 ampform==0.14.5 anyio==3.6.2 aquirdturtle-collapsible-headings==3.1.0 argon2-cffi==21.3.0 argon2-cffi-bindings==21.2.0 +arrow==1.2.3 asttokens==2.2.1 attrs==22.2.0 babel==2.11.0 backcall==0.2.0 -beautifulsoup4==4.11.1 -black==22.12.0 +beautifulsoup4==4.11.2 +black==23.1.0 bleach==6.0.0 cachetools==5.3.0 cairocffi==1.4.0 @@ -43,35 +46,42 @@ executing==1.2.0 fastjsonschema==2.16.2 filelock==3.9.0 fonttools==4.38.0 +fqdn==1.5.1 greenlet==2.0.2 hepunits==2.3.1 -identify==2.5.16 +identify==2.5.18 idna==3.4 imagesize==1.4.1 -iminuit==2.18.0 +iminuit==2.20.0 importlib-metadata==6.0.0 iniconfig==2.0.0 -ipykernel==6.21.0 -ipympl==0.9.2 -ipython==8.9.0 +ipykernel==6.21.2 +ipympl==0.9.3 +ipython==8.10.0 ipython-genutils==0.2.0 ipywidgets==8.0.4 +isoduration==20.11.0 isort==5.12.0 -jax==0.4.2 -jaxlib==0.4.2 +jax==0.4.4 +jaxlib==0.4.4 jedi==0.18.2 jinja2==3.1.2 json5==0.9.11 +jsonpointer==2.3 jsonschema==4.17.3 jupyter-cache==0.5.0 -jupyter-client==8.0.2 +jupyter-client==8.0.3 jupyter-core==5.2.0 -jupyter-resource-usage==0.7.0 -jupyter-server==1.23.5 -jupyterlab==3.5.3 +jupyter-events==0.6.3 +jupyter-resource-usage==0.7.1 +jupyter-server==2.3.0 +jupyter-server-fileid==0.7.0 +jupyter-server-terminals==0.4.4 +jupyter-server-ydoc==0.6.1 +jupyter-ydoc==0.2.2 +jupyterlab==3.6.1 jupyterlab-code-formatter==1.5.3 -jupyterlab-markup==1.1.0 -jupyterlab-myst==0.1.6 +jupyterlab-myst==1.0.1 jupyterlab-pygments==0.2.2 jupyterlab-server==2.19.0 jupyterlab-widgets==3.0.5 @@ -82,16 +92,16 @@ livereload==2.6.3 lxml==4.9.2 markdown-it-py==2.1.0 markupsafe==2.1.2 -matplotlib==3.6.3 +matplotlib==3.7.0 matplotlib-inline==0.1.6 -mdit-py-plugins==0.3.3 +mdit-py-plugins==0.3.4 mdurl==0.1.2 -mistune==2.0.4 +mistune==2.0.5 mpmath==1.2.1 -mypy-extensions==0.4.3 +mypy-extensions==1.0.0 myst-nb==0.17.1 myst-parser==0.18.1 -nbclassic==0.5.1 +nbclassic==0.5.2 nbclient==0.5.13 nbconvert==7.2.9 nbformat==5.7.3 @@ -100,21 +110,21 @@ nest-asyncio==1.5.6 nodeenv==1.7.0 notebook==6.5.2 notebook-shim==0.2.2 -numpy==1.24.1 +numpy==1.24.2 opt-einsum==3.3.0 packaging==23.0 pandas==1.5.3 pandocfilters==1.5.0 parso==0.8.3 -particle==0.21.1 +particle==0.21.2 pathspec==0.11.0 pexpect==4.8.0 pickleshare==0.7.5 pillow==9.4.0 -platformdirs==2.6.2 +platformdirs==3.0.0 plotly==5.13.0 pluggy==1.0.0 -pre-commit==3.0.2 +pre-commit==3.0.4 prometheus-client==0.16.0 prompt-toolkit==3.0.36 psutil==5.9.4 @@ -123,31 +133,34 @@ pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.2 pycparser==2.21 -pydantic==1.10.4 +pydantic==1.10.5 pydata-sphinx-theme==0.8.1 pygments==2.14.0 pyparsing==3.0.9 pyproject-api==1.5.0 pyrsistent==0.19.3 pytest==7.2.1 -pytest-xdist==3.1.0 +pytest-xdist==3.2.0 python-constraint==1.4.0 python-dateutil==2.8.2 +python-json-logger==2.0.6 pytz==2022.7.1 pyyaml==6.0 pyzmq==25.0.0 qrules==0.9.7 requests==2.28.2 +rfc3339-validator==0.1.4 +rfc3986-validator==0.1.1 scipy==1.10.0 send2trash==1.8.0 six==1.16.0 sniffio==1.3.0 snowballstemmer==2.2.0 -soupsieve==2.3.2.post1 +soupsieve==2.4 sphinx==4.5.0 sphinx-autobuild==2021.3.14 sphinx-book-theme==0.3.3 -sphinx-codeautolink==0.13.2 +sphinx-codeautolink==0.14.1 sphinx-copybutton==0.5.1 sphinx-design==0.3.0 sphinx-reredirects==0.1.1 @@ -155,7 +168,7 @@ sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.4 sphinxcontrib-bibtex==2.5.0 sphinxcontrib-devhelp==1.0.2 -sphinxcontrib-htmlhelp==2.0.0 +sphinxcontrib-htmlhelp==2.0.1 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 @@ -165,24 +178,28 @@ stack-data==0.6.2 svgutils==0.3.4 sympy==1.11.1 tabulate==0.9.0 -tenacity==8.1.0 -tensorwaves==0.4.9 +tenacity==8.2.1 +tensorwaves==0.4.10 terminado==0.17.1 tinycss2==1.2.1 tomli==2.0.1 tornado==6.2 -tox==4.4.2 +tox==4.4.5 tqdm==4.64.1 traitlets==5.9.0 -typing-extensions==4.4.0 +typing-extensions==4.5.0 +uri-template==1.2.0 urllib3==1.26.14 -virtualenv==20.17.1 +virtualenv==20.19.0 wcwidth==0.2.6 +webcolors==1.12 webencodings==0.5.1 -websocket-client==1.5.0 +websocket-client==1.5.1 wheel==0.38.4 widgetsnbextension==4.0.5 -zipp==3.12.0 +y-py==0.5.5 +ypy-websocket==0.8.2 +zipp==3.14.0 # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index 40ebbd1c..24b1b4f9 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -4,18 +4,22 @@ # # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.7.txt --strip-extras setup.py # +aiofiles==22.1.0 +aiosqlite==0.18.0 alabaster==0.7.13 ampform==0.14.5 anyio==3.6.2 aquirdturtle-collapsible-headings==3.1.0 argon2-cffi==21.3.0 argon2-cffi-bindings==21.2.0 +arrow==1.2.3 attrs==22.2.0 babel==2.11.0 backcall==0.2.0 -beautifulsoup4==4.11.1 -black==22.12.0 +beautifulsoup4==4.11.2 +black==23.1.0 bleach==6.0.0 +cached-property==1.5.2 cachetools==5.3.0 cairocffi==1.4.0 cairosvg==2.6.0 @@ -40,36 +44,42 @@ execnet==1.9.0 fastjsonschema==2.16.2 filelock==3.9.0 fonttools==4.38.0 +fqdn==1.5.1 greenlet==2.0.2 hepunits==2.3.1 -identify==2.5.16 +identify==2.5.18 idna==3.4 imagesize==1.4.1 iminuit==2.18.0 importlib-metadata==6.0.0 ; python_version < "3.8.0" -importlib-resources==5.10.2 +importlib-resources==5.12.0 iniconfig==2.0.0 ipykernel==6.16.2 -ipympl==0.9.2 +ipympl==0.9.3 ipython==7.34.0 ipython-genutils==0.2.0 ipywidgets==8.0.4 +isoduration==20.11.0 isort==5.11.5 jax==0.3.25 jaxlib==0.3.25 jedi==0.18.2 jinja2==3.1.2 json5==0.9.11 +jsonpointer==2.3 jsonschema==4.17.3 jupyter-cache==0.5.0 jupyter-client==7.4.9 jupyter-core==4.12.0 -jupyter-resource-usage==0.7.0 -jupyter-server==1.23.5 -jupyterlab==3.5.3 +jupyter-events==0.6.3 +jupyter-resource-usage==0.7.1 +jupyter-server==1.23.6 +jupyter-server-fileid==0.7.0 +jupyter-server-ydoc==0.6.1 +jupyter-ydoc==0.2.2 +jupyterlab==3.6.1 jupyterlab-code-formatter==1.5.3 -jupyterlab-markup==1.1.0 -jupyterlab-myst==0.1.6 +jupyterlab-myst==1.0.1 jupyterlab-pygments==0.2.2 jupyterlab-server==2.19.0 jupyterlab-widgets==3.0.5 @@ -82,14 +92,14 @@ markdown-it-py==2.1.0 markupsafe==2.1.2 matplotlib==3.5.3 matplotlib-inline==0.1.6 -mdit-py-plugins==0.3.3 +mdit-py-plugins==0.3.4 mdurl==0.1.2 -mistune==2.0.4 +mistune==2.0.5 mpmath==1.2.1 -mypy-extensions==0.4.3 +mypy-extensions==1.0.0 myst-nb==0.17.1 myst-parser==0.18.1 -nbclassic==0.5.1 +nbclassic==0.5.2 nbclient==0.5.13 nbconvert==7.2.9 nbformat==5.7.3 @@ -104,13 +114,13 @@ packaging==23.0 pandas==1.3.5 pandocfilters==1.5.0 parso==0.8.3 -particle==0.21.1 +particle==0.21.2 pathspec==0.11.0 pexpect==4.8.0 pickleshare==0.7.5 pillow==9.4.0 pkgutil-resolve-name==1.3.10 -platformdirs==2.6.2 +platformdirs==3.0.0 plotly==5.13.0 pluggy==1.0.0 pre-commit==2.21.0 @@ -121,32 +131,35 @@ ptyprocess==0.7.0 pybtex==0.24.0 pybtex-docutils==1.0.2 pycparser==2.21 -pydantic==1.10.4 +pydantic==1.10.5 pydata-sphinx-theme==0.8.1 pygments==2.14.0 pyparsing==3.0.9 pyproject-api==1.5.0 pyrsistent==0.19.3 pytest==7.2.1 -pytest-xdist==3.1.0 +pytest-xdist==3.2.0 python-constraint==1.4.0 python-dateutil==2.8.2 +python-json-logger==2.0.6 pytz==2022.7.1 pyyaml==6.0 pyzmq==25.0.0 qrules==0.9.7 requests==2.28.2 +rfc3339-validator==0.1.4 +rfc3986-validator==0.1.1 scipy==1.7.3 send2trash==1.8.0 singledispatchmethod==1.0 six==1.16.0 sniffio==1.3.0 snowballstemmer==2.2.0 -soupsieve==2.3.2.post1 +soupsieve==2.4 sphinx==4.5.0 sphinx-autobuild==2021.3.14 sphinx-book-theme==0.3.3 -sphinx-codeautolink==0.13.2 +sphinx-codeautolink==0.14.1 sphinx-copybutton==0.5.1 sphinx-design==0.3.0 sphinx-reredirects==0.1.1 @@ -163,25 +176,29 @@ sqlalchemy==1.4.46 svgutils==0.3.4 sympy==1.10.1 tabulate==0.9.0 -tenacity==8.1.0 -tensorwaves==0.4.9 +tenacity==8.2.1 +tensorwaves==0.4.10 terminado==0.17.1 tinycss2==1.2.1 tomli==2.0.1 tornado==6.2 -tox==4.4.2 +tox==4.4.5 tqdm==4.64.1 traitlets==5.9.0 typed-ast==1.5.4 -typing-extensions==4.4.0 ; python_version < "3.8.0" +typing-extensions==4.5.0 ; python_version < "3.8.0" +uri-template==1.2.0 urllib3==1.26.14 -virtualenv==20.17.1 +virtualenv==20.19.0 wcwidth==0.2.6 +webcolors==1.12 webencodings==0.5.1 -websocket-client==1.5.0 +websocket-client==1.5.1 wheel==0.38.4 widgetsnbextension==4.0.5 -zipp==3.12.0 +y-py==0.5.5 +ypy-websocket==0.8.2 +zipp==3.14.0 # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 1b7f811d..61d0cabb 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -4,18 +4,21 @@ # # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.8.txt --strip-extras setup.py # +aiofiles==22.1.0 +aiosqlite==0.18.0 alabaster==0.7.13 ampform==0.14.5 anyio==3.6.2 aquirdturtle-collapsible-headings==3.1.0 argon2-cffi==21.3.0 argon2-cffi-bindings==21.2.0 +arrow==1.2.3 asttokens==2.2.1 attrs==22.2.0 babel==2.11.0 backcall==0.2.0 -beautifulsoup4==4.11.1 -black==22.12.0 +beautifulsoup4==4.11.2 +black==23.1.0 bleach==6.0.0 cachetools==5.3.0 cairocffi==1.4.0 @@ -43,36 +46,43 @@ executing==1.2.0 fastjsonschema==2.16.2 filelock==3.9.0 fonttools==4.38.0 +fqdn==1.5.1 greenlet==2.0.2 hepunits==2.3.1 -identify==2.5.16 +identify==2.5.18 idna==3.4 imagesize==1.4.1 -iminuit==2.18.0 +iminuit==2.20.0 importlib-metadata==6.0.0 -importlib-resources==5.10.2 +importlib-resources==5.12.0 iniconfig==2.0.0 -ipykernel==6.21.0 -ipympl==0.9.2 -ipython==8.9.0 +ipykernel==6.21.2 +ipympl==0.9.3 +ipython==8.10.0 ipython-genutils==0.2.0 ipywidgets==8.0.4 +isoduration==20.11.0 isort==5.12.0 -jax==0.4.2 -jaxlib==0.4.2 +jax==0.4.4 +jaxlib==0.4.4 jedi==0.18.2 jinja2==3.1.2 json5==0.9.11 +jsonpointer==2.3 jsonschema==4.17.3 jupyter-cache==0.5.0 -jupyter-client==8.0.2 +jupyter-client==8.0.3 jupyter-core==5.2.0 -jupyter-resource-usage==0.7.0 -jupyter-server==1.23.5 -jupyterlab==3.5.3 +jupyter-events==0.6.3 +jupyter-resource-usage==0.7.1 +jupyter-server==2.3.0 +jupyter-server-fileid==0.7.0 +jupyter-server-terminals==0.4.4 +jupyter-server-ydoc==0.6.1 +jupyter-ydoc==0.2.2 +jupyterlab==3.6.1 jupyterlab-code-formatter==1.5.3 -jupyterlab-markup==1.1.0 -jupyterlab-myst==0.1.6 +jupyterlab-myst==1.0.1 jupyterlab-pygments==0.2.2 jupyterlab-server==2.19.0 jupyterlab-widgets==3.0.5 @@ -83,16 +93,16 @@ livereload==2.6.3 lxml==4.9.2 markdown-it-py==2.1.0 markupsafe==2.1.2 -matplotlib==3.6.3 +matplotlib==3.7.0 matplotlib-inline==0.1.6 -mdit-py-plugins==0.3.3 +mdit-py-plugins==0.3.4 mdurl==0.1.2 -mistune==2.0.4 +mistune==2.0.5 mpmath==1.2.1 -mypy-extensions==0.4.3 +mypy-extensions==1.0.0 myst-nb==0.17.1 myst-parser==0.18.1 -nbclassic==0.5.1 +nbclassic==0.5.2 nbclient==0.5.13 nbconvert==7.2.9 nbformat==5.7.3 @@ -101,22 +111,22 @@ nest-asyncio==1.5.6 nodeenv==1.7.0 notebook==6.5.2 notebook-shim==0.2.2 -numpy==1.24.1 +numpy==1.24.2 opt-einsum==3.3.0 packaging==23.0 pandas==1.5.3 pandocfilters==1.5.0 parso==0.8.3 -particle==0.21.1 +particle==0.21.2 pathspec==0.11.0 pexpect==4.8.0 pickleshare==0.7.5 pillow==9.4.0 pkgutil-resolve-name==1.3.10 -platformdirs==2.6.2 +platformdirs==3.0.0 plotly==5.13.0 pluggy==1.0.0 -pre-commit==3.0.2 +pre-commit==3.0.4 prometheus-client==0.16.0 prompt-toolkit==3.0.36 psutil==5.9.4 @@ -125,31 +135,34 @@ pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.2 pycparser==2.21 -pydantic==1.10.4 +pydantic==1.10.5 pydata-sphinx-theme==0.8.1 pygments==2.14.0 pyparsing==3.0.9 pyproject-api==1.5.0 pyrsistent==0.19.3 pytest==7.2.1 -pytest-xdist==3.1.0 +pytest-xdist==3.2.0 python-constraint==1.4.0 python-dateutil==2.8.2 +python-json-logger==2.0.6 pytz==2022.7.1 pyyaml==6.0 pyzmq==25.0.0 qrules==0.9.7 requests==2.28.2 +rfc3339-validator==0.1.4 +rfc3986-validator==0.1.1 scipy==1.10.0 send2trash==1.8.0 six==1.16.0 sniffio==1.3.0 snowballstemmer==2.2.0 -soupsieve==2.3.2.post1 +soupsieve==2.4 sphinx==4.5.0 sphinx-autobuild==2021.3.14 sphinx-book-theme==0.3.3 -sphinx-codeautolink==0.13.2 +sphinx-codeautolink==0.14.1 sphinx-copybutton==0.5.1 sphinx-design==0.3.0 sphinx-reredirects==0.1.1 @@ -157,7 +170,7 @@ sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.4 sphinxcontrib-bibtex==2.5.0 sphinxcontrib-devhelp==1.0.2 -sphinxcontrib-htmlhelp==2.0.0 +sphinxcontrib-htmlhelp==2.0.1 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 @@ -167,24 +180,28 @@ stack-data==0.6.2 svgutils==0.3.4 sympy==1.11.1 tabulate==0.9.0 -tenacity==8.1.0 -tensorwaves==0.4.9 +tenacity==8.2.1 +tensorwaves==0.4.10 terminado==0.17.1 tinycss2==1.2.1 tomli==2.0.1 tornado==6.2 -tox==4.4.2 +tox==4.4.5 tqdm==4.64.1 traitlets==5.9.0 -typing-extensions==4.4.0 +typing-extensions==4.5.0 +uri-template==1.2.0 urllib3==1.26.14 -virtualenv==20.17.1 +virtualenv==20.19.0 wcwidth==0.2.6 +webcolors==1.12 webencodings==0.5.1 -websocket-client==1.5.0 +websocket-client==1.5.1 wheel==0.38.4 widgetsnbextension==4.0.5 -zipp==3.12.0 +y-py==0.5.5 +ypy-websocket==0.8.2 +zipp==3.14.0 # 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 b1ef7263..e0572346 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -4,18 +4,21 @@ # # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.9.txt --strip-extras setup.py # +aiofiles==22.1.0 +aiosqlite==0.18.0 alabaster==0.7.13 ampform==0.14.5 anyio==3.6.2 aquirdturtle-collapsible-headings==3.1.0 argon2-cffi==21.3.0 argon2-cffi-bindings==21.2.0 +arrow==1.2.3 asttokens==2.2.1 attrs==22.2.0 babel==2.11.0 backcall==0.2.0 -beautifulsoup4==4.11.1 -black==22.12.0 +beautifulsoup4==4.11.2 +black==23.1.0 bleach==6.0.0 cachetools==5.3.0 cairocffi==1.4.0 @@ -43,35 +46,43 @@ executing==1.2.0 fastjsonschema==2.16.2 filelock==3.9.0 fonttools==4.38.0 +fqdn==1.5.1 greenlet==2.0.2 hepunits==2.3.1 -identify==2.5.16 +identify==2.5.18 idna==3.4 imagesize==1.4.1 -iminuit==2.18.0 +iminuit==2.20.0 importlib-metadata==6.0.0 +importlib-resources==5.12.0 iniconfig==2.0.0 -ipykernel==6.21.0 -ipympl==0.9.2 -ipython==8.9.0 +ipykernel==6.21.2 +ipympl==0.9.3 +ipython==8.10.0 ipython-genutils==0.2.0 ipywidgets==8.0.4 +isoduration==20.11.0 isort==5.12.0 -jax==0.4.2 -jaxlib==0.4.2 +jax==0.4.4 +jaxlib==0.4.4 jedi==0.18.2 jinja2==3.1.2 json5==0.9.11 +jsonpointer==2.3 jsonschema==4.17.3 jupyter-cache==0.5.0 -jupyter-client==8.0.2 +jupyter-client==8.0.3 jupyter-core==5.2.0 -jupyter-resource-usage==0.7.0 -jupyter-server==1.23.5 -jupyterlab==3.5.3 +jupyter-events==0.6.3 +jupyter-resource-usage==0.7.1 +jupyter-server==2.3.0 +jupyter-server-fileid==0.7.0 +jupyter-server-terminals==0.4.4 +jupyter-server-ydoc==0.6.1 +jupyter-ydoc==0.2.2 +jupyterlab==3.6.1 jupyterlab-code-formatter==1.5.3 -jupyterlab-markup==1.1.0 -jupyterlab-myst==0.1.6 +jupyterlab-myst==1.0.1 jupyterlab-pygments==0.2.2 jupyterlab-server==2.19.0 jupyterlab-widgets==3.0.5 @@ -82,16 +93,16 @@ livereload==2.6.3 lxml==4.9.2 markdown-it-py==2.1.0 markupsafe==2.1.2 -matplotlib==3.6.3 +matplotlib==3.7.0 matplotlib-inline==0.1.6 -mdit-py-plugins==0.3.3 +mdit-py-plugins==0.3.4 mdurl==0.1.2 -mistune==2.0.4 +mistune==2.0.5 mpmath==1.2.1 -mypy-extensions==0.4.3 +mypy-extensions==1.0.0 myst-nb==0.17.1 myst-parser==0.18.1 -nbclassic==0.5.1 +nbclassic==0.5.2 nbclient==0.5.13 nbconvert==7.2.9 nbformat==5.7.3 @@ -100,21 +111,21 @@ nest-asyncio==1.5.6 nodeenv==1.7.0 notebook==6.5.2 notebook-shim==0.2.2 -numpy==1.24.1 +numpy==1.24.2 opt-einsum==3.3.0 packaging==23.0 pandas==1.5.3 pandocfilters==1.5.0 parso==0.8.3 -particle==0.21.1 +particle==0.21.2 pathspec==0.11.0 pexpect==4.8.0 pickleshare==0.7.5 pillow==9.4.0 -platformdirs==2.6.2 +platformdirs==3.0.0 plotly==5.13.0 pluggy==1.0.0 -pre-commit==3.0.2 +pre-commit==3.0.4 prometheus-client==0.16.0 prompt-toolkit==3.0.36 psutil==5.9.4 @@ -123,31 +134,34 @@ pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.2 pycparser==2.21 -pydantic==1.10.4 +pydantic==1.10.5 pydata-sphinx-theme==0.8.1 pygments==2.14.0 pyparsing==3.0.9 pyproject-api==1.5.0 pyrsistent==0.19.3 pytest==7.2.1 -pytest-xdist==3.1.0 +pytest-xdist==3.2.0 python-constraint==1.4.0 python-dateutil==2.8.2 +python-json-logger==2.0.6 pytz==2022.7.1 pyyaml==6.0 pyzmq==25.0.0 qrules==0.9.7 requests==2.28.2 +rfc3339-validator==0.1.4 +rfc3986-validator==0.1.1 scipy==1.10.0 send2trash==1.8.0 six==1.16.0 sniffio==1.3.0 snowballstemmer==2.2.0 -soupsieve==2.3.2.post1 +soupsieve==2.4 sphinx==4.5.0 sphinx-autobuild==2021.3.14 sphinx-book-theme==0.3.3 -sphinx-codeautolink==0.13.2 +sphinx-codeautolink==0.14.1 sphinx-copybutton==0.5.1 sphinx-design==0.3.0 sphinx-reredirects==0.1.1 @@ -155,7 +169,7 @@ sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.4 sphinxcontrib-bibtex==2.5.0 sphinxcontrib-devhelp==1.0.2 -sphinxcontrib-htmlhelp==2.0.0 +sphinxcontrib-htmlhelp==2.0.1 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 @@ -165,24 +179,28 @@ stack-data==0.6.2 svgutils==0.3.4 sympy==1.11.1 tabulate==0.9.0 -tenacity==8.1.0 -tensorwaves==0.4.9 +tenacity==8.2.1 +tensorwaves==0.4.10 terminado==0.17.1 tinycss2==1.2.1 tomli==2.0.1 tornado==6.2 -tox==4.4.2 +tox==4.4.5 tqdm==4.64.1 traitlets==5.9.0 -typing-extensions==4.4.0 +typing-extensions==4.5.0 +uri-template==1.2.0 urllib3==1.26.14 -virtualenv==20.17.1 +virtualenv==20.19.0 wcwidth==0.2.6 +webcolors==1.12 webencodings==0.5.1 -websocket-client==1.5.0 +websocket-client==1.5.1 wheel==0.38.4 widgetsnbextension==4.0.5 -zipp==3.12.0 +y-py==0.5.5 +ypy-websocket==0.8.2 +zipp==3.14.0 # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 49f20467..6ed5606e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,12 +31,12 @@ repos: - id: trailing-whitespace - repo: https://github.com/psf/black - rev: 22.12.0 + rev: 23.1.0 hooks: - id: black - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v6.19.2 + rev: v6.26.0 hooks: - id: cspell @@ -46,7 +46,7 @@ repos: - id: isort - repo: https://github.com/nbQA-dev/nbQA - rev: 1.6.1 + rev: 1.6.3 hooks: - id: nbqa-black additional_dependencies: @@ -85,7 +85,7 @@ repos: - id: prettier - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.291 + rev: v1.1.294 hooks: - id: pyright From a1e6be5385e0b3169ffcc72a8c0206e4b3399ad8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 19 Feb 2023 13:52:31 +0000 Subject: [PATCH 2/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/polarimetry/lhcb/__init__.py | 3 +-- tests/amplitude/test_angles.py | 6 ++---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/polarimetry/lhcb/__init__.py b/src/polarimetry/lhcb/__init__.py index 10705031..7e33b839 100644 --- a/src/polarimetry/lhcb/__init__.py +++ b/src/polarimetry/lhcb/__init__.py @@ -171,8 +171,7 @@ def generate_ls( class ParameterBootstrap: - """A wrapper for loading parameters from :download:`model-definitions.yaml `. - """ + """A wrapper for loading parameters from :download:`model-definitions.yaml `.""" def __init__( self, diff --git a/tests/amplitude/test_angles.py b/tests/amplitude/test_angles.py index a1bc6540..01fc541a 100644 --- a/tests/amplitude/test_angles.py +++ b/tests/amplitude/test_angles.py @@ -53,8 +53,7 @@ def test_formulate_theta_hat_angle(): def test_formulate_zeta_angle_equation_A6(): - """Test Eq. (A6), https://journals.aps.org/prd/pdf/10.1103/PhysRevD.101.034033#page=10. - """ + """Test Eq. (A6), https://journals.aps.org/prd/pdf/10.1103/PhysRevD.101.034033#page=10.""" for i in [1, 2, 3]: for k in [1, 2, 3]: _, ζi_k0 = formulate_zeta_angle(i, k, 0) @@ -85,8 +84,7 @@ def test_formulate_zeta_angle_equation_A6(): ], ) def test_formulate_zeta_angle_sum_rule(ζ1: sp.Expr, ζ2: sp.Expr, ζ3: sp.Expr): - """Test Eq. (A9), https://journals.aps.org/prd/pdf/10.1103/PhysRevD.101.034033#page=11. - """ + """Test Eq. (A9), https://journals.aps.org/prd/pdf/10.1103/PhysRevD.101.034033#page=11.""" σ3_expr = compute_third_mandelstam(σ1, σ2, m0, m1, m2, m3) masses = {m0: 2.3, m1: 0.94, m2: 0.14, m3: 0.49, σ1: 1.2, σ2: 3.0, σ3: σ3_expr} ζ1 = float(ζ1.doit().xreplace(masses).xreplace(masses)) From dfaa8bc04ede1289f4523c2da616300ddb266f34 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Sun, 19 Feb 2023 14:35:47 +0100 Subject: [PATCH 3/3] MAINT: address pyright linting errors --- src/polarimetry/decay.py | 4 ++-- src/polarimetry/io.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/polarimetry/decay.py b/src/polarimetry/decay.py index 8cad50f2..df762356 100644 --- a/src/polarimetry/decay.py +++ b/src/polarimetry/decay.py @@ -113,9 +113,9 @@ def __attrs_post_init__(self) -> None: raise TypeError(f"Child 1 of child 1 has of type {Particle.__name__}") if not isinstance(self.decay.child2, Particle): raise TypeError(f"Child 2 has of type {Particle.__name__} (spectator)") - if self.incoming_ls is None: + if self.incoming_ls is None: # pyright: ignore[reportUnnecessaryComparison] raise ValueError(f"LS-coupling for production node required") - if self.outgoing_ls is None: + if self.outgoing_ls is None: # pyright: ignore[reportUnnecessaryComparison] raise ValueError(f"LS-coupling for decay node required") @property diff --git a/src/polarimetry/io.py b/src/polarimetry/io.py index ba7b7455..0ae8b211 100644 --- a/src/polarimetry/io.py +++ b/src/polarimetry/io.py @@ -364,7 +364,7 @@ def _to_bytes(obj) -> bytes: def _get_python_hash_seed() -> int | None: python_hash_seed = os.environ.get("PYTHONHASHSEED", "") - if python_hash_seed is not None and python_hash_seed.isdigit(): + if python_hash_seed.isdigit(): return int(python_hash_seed) return None