From 86f9fa86a367f07bcaa795f467f6516dd50cc88b Mon Sep 17 00:00:00 2001 From: GitHub Date: Thu, 21 Sep 2023 18:16:39 +0000 Subject: [PATCH 1/2] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 104 ++++++++++++++++++++++----------------- .constraints/py3.11.txt | 88 +++++++++++++++++++-------------- .constraints/py3.7.txt | 36 ++++++++------ .constraints/py3.8.txt | 100 +++++++++++++++++++++---------------- .constraints/py3.9.txt | 106 +++++++++++++++++++++++----------------- .pre-commit-config.yaml | 8 +-- 6 files changed, 257 insertions(+), 185 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index aa6db2e3..9521bc9d 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -4,8 +4,10 @@ # # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.10.txt --strip-extras # -absl-py==1.4.0 +absl-py==2.0.0 accessible-pygments==0.0.4 +aiofiles==22.1.0 +aiosqlite==0.19.0 alabaster==0.7.13 ampform==0.14.6 anyio==4.0.0 @@ -14,12 +16,11 @@ argon2-cffi-bindings==21.2.0 arrow==1.2.3 asttokens==2.4.0 astunparse==1.6.3 -async-lru==2.0.4 attrs==23.1.0 babel==2.12.1 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.7.0 +black==23.9.1 bleach==6.0.0 cachetools==5.3.1 certifi==2023.7.22 @@ -31,34 +32,36 @@ click==8.1.7 cloudpickle==2.2.1 colorama==0.4.6 comm==0.1.4 -contourpy==1.1.0 +contourpy==1.1.1 coverage==7.3.1 cycler==0.11.0 -debugpy==1.6.7.post1 +debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 distlib==0.3.7 dm-tree==0.1.8 +docstring-to-markdown==0.12 docutils==0.17.1 +entrypoints==0.4 exceptiongroup==1.1.3 execnet==2.0.2 executing==1.2.0 fastjsonschema==2.18.0 -filelock==3.12.3 +filelock==3.12.4 flatbuffers==23.5.26 fonttools==4.42.1 fqdn==1.5.1 gast==0.4.0 -google-auth==2.22.0 +google-auth==2.23.0 google-auth-oauthlib==1.0.0 google-pasta==0.2.0 graphviz==0.20.1 greenlet==2.0.2 -grpcio==1.57.0 +grpcio==1.58.0 h5py==3.9.0 hepunits==2.3.2 -identify==2.5.27 +identify==2.5.29 idna==3.4 imagesize==1.4.1 iminuit==2.24.0 @@ -68,30 +71,34 @@ ipykernel==6.25.2 ipympl==0.9.3 ipython==8.15.0 ipython-genutils==0.2.0 -ipywidgets==8.1.0 +ipywidgets==8.1.1 isoduration==20.11.0 -jax==0.4.14 -jaxlib==0.4.14 +jax==0.4.16 +jaxlib==0.4.16 jedi==0.19.0 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.0 +jsonschema==4.19.1 jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 -jupyter-client==8.3.1 +jupyter-client==7.4.9 jupyter-core==5.3.1 jupyter-events==0.7.0 jupyter-lsp==2.2.0 jupyter-server==2.7.3 +jupyter-server-fileid==0.9.0 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.5 +jupyter-server-ydoc==0.8.0 +jupyter-ydoc==0.2.5 +jupyterlab==3.6.5 jupyterlab-code-formatter==2.2.1 +jupyterlab-lsp==4.3.0 jupyterlab-myst==2.0.2 jupyterlab-pygments==0.2.2 -jupyterlab-server==2.24.0 -jupyterlab-widgets==3.0.8 -keras==2.12.0 +jupyterlab-server==2.25.0 +jupyterlab-widgets==3.0.9 +keras==2.13.1 kiwisolver==1.4.5 latexcodec==2.0.1 libclang==16.0.6 @@ -99,24 +106,26 @@ livereload==2.6.3 markdown==3.4.4 markdown-it-py==2.2.0 markupsafe==2.1.3 -matplotlib==3.7.2 +matplotlib==3.8.0 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 mistune==3.0.1 -ml-dtypes==0.2.0 +ml-dtypes==0.3.0 mpmath==1.3.0 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 +nbclassic==1.0.0 nbclient==0.6.8 nbconvert==7.8.0 nbformat==5.9.2 nbmake==1.4.3 -nest-asyncio==1.5.7 +nest-asyncio==1.5.8 nodeenv==1.8.0 +notebook==6.5.6 notebook-shim==0.2.3 -numpy==1.23.5 +numpy==1.24.3 oauthlib==3.2.2 opt-einsum==3.3.0 overrides==7.4.0 @@ -128,13 +137,13 @@ pathspec==0.11.2 pexpect==4.8.0 phasespace==1.9.0 pickleshare==0.7.5 -pillow==10.0.0 +pillow==10.0.1 platformdirs==3.10.0 pluggy==1.3.0 pre-commit==3.4.0 prometheus-client==0.17.1 prompt-toolkit==3.0.39 -protobuf==4.24.2 +protobuf==4.24.3 psutil==5.9.5 ptyprocess==0.7.0 pure-eval==0.2.2 @@ -143,27 +152,31 @@ pyasn1-modules==0.3.0 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.13.3 +pydata-sphinx-theme==0.14.1 pygments==2.16.1 -pyparsing==3.0.9 +pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.1 +pytest==7.4.2 pytest-cov==4.1.0 pytest-xdist==3.3.1 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 +python-lsp-jsonrpc==1.1.1 +python-lsp-server==1.8.0 +pytoolconfig==1.2.5 pyyaml==6.0.1 -pyzmq==25.1.1 +pyzmq==24.0.1 qrules==0.9.8 referencing==0.30.2 requests==2.31.0 requests-oauthlib==1.3.1 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rpds-py==0.10.2 +rope==1.9.0 +rpds-py==0.10.3 rsa==4.9 -ruff==0.0.287 +ruff==0.0.290 scipy==1.11.2 send2trash==1.8.2 six==1.16.0 @@ -184,38 +197,41 @@ sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.20 +sqlalchemy==2.0.21 stack-data==0.6.2 sympy==1.12 tabulate==0.9.0 -tensorboard==2.12.3 +tensorboard==2.13.0 tensorboard-data-server==0.7.1 -tensorflow==2.12.0 -tensorflow-estimator==2.12.0 -tensorflow-io-gcs-filesystem==0.33.0 -tensorflow-probability==0.20.1 +tensorflow==2.13.0 +tensorflow-estimator==2.13.0 +tensorflow-io-gcs-filesystem==0.34.0 +tensorflow-probability==0.21.0 tensorwaves==0.4.10 termcolor==2.3.0 terminado==0.17.1 tinycss2==1.2.1 tomli==2.0.1 tornado==6.3.3 -tox==4.11.1 +tox==4.11.3 tqdm==4.66.1 -traitlets==5.9.0 -typing-extensions==4.7.1 +traitlets==5.10.0 +typing-extensions==4.5.0 +ujson==5.8.0 uri-template==1.3.0 urllib3==1.26.16 -virtualenv==20.24.4 +virtualenv==20.24.5 wcwidth==0.2.6 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.2 +websocket-client==1.6.3 werkzeug==2.3.7 wheel==0.41.2 -widgetsnbextension==4.0.8 -wrapt==1.14.1 -zipp==3.16.2 +widgetsnbextension==4.0.9 +wrapt==1.15.0 +y-py==0.6.0 +ypy-websocket==0.8.4 +zipp==3.17.0 # 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 f6e9138a..550e872f 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -4,8 +4,10 @@ # # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.11.txt --strip-extras # -absl-py==1.4.0 +absl-py==2.0.0 accessible-pygments==0.0.4 +aiofiles==22.1.0 +aiosqlite==0.19.0 alabaster==0.7.13 ampform==0.14.6 anyio==4.0.0 @@ -14,12 +16,11 @@ argon2-cffi-bindings==21.2.0 arrow==1.2.3 asttokens==2.4.0 astunparse==1.6.3 -async-lru==2.0.4 attrs==23.1.0 babel==2.12.1 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.7.0 +black==23.9.1 bleach==6.0.0 cachetools==5.3.1 certifi==2023.7.22 @@ -31,33 +32,35 @@ click==8.1.7 cloudpickle==2.2.1 colorama==0.4.6 comm==0.1.4 -contourpy==1.1.0 +contourpy==1.1.1 coverage==7.3.1 cycler==0.11.0 -debugpy==1.6.7.post1 +debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 distlib==0.3.7 dm-tree==0.1.8 +docstring-to-markdown==0.12 docutils==0.17.1 +entrypoints==0.4 execnet==2.0.2 executing==1.2.0 fastjsonschema==2.18.0 -filelock==3.12.3 +filelock==3.12.4 flatbuffers==23.5.26 fonttools==4.42.1 fqdn==1.5.1 gast==0.4.0 -google-auth==2.22.0 +google-auth==2.23.0 google-auth-oauthlib==1.0.0 google-pasta==0.2.0 graphviz==0.20.1 greenlet==2.0.2 -grpcio==1.57.0 +grpcio==1.58.0 h5py==3.9.0 hepunits==2.3.2 -identify==2.5.27 +identify==2.5.29 idna==3.4 imagesize==1.4.1 iminuit==2.24.0 @@ -67,29 +70,33 @@ ipykernel==6.25.2 ipympl==0.9.3 ipython==8.15.0 ipython-genutils==0.2.0 -ipywidgets==8.1.0 +ipywidgets==8.1.1 isoduration==20.11.0 -jax==0.4.14 -jaxlib==0.4.14 +jax==0.4.16 +jaxlib==0.4.16 jedi==0.19.0 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.0 +jsonschema==4.19.1 jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 -jupyter-client==8.3.1 +jupyter-client==7.4.9 jupyter-core==5.3.1 jupyter-events==0.7.0 jupyter-lsp==2.2.0 jupyter-server==2.7.3 +jupyter-server-fileid==0.9.0 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.5 +jupyter-server-ydoc==0.8.0 +jupyter-ydoc==0.2.5 +jupyterlab==3.6.5 jupyterlab-code-formatter==2.2.1 +jupyterlab-lsp==4.3.0 jupyterlab-myst==2.0.2 jupyterlab-pygments==0.2.2 -jupyterlab-server==2.24.0 -jupyterlab-widgets==3.0.8 +jupyterlab-server==2.25.0 +jupyterlab-widgets==3.0.9 keras==2.13.1 kiwisolver==1.4.5 latexcodec==2.0.1 @@ -98,22 +105,24 @@ livereload==2.6.3 markdown==3.4.4 markdown-it-py==2.2.0 markupsafe==2.1.3 -matplotlib==3.7.2 +matplotlib==3.8.0 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 mistune==3.0.1 -ml-dtypes==0.2.0 +ml-dtypes==0.3.0 mpmath==1.3.0 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 +nbclassic==1.0.0 nbclient==0.6.8 nbconvert==7.8.0 nbformat==5.9.2 nbmake==1.4.3 -nest-asyncio==1.5.7 +nest-asyncio==1.5.8 nodeenv==1.8.0 +notebook==6.5.6 notebook-shim==0.2.3 numpy==1.24.3 oauthlib==3.2.2 @@ -127,13 +136,13 @@ pathspec==0.11.2 pexpect==4.8.0 phasespace==1.9.0 pickleshare==0.7.5 -pillow==10.0.0 +pillow==10.0.1 platformdirs==3.10.0 pluggy==1.3.0 pre-commit==3.4.0 prometheus-client==0.17.1 prompt-toolkit==3.0.39 -protobuf==4.24.2 +protobuf==4.24.3 psutil==5.9.5 ptyprocess==0.7.0 pure-eval==0.2.2 @@ -142,27 +151,31 @@ pyasn1-modules==0.3.0 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.13.3 +pydata-sphinx-theme==0.14.1 pygments==2.16.1 -pyparsing==3.0.9 +pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.1 +pytest==7.4.2 pytest-cov==4.1.0 pytest-xdist==3.3.1 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 +python-lsp-jsonrpc==1.1.1 +python-lsp-server==1.8.0 +pytoolconfig==1.2.5 pyyaml==6.0.1 -pyzmq==25.1.1 +pyzmq==24.0.1 qrules==0.9.8 referencing==0.30.2 requests==2.31.0 requests-oauthlib==1.3.1 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rpds-py==0.10.2 +rope==1.9.0 +rpds-py==0.10.3 rsa==4.9 -ruff==0.0.287 +ruff==0.0.290 scipy==1.11.2 send2trash==1.8.2 six==1.16.0 @@ -183,7 +196,7 @@ sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.20 +sqlalchemy==2.0.21 stack-data==0.6.2 sympy==1.12 tabulate==0.9.0 @@ -191,29 +204,32 @@ tensorboard==2.13.0 tensorboard-data-server==0.7.1 tensorflow==2.13.0 tensorflow-estimator==2.13.0 -tensorflow-io-gcs-filesystem==0.33.0 +tensorflow-io-gcs-filesystem==0.34.0 tensorflow-probability==0.21.0 tensorwaves==0.4.10 termcolor==2.3.0 terminado==0.17.1 tinycss2==1.2.1 tornado==6.3.3 -tox==4.11.1 +tox==4.11.3 tqdm==4.66.1 -traitlets==5.9.0 +traitlets==5.10.0 typing-extensions==4.5.0 +ujson==5.8.0 uri-template==1.3.0 urllib3==1.26.16 -virtualenv==20.24.4 +virtualenv==20.24.5 wcwidth==0.2.6 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.2 +websocket-client==1.6.3 werkzeug==2.3.7 wheel==0.41.2 -widgetsnbextension==4.0.8 +widgetsnbextension==4.0.9 wrapt==1.15.0 -zipp==3.16.2 +y-py==0.6.0 +ypy-websocket==0.8.4 +zipp==3.17.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 b80a1d92..421f7548 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -4,7 +4,7 @@ # # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.7.txt --resolver=backtracking --strip-extras # -absl-py==1.4.0 +absl-py==2.0.0 accessible-pygments==0.0.4 aiofiles==22.1.0 aiosqlite==0.19.0 @@ -34,12 +34,13 @@ colorama==0.4.6 comm==0.1.4 coverage==7.2.7 cycler==0.11.0 -debugpy==1.6.7.post1 +debugpy==1.7.0 decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 distlib==0.3.7 dm-tree==0.1.8 +docstring-to-markdown==0.12 docutils==0.17.1 entrypoints==0.4 exceptiongroup==1.1.3 @@ -50,12 +51,12 @@ flatbuffers==23.5.26 fonttools==4.38.0 fqdn==1.5.1 gast==0.4.0 -google-auth==2.22.0 +google-auth==2.23.0 google-auth-oauthlib==0.4.6 google-pasta==0.2.0 graphviz==0.20.1 greenlet==2.0.2 -grpcio==1.57.0 +grpcio==1.58.0 h5py==3.8.0 hepunits==2.3.2 identify==2.5.24 @@ -69,11 +70,11 @@ ipykernel==6.16.2 ipympl==0.9.3 ipython==7.34.0 ipython-genutils==0.2.0 -ipywidgets==8.1.0 +ipywidgets==8.1.1 isoduration==20.11.0 jax==0.3.25 jaxlib==0.3.25 -jedi==0.19.0 +jedi==0.18.2 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 @@ -82,16 +83,18 @@ jupyter-cache==0.5.0 jupyter-client==7.4.9 jupyter-core==4.12.0 jupyter-events==0.6.3 +jupyter-lsp==1.5.1 jupyter-server==1.24.0 jupyter-server-fileid==0.9.0 jupyter-server-ydoc==0.8.0 jupyter-ydoc==0.2.4 jupyterlab==3.6.5 jupyterlab-code-formatter==2.2.1 +jupyterlab-lsp==3.10.2 jupyterlab-myst==1.2.0 jupyterlab-pygments==0.2.2 jupyterlab-server==2.24.0 -jupyterlab-widgets==3.0.8 +jupyterlab-widgets==3.0.9 keras==2.11.0 kiwisolver==1.4.5 latexcodec==2.0.1 @@ -114,9 +117,9 @@ nbclient==0.5.13 nbconvert==7.6.0 nbformat==5.8.0 nbmake==1.2.1 ; python_version < "3.8.0" -nest-asyncio==1.5.7 +nest-asyncio==1.5.8 nodeenv==1.8.0 -notebook==6.5.5 +notebook==6.5.6 notebook-shim==0.2.3 numpy==1.21.6 oauthlib==3.2.2 @@ -150,12 +153,15 @@ pygments==2.16.1 pyparsing==3.1.1 pyproject-api==1.5.3 pyrsistent==0.19.3 -pytest==7.4.1 +pytest==7.4.2 pytest-cov==4.1.0 pytest-xdist==3.3.1 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 +python-lsp-jsonrpc==1.0.0 +python-lsp-server==1.7.4 +pytoolconfig==1.2.5 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==24.0.1 @@ -164,8 +170,9 @@ requests==2.31.0 requests-oauthlib==1.3.1 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 +rope==1.9.0 rsa==4.9 -ruff==0.0.287 +ruff==0.0.290 scipy==1.7.3 send2trash==1.8.2 singledispatchmethod==1.0 @@ -195,7 +202,7 @@ tensorboard-data-server==0.6.1 tensorboard-plugin-wit==1.8.1 tensorflow==2.11.0 tensorflow-estimator==2.11.0 -tensorflow-io-gcs-filesystem==0.33.0 +tensorflow-io-gcs-filesystem==0.34.0 tensorflow-probability==0.19.0 tensorwaves==0.4.10 termcolor==2.3.0 @@ -208,16 +215,17 @@ tqdm==4.66.1 traitlets==5.9.0 typed-ast==1.5.5 typing-extensions==4.7.1 ; python_version < "3.8.0" +ujson==5.7.0 uri-template==1.3.0 urllib3==1.26.16 -virtualenv==20.24.4 +virtualenv==20.24.5 wcwidth==0.2.6 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.1 werkzeug==2.2.3 wheel==0.41.2 -widgetsnbextension==4.0.8 +widgetsnbextension==4.0.9 wrapt==1.15.0 y-py==0.5.9 ypy-websocket==0.8.2 ; python_version < "3.8.0" diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index fe723ad3..7657312e 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -4,8 +4,10 @@ # # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.8.txt --strip-extras # -absl-py==1.4.0 +absl-py==2.0.0 accessible-pygments==0.0.4 +aiofiles==22.1.0 +aiosqlite==0.19.0 alabaster==0.7.13 ampform==0.14.6 anyio==4.0.0 @@ -14,12 +16,11 @@ argon2-cffi-bindings==21.2.0 arrow==1.2.3 asttokens==2.4.0 astunparse==1.6.3 -async-lru==2.0.4 attrs==23.1.0 babel==2.12.1 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.7.0 +black==23.9.1 bleach==6.0.0 cachetools==5.3.1 certifi==2023.7.22 @@ -31,45 +32,47 @@ click==8.1.7 cloudpickle==2.2.1 colorama==0.4.6 comm==0.1.4 -contourpy==1.1.0 +contourpy==1.1.1 coverage==7.3.1 cycler==0.11.0 -debugpy==1.6.7.post1 +debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 distlib==0.3.7 dm-tree==0.1.8 +docstring-to-markdown==0.12 docutils==0.17.1 +entrypoints==0.4 exceptiongroup==1.1.3 execnet==2.0.2 executing==1.2.0 fastjsonschema==2.18.0 -filelock==3.12.3 +filelock==3.12.4 flatbuffers==23.5.26 fonttools==4.42.1 fqdn==1.5.1 gast==0.4.0 -google-auth==2.22.0 +google-auth==2.23.0 google-auth-oauthlib==1.0.0 google-pasta==0.2.0 graphviz==0.20.1 greenlet==2.0.2 -grpcio==1.57.0 +grpcio==1.58.0 h5py==3.9.0 hepunits==2.3.2 -identify==2.5.27 +identify==2.5.29 idna==3.4 imagesize==1.4.1 iminuit==2.24.0 importlib-metadata==6.8.0 -importlib-resources==6.0.1 +importlib-resources==6.1.0 iniconfig==2.0.0 ipykernel==6.25.2 ipympl==0.9.3 ipython==8.12.2 ipython-genutils==0.2.0 -ipywidgets==8.1.0 +ipywidgets==8.1.1 isoduration==20.11.0 jax==0.4.13 jaxlib==0.4.13 @@ -77,22 +80,26 @@ jedi==0.19.0 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.0 +jsonschema==4.19.1 jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 -jupyter-client==8.3.1 +jupyter-client==7.4.9 jupyter-core==5.3.1 jupyter-events==0.7.0 jupyter-lsp==2.2.0 jupyter-server==2.7.3 +jupyter-server-fileid==0.9.0 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.5 +jupyter-server-ydoc==0.8.0 +jupyter-ydoc==0.2.5 +jupyterlab==3.6.5 jupyterlab-code-formatter==2.2.1 +jupyterlab-lsp==4.3.0 jupyterlab-myst==2.0.2 jupyterlab-pygments==0.2.2 -jupyterlab-server==2.24.0 -jupyterlab-widgets==3.0.8 -keras==2.12.0 +jupyterlab-server==2.25.0 +jupyterlab-widgets==3.0.9 +keras==2.13.1 kiwisolver==1.4.5 latexcodec==2.0.1 libclang==16.0.6 @@ -100,7 +107,7 @@ livereload==2.6.3 markdown==3.4.4 markdown-it-py==2.2.0 markupsafe==2.1.3 -matplotlib==3.7.2 +matplotlib==3.7.3 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 @@ -110,14 +117,16 @@ mpmath==1.3.0 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 +nbclassic==1.0.0 nbclient==0.6.8 nbconvert==7.8.0 nbformat==5.9.2 nbmake==1.4.3 -nest-asyncio==1.5.7 +nest-asyncio==1.5.8 nodeenv==1.8.0 +notebook==6.5.6 notebook-shim==0.2.3 -numpy==1.23.5 +numpy==1.24.3 oauthlib==3.2.2 opt-einsum==3.3.0 overrides==7.4.0 @@ -129,14 +138,14 @@ pathspec==0.11.2 pexpect==4.8.0 phasespace==1.9.0 pickleshare==0.7.5 -pillow==10.0.0 +pillow==10.0.1 pkgutil-resolve-name==1.3.10 platformdirs==3.10.0 pluggy==1.3.0 pre-commit==3.4.0 prometheus-client==0.17.1 prompt-toolkit==3.0.39 -protobuf==4.24.2 +protobuf==4.24.3 psutil==5.9.5 ptyprocess==0.7.0 pure-eval==0.2.2 @@ -145,28 +154,32 @@ pyasn1-modules==0.3.0 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.13.3 +pydata-sphinx-theme==0.14.1 pygments==2.16.1 -pyparsing==3.0.9 +pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.1 +pytest==7.4.2 pytest-cov==4.1.0 pytest-xdist==3.3.1 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 +python-lsp-jsonrpc==1.1.1 +python-lsp-server==1.8.0 +pytoolconfig==1.2.5 pytz==2023.3.post1 pyyaml==6.0.1 -pyzmq==25.1.1 +pyzmq==24.0.1 qrules==0.9.8 referencing==0.30.2 requests==2.31.0 requests-oauthlib==1.3.1 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rpds-py==0.10.2 +rope==1.9.0 +rpds-py==0.10.3 rsa==4.9 -ruff==0.0.287 +ruff==0.0.290 scipy==1.10.1 send2trash==1.8.2 six==1.16.0 @@ -187,38 +200,41 @@ sphinxcontrib-htmlhelp==2.0.1 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 -sqlalchemy==2.0.20 +sqlalchemy==2.0.21 stack-data==0.6.2 sympy==1.12 tabulate==0.9.0 -tensorboard==2.12.3 +tensorboard==2.13.0 tensorboard-data-server==0.7.1 -tensorflow==2.12.0 -tensorflow-estimator==2.12.0 -tensorflow-io-gcs-filesystem==0.33.0 -tensorflow-probability==0.20.1 +tensorflow==2.13.0 +tensorflow-estimator==2.13.0 +tensorflow-io-gcs-filesystem==0.34.0 +tensorflow-probability==0.21.0 tensorwaves==0.4.10 termcolor==2.3.0 terminado==0.17.1 tinycss2==1.2.1 tomli==2.0.1 tornado==6.3.3 -tox==4.11.1 +tox==4.11.3 tqdm==4.66.1 -traitlets==5.9.0 -typing-extensions==4.7.1 +traitlets==5.10.0 +typing-extensions==4.5.0 +ujson==5.8.0 uri-template==1.3.0 urllib3==1.26.16 -virtualenv==20.24.4 +virtualenv==20.24.5 wcwidth==0.2.6 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.2 +websocket-client==1.6.3 werkzeug==2.3.7 wheel==0.41.2 -widgetsnbextension==4.0.8 -wrapt==1.14.1 -zipp==3.16.2 +widgetsnbextension==4.0.9 +wrapt==1.15.0 +y-py==0.6.0 +ypy-websocket==0.8.4 +zipp==3.17.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 58df9ef7..e4eee840 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -4,8 +4,10 @@ # # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.9.txt --strip-extras # -absl-py==1.4.0 +absl-py==2.0.0 accessible-pygments==0.0.4 +aiofiles==22.1.0 +aiosqlite==0.19.0 alabaster==0.7.13 ampform==0.14.6 anyio==4.0.0 @@ -14,12 +16,11 @@ argon2-cffi-bindings==21.2.0 arrow==1.2.3 asttokens==2.4.0 astunparse==1.6.3 -async-lru==2.0.4 attrs==23.1.0 babel==2.12.1 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.7.0 +black==23.9.1 bleach==6.0.0 cachetools==5.3.1 certifi==2023.7.22 @@ -31,68 +32,74 @@ click==8.1.7 cloudpickle==2.2.1 colorama==0.4.6 comm==0.1.4 -contourpy==1.1.0 +contourpy==1.1.1 coverage==7.3.1 cycler==0.11.0 -debugpy==1.6.7.post1 +debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 distlib==0.3.7 dm-tree==0.1.8 +docstring-to-markdown==0.12 docutils==0.17.1 +entrypoints==0.4 exceptiongroup==1.1.3 execnet==2.0.2 executing==1.2.0 fastjsonschema==2.18.0 -filelock==3.12.3 +filelock==3.12.4 flatbuffers==23.5.26 fonttools==4.42.1 fqdn==1.5.1 gast==0.4.0 -google-auth==2.22.0 +google-auth==2.23.0 google-auth-oauthlib==1.0.0 google-pasta==0.2.0 graphviz==0.20.1 greenlet==2.0.2 -grpcio==1.57.0 +grpcio==1.58.0 h5py==3.9.0 hepunits==2.3.2 -identify==2.5.27 +identify==2.5.29 idna==3.4 imagesize==1.4.1 iminuit==2.24.0 importlib-metadata==6.8.0 -importlib-resources==6.0.1 +importlib-resources==6.1.0 iniconfig==2.0.0 ipykernel==6.25.2 ipympl==0.9.3 ipython==8.15.0 ipython-genutils==0.2.0 -ipywidgets==8.1.0 +ipywidgets==8.1.1 isoduration==20.11.0 -jax==0.4.14 -jaxlib==0.4.14 +jax==0.4.16 +jaxlib==0.4.16 jedi==0.19.0 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.0 +jsonschema==4.19.1 jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 -jupyter-client==8.3.1 +jupyter-client==7.4.9 jupyter-core==5.3.1 jupyter-events==0.7.0 jupyter-lsp==2.2.0 jupyter-server==2.7.3 +jupyter-server-fileid==0.9.0 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.5 +jupyter-server-ydoc==0.8.0 +jupyter-ydoc==0.2.5 +jupyterlab==3.6.5 jupyterlab-code-formatter==2.2.1 +jupyterlab-lsp==4.3.0 jupyterlab-myst==2.0.2 jupyterlab-pygments==0.2.2 -jupyterlab-server==2.24.0 -jupyterlab-widgets==3.0.8 -keras==2.12.0 +jupyterlab-server==2.25.0 +jupyterlab-widgets==3.0.9 +keras==2.13.1 kiwisolver==1.4.5 latexcodec==2.0.1 libclang==16.0.6 @@ -100,24 +107,26 @@ livereload==2.6.3 markdown==3.4.4 markdown-it-py==2.2.0 markupsafe==2.1.3 -matplotlib==3.7.2 +matplotlib==3.8.0 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 mistune==3.0.1 -ml-dtypes==0.2.0 +ml-dtypes==0.3.0 mpmath==1.3.0 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 +nbclassic==1.0.0 nbclient==0.6.8 nbconvert==7.8.0 nbformat==5.9.2 nbmake==1.4.3 -nest-asyncio==1.5.7 +nest-asyncio==1.5.8 nodeenv==1.8.0 +notebook==6.5.6 notebook-shim==0.2.3 -numpy==1.23.5 +numpy==1.24.3 oauthlib==3.2.2 opt-einsum==3.3.0 overrides==7.4.0 @@ -129,13 +138,13 @@ pathspec==0.11.2 pexpect==4.8.0 phasespace==1.9.0 pickleshare==0.7.5 -pillow==10.0.0 +pillow==10.0.1 platformdirs==3.10.0 pluggy==1.3.0 pre-commit==3.4.0 prometheus-client==0.17.1 prompt-toolkit==3.0.39 -protobuf==4.24.2 +protobuf==4.24.3 psutil==5.9.5 ptyprocess==0.7.0 pure-eval==0.2.2 @@ -144,27 +153,31 @@ pyasn1-modules==0.3.0 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.13.3 +pydata-sphinx-theme==0.14.1 pygments==2.16.1 -pyparsing==3.0.9 +pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.1 +pytest==7.4.2 pytest-cov==4.1.0 pytest-xdist==3.3.1 python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 +python-lsp-jsonrpc==1.1.1 +python-lsp-server==1.8.0 +pytoolconfig==1.2.5 pyyaml==6.0.1 -pyzmq==25.1.1 +pyzmq==24.0.1 qrules==0.9.8 referencing==0.30.2 requests==2.31.0 requests-oauthlib==1.3.1 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rpds-py==0.10.2 +rope==1.9.0 +rpds-py==0.10.3 rsa==4.9 -ruff==0.0.287 +ruff==0.0.290 scipy==1.11.2 send2trash==1.8.2 six==1.16.0 @@ -185,38 +198,41 @@ sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.20 +sqlalchemy==2.0.21 stack-data==0.6.2 sympy==1.12 tabulate==0.9.0 -tensorboard==2.12.3 +tensorboard==2.13.0 tensorboard-data-server==0.7.1 -tensorflow==2.12.0 -tensorflow-estimator==2.12.0 -tensorflow-io-gcs-filesystem==0.33.0 -tensorflow-probability==0.20.1 +tensorflow==2.13.0 +tensorflow-estimator==2.13.0 +tensorflow-io-gcs-filesystem==0.34.0 +tensorflow-probability==0.21.0 tensorwaves==0.4.10 termcolor==2.3.0 terminado==0.17.1 tinycss2==1.2.1 tomli==2.0.1 tornado==6.3.3 -tox==4.11.1 +tox==4.11.3 tqdm==4.66.1 -traitlets==5.9.0 -typing-extensions==4.7.1 +traitlets==5.10.0 +typing-extensions==4.5.0 +ujson==5.8.0 uri-template==1.3.0 urllib3==1.26.16 -virtualenv==20.24.4 +virtualenv==20.24.5 wcwidth==0.2.6 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.2 +websocket-client==1.6.3 werkzeug==2.3.7 wheel==0.41.2 -widgetsnbextension==4.0.8 -wrapt==1.14.1 -zipp==3.16.2 +widgetsnbextension==4.0.9 +wrapt==1.15.0 +y-py==0.6.0 +ypy-websocket==0.8.4 +zipp==3.17.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 3cd3bae3..1aec3b8d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -52,7 +52,7 @@ repos: - --fix - repo: https://github.com/psf/black - rev: 23.7.0 + rev: 23.9.1 hooks: - id: black @@ -102,19 +102,19 @@ repos: - id: prettier - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.326 + rev: v1.1.328 hooks: - id: pyright - repo: https://github.com/asottile/pyupgrade - rev: v3.10.1 + rev: v3.11.2 hooks: - id: pyupgrade args: - --py37-plus - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.287 + rev: v0.0.290 hooks: - id: ruff args: From b18bb881019a2fc7e3743ea76804ec94efc16c58 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 21 Sep 2023 18:17:06 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/ampform_dpd/__init__.py | 3 +-- src/ampform_dpd/io.py | 6 ++---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/ampform_dpd/__init__.py b/src/ampform_dpd/__init__.py index d1d15fc8..a373afc1 100644 --- a/src/ampform_dpd/__init__.py +++ b/src/ampform_dpd/__init__.py @@ -322,8 +322,7 @@ def decay(self) -> ThreeBodyDecay: class DynamicsBuilder(Protocol): def __call__( self, decay_chain: ThreeBodyDecayChain - ) -> tuple[sp.Expr, dict[sp.Symbol, float]]: - ... + ) -> tuple[sp.Expr, dict[sp.Symbol, float]]: ... def formulate_non_resonant( diff --git a/src/ampform_dpd/io.py b/src/ampform_dpd/io.py index 13593299..a0314bad 100644 --- a/src/ampform_dpd/io.py +++ b/src/ampform_dpd/io.py @@ -269,8 +269,7 @@ def perform_cached_lambdify( expr: sp.Expr, backend: str = "jax", directory: str | None = None, -) -> PositionalArgumentFunction: - ... +) -> PositionalArgumentFunction: ... @overload @@ -279,8 +278,7 @@ def perform_cached_lambdify( parameters: Mapping[sp.Symbol, ParameterValue], backend: str = "jax", directory: str | None = None, -) -> ParametrizedBackendFunction: - ... +) -> ParametrizedBackendFunction: ... def perform_cached_lambdify(