From df07c3af81075ad40ac75a1b5893cc61b5003bef Mon Sep 17 00:00:00 2001 From: GitHub Date: Thu, 24 Aug 2023 09:57:44 +0000 Subject: [PATCH 1/5] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 73 ++++++++++++++++++++--------------------- .constraints/py3.11.txt | 71 ++++++++++++++++++++------------------- .constraints/py3.7.txt | 26 +++++++-------- .constraints/py3.8.txt | 61 +++++++++++++++++----------------- .constraints/py3.9.txt | 73 ++++++++++++++++++++--------------------- .pre-commit-config.yaml | 12 +++---- 6 files changed, 156 insertions(+), 160 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 0d0bd5b9..5d11a4af 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -9,7 +9,7 @@ accessible-pygments==0.0.4 alabaster==0.7.13 ampform==0.14.6 anyio==3.7.1 -argon2-cffi==21.3.0 +argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.2.3 asttokens==2.2.1 @@ -24,30 +24,30 @@ bleach==6.0.0 cachetools==5.3.1 certifi==2023.7.22 cffi==1.15.1 -cfgv==3.3.1 +cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.2.0 -click==8.1.6 +click==8.1.7 cloudpickle==2.2.1 colorama==0.4.6 comm==0.1.4 contourpy==1.1.0 -coverage==7.2.7 +coverage==7.3.0 cycler==0.11.0 -debugpy==1.6.7 +debugpy==1.6.7.post1 decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 distlib==0.3.7 dm-tree==0.1.8 docutils==0.19 -exceptiongroup==1.1.2 +exceptiongroup==1.1.3 execnet==2.0.2 executing==1.2.0 fastjsonschema==2.18.0 filelock==3.12.2 flatbuffers==23.5.26 -fonttools==4.42.0 +fonttools==4.42.1 fqdn==1.5.1 gast==0.4.0 google-auth==2.22.0 @@ -55,13 +55,13 @@ google-auth-oauthlib==1.0.0 google-pasta==0.2.0 graphviz==0.20.1 greenlet==2.0.2 -grpcio==1.56.2 +grpcio==1.57.0 h5py==3.9.0 hepunits==2.3.2 -identify==2.5.26 +identify==2.5.27 idna==3.4 imagesize==1.4.1 -iminuit==2.23.0 +iminuit==2.24.0 importlib-metadata==6.8.0 iniconfig==2.0.0 ipykernel==6.25.1 @@ -85,16 +85,16 @@ jupyter-console==6.6.3 jupyter-core==5.3.1 jupyter-events==0.7.0 jupyter-lsp==2.2.0 -jupyter-server==2.7.0 +jupyter-server==2.7.2 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.4 +jupyterlab==4.0.5 jupyterlab-code-formatter==2.2.1 jupyterlab-myst==2.0.1 jupyterlab-pygments==0.2.2 jupyterlab-server==2.24.0 jupyterlab-widgets==3.0.8 keras==2.13.1 -kiwisolver==1.4.4 +kiwisolver==1.4.5 libclang==16.0.6 livereload==2.6.3 llvmlite==0.40.1 @@ -108,14 +108,14 @@ mdurl==0.1.2 mistune==3.0.1 ml-dtypes==0.2.0 mpmath==1.3.0 -mypy==1.4.1 +mypy==1.5.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.6.8 -nbconvert==7.7.3 +nbconvert==7.7.4 nbformat==5.9.2 -nbmake==1.4.1 +nbmake==1.4.3 nest-asyncio==1.5.7 nodeenv==1.8.0 notebook==7.0.2 @@ -140,7 +140,7 @@ pluggy==1.2.0 pre-commit==3.3.3 prometheus-client==0.17.1 prompt-toolkit==3.0.39 -protobuf==4.23.4 +protobuf==4.24.1 psutil==5.9.5 ptyprocess==0.7.0 pure-eval==0.2.2 @@ -148,11 +148,10 @@ py-cpuinfo==9.0.0 pyasn1==0.5.0 pyasn1-modules==0.3.0 pycparser==2.21 -pydantic==1.10.12 pydata-sphinx-theme==0.13.3 pygments==2.16.1 pyparsing==3.0.9 -pyproject-api==1.5.3 +pyproject-api==1.5.4 pytest==7.4.0 pytest-benchmark==4.0.0 pytest-cov==4.1.0 @@ -163,7 +162,7 @@ python-dateutil==2.8.2 python-json-logger==2.0.7 pytz==2023.3 pyyaml==6.0.1 -pyzmq==25.1.0 +pyzmq==25.1.1 qrules==0.9.8 qtconsole==5.4.3 qtpy==2.3.1 @@ -174,8 +173,8 @@ rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rpds-py==0.9.2 rsa==4.9 -ruff==0.0.282 -scipy==1.11.1 +ruff==0.0.285 +scipy==1.11.2 send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -190,14 +189,14 @@ sphinx-copybutton==0.5.2 sphinx-design==0.5.0 sphinx-thebe==0.2.1 sphinx-togglebutton==0.3.2 -sphinxcontrib-applehelp==1.0.4 -sphinxcontrib-devhelp==1.0.2 -sphinxcontrib-htmlhelp==2.0.1 +sphinxcontrib-applehelp==1.0.7 +sphinxcontrib-devhelp==1.0.5 +sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 -sphinxcontrib-qthelp==1.0.3 -sphinxcontrib-serializinghtml==1.1.5 +sphinxcontrib-qthelp==1.0.6 +sphinxcontrib-serializinghtml==1.1.9 sphobjinv==2.3.1 -sqlalchemy==2.0.19 +sqlalchemy==2.0.20 stack-data==0.6.2 sympy==1.12 tabulate==0.9.0 @@ -211,27 +210,27 @@ termcolor==2.3.0 terminado==0.17.1 tinycss2==1.2.1 tomli==2.0.1 -tornado==6.3.2 -tox==4.6.4 -tqdm==4.65.0 +tornado==6.3.3 +tox==4.10.0 +tqdm==4.66.1 traitlets==5.9.0 -types-docutils==0.20.0.1 +types-docutils==0.20.0.3 types-pkg-resources==0.1.3 types-pyyaml==6.0.12.11 types-requests==2.31.0.2 -types-setuptools==68.0.0.3 +types-setuptools==68.1.0.0 types-urllib3==1.26.25.14 typing-extensions==4.5.0 tzdata==2023.3 uri-template==1.3.0 urllib3==1.26.16 -virtualenv==20.24.2 +virtualenv==20.24.3 wcwidth==0.2.6 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.1 -werkzeug==2.3.6 -wheel==0.41.1 +websocket-client==1.6.2 +werkzeug==2.3.7 +wheel==0.41.2 widgetsnbextension==4.0.8 wrapt==1.15.0 zipp==3.16.2 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 47b2eb0c..5c29e92e 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -9,7 +9,7 @@ accessible-pygments==0.0.4 alabaster==0.7.13 ampform==0.14.6 anyio==3.7.1 -argon2-cffi==21.3.0 +argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.2.3 asttokens==2.2.1 @@ -24,17 +24,17 @@ bleach==6.0.0 cachetools==5.3.1 certifi==2023.7.22 cffi==1.15.1 -cfgv==3.3.1 +cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.2.0 -click==8.1.6 +click==8.1.7 cloudpickle==2.2.1 colorama==0.4.6 comm==0.1.4 contourpy==1.1.0 -coverage==7.2.7 +coverage==7.3.0 cycler==0.11.0 -debugpy==1.6.7 +debugpy==1.6.7.post1 decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 @@ -46,7 +46,7 @@ executing==1.2.0 fastjsonschema==2.18.0 filelock==3.12.2 flatbuffers==23.5.26 -fonttools==4.42.0 +fonttools==4.42.1 fqdn==1.5.1 gast==0.4.0 google-auth==2.22.0 @@ -54,13 +54,13 @@ google-auth-oauthlib==1.0.0 google-pasta==0.2.0 graphviz==0.20.1 greenlet==2.0.2 -grpcio==1.56.2 +grpcio==1.57.0 h5py==3.9.0 hepunits==2.3.2 -identify==2.5.26 +identify==2.5.27 idna==3.4 imagesize==1.4.1 -iminuit==2.23.0 +iminuit==2.24.0 importlib-metadata==6.8.0 iniconfig==2.0.0 ipykernel==6.25.1 @@ -84,16 +84,16 @@ jupyter-console==6.6.3 jupyter-core==5.3.1 jupyter-events==0.7.0 jupyter-lsp==2.2.0 -jupyter-server==2.7.0 +jupyter-server==2.7.2 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.4 +jupyterlab==4.0.5 jupyterlab-code-formatter==2.2.1 jupyterlab-myst==2.0.1 jupyterlab-pygments==0.2.2 jupyterlab-server==2.24.0 jupyterlab-widgets==3.0.8 keras==2.13.1 -kiwisolver==1.4.4 +kiwisolver==1.4.5 libclang==16.0.6 livereload==2.6.3 llvmlite==0.40.1 @@ -107,14 +107,14 @@ mdurl==0.1.2 mistune==3.0.1 ml-dtypes==0.2.0 mpmath==1.3.0 -mypy==1.4.1 +mypy==1.5.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.6.8 -nbconvert==7.7.3 +nbconvert==7.7.4 nbformat==5.9.2 -nbmake==1.4.1 +nbmake==1.4.3 nest-asyncio==1.5.7 nodeenv==1.8.0 notebook==7.0.2 @@ -139,7 +139,7 @@ pluggy==1.2.0 pre-commit==3.3.3 prometheus-client==0.17.1 prompt-toolkit==3.0.39 -protobuf==4.23.4 +protobuf==4.24.1 psutil==5.9.5 ptyprocess==0.7.0 pure-eval==0.2.2 @@ -147,11 +147,10 @@ py-cpuinfo==9.0.0 pyasn1==0.5.0 pyasn1-modules==0.3.0 pycparser==2.21 -pydantic==1.10.12 pydata-sphinx-theme==0.13.3 pygments==2.16.1 pyparsing==3.0.9 -pyproject-api==1.5.3 +pyproject-api==1.5.4 pytest==7.4.0 pytest-benchmark==4.0.0 pytest-cov==4.1.0 @@ -162,7 +161,7 @@ python-dateutil==2.8.2 python-json-logger==2.0.7 pytz==2023.3 pyyaml==6.0.1 -pyzmq==25.1.0 +pyzmq==25.1.1 qrules==0.9.8 qtconsole==5.4.3 qtpy==2.3.1 @@ -173,8 +172,8 @@ rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rpds-py==0.9.2 rsa==4.9 -ruff==0.0.282 -scipy==1.11.1 +ruff==0.0.285 +scipy==1.11.2 send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -189,14 +188,14 @@ sphinx-copybutton==0.5.2 sphinx-design==0.5.0 sphinx-thebe==0.2.1 sphinx-togglebutton==0.3.2 -sphinxcontrib-applehelp==1.0.4 -sphinxcontrib-devhelp==1.0.2 -sphinxcontrib-htmlhelp==2.0.1 +sphinxcontrib-applehelp==1.0.7 +sphinxcontrib-devhelp==1.0.5 +sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 -sphinxcontrib-qthelp==1.0.3 -sphinxcontrib-serializinghtml==1.1.5 +sphinxcontrib-qthelp==1.0.6 +sphinxcontrib-serializinghtml==1.1.9 sphobjinv==2.3.1 -sqlalchemy==2.0.19 +sqlalchemy==2.0.20 stack-data==0.6.2 sympy==1.12 tabulate==0.9.0 @@ -209,27 +208,27 @@ tensorflow-probability==0.21.0 termcolor==2.3.0 terminado==0.17.1 tinycss2==1.2.1 -tornado==6.3.2 -tox==4.6.4 -tqdm==4.65.0 +tornado==6.3.3 +tox==4.10.0 +tqdm==4.66.1 traitlets==5.9.0 -types-docutils==0.20.0.1 +types-docutils==0.20.0.3 types-pkg-resources==0.1.3 types-pyyaml==6.0.12.11 types-requests==2.31.0.2 -types-setuptools==68.0.0.3 +types-setuptools==68.1.0.0 types-urllib3==1.26.25.14 typing-extensions==4.5.0 tzdata==2023.3 uri-template==1.3.0 urllib3==1.26.16 -virtualenv==20.24.2 +virtualenv==20.24.3 wcwidth==0.2.6 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.1 -werkzeug==2.3.6 -wheel==0.41.1 +websocket-client==1.6.2 +werkzeug==2.3.7 +wheel==0.41.2 widgetsnbextension==4.0.8 wrapt==1.15.0 zipp==3.16.2 diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index 6104c580..e53bfa32 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -11,7 +11,7 @@ aiosqlite==0.19.0 alabaster==0.7.13 ampform==0.14.6 anyio==3.7.1 -argon2-cffi==21.3.0 +argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.2.3 astunparse==1.6.3 @@ -28,13 +28,13 @@ cffi==1.15.1 cfgv==3.3.1 chardet==5.2.0 charset-normalizer==3.2.0 -click==8.1.6 +click==8.1.7 cloudpickle==2.2.1 colorama==0.4.6 comm==0.1.4 coverage==7.2.7 cycler==0.11.0 -debugpy==1.6.7 +debugpy==1.6.7.post1 decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 @@ -42,7 +42,7 @@ distlib==0.3.7 dm-tree==0.1.8 docutils==0.19 entrypoints==0.4 -exceptiongroup==1.1.2 +exceptiongroup==1.1.3 execnet==2.0.2 fastjsonschema==2.18.0 filelock==3.12.2 @@ -55,7 +55,7 @@ google-auth-oauthlib==0.4.6 google-pasta==0.2.0 graphviz==0.20.1 greenlet==2.0.2 -grpcio==1.56.2 +grpcio==1.57.0 h5py==3.8.0 hepunits==2.3.2 identify==2.5.24 @@ -95,7 +95,7 @@ jupyterlab-pygments==0.2.2 jupyterlab-server==2.24.0 jupyterlab-widgets==3.0.8 keras==2.11.0 -kiwisolver==1.4.4 +kiwisolver==1.4.5 libclang==16.0.6 livereload==2.6.3 llvmlite==0.39.1 @@ -173,7 +173,7 @@ requests-oauthlib==1.3.1 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rsa==4.9 -ruff==0.0.282 +ruff==0.0.285 scipy==1.7.3 send2trash==1.8.2 singledispatchmethod==1.0 @@ -212,26 +212,26 @@ terminado==0.17.1 tinycss2==1.2.1 tomli==2.0.1 tornado==6.2 -tox==4.6.4 -tqdm==4.65.0 +tox==4.8.0 +tqdm==4.66.1 traitlets==5.9.0 typed-ast==1.5.5 -types-docutils==0.20.0.1 +types-docutils==0.20.0.3 types-pkg-resources==0.1.3 types-pyyaml==6.0.12.11 types-requests==2.31.0.2 -types-setuptools==68.0.0.3 +types-setuptools==68.1.0.0 types-urllib3==1.26.25.14 typing-extensions==4.7.1 uri-template==1.3.0 urllib3==1.26.16 -virtualenv==20.24.2 +virtualenv==20.24.3 wcwidth==0.2.6 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.1 werkzeug==2.2.3 -wheel==0.41.1 +wheel==0.41.2 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 dbf4f675..97c3e69d 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -9,7 +9,7 @@ accessible-pygments==0.0.4 alabaster==0.7.13 ampform==0.14.6 anyio==3.7.1 -argon2-cffi==21.3.0 +argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.2.3 asttokens==2.2.1 @@ -24,30 +24,30 @@ bleach==6.0.0 cachetools==5.3.1 certifi==2023.7.22 cffi==1.15.1 -cfgv==3.3.1 +cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.2.0 -click==8.1.6 +click==8.1.7 cloudpickle==2.2.1 colorama==0.4.6 comm==0.1.4 contourpy==1.1.0 -coverage==7.2.7 +coverage==7.3.0 cycler==0.11.0 -debugpy==1.6.7 +debugpy==1.6.7.post1 decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 distlib==0.3.7 dm-tree==0.1.8 docutils==0.19 -exceptiongroup==1.1.2 +exceptiongroup==1.1.3 execnet==2.0.2 executing==1.2.0 fastjsonschema==2.18.0 filelock==3.12.2 flatbuffers==23.5.26 -fonttools==4.42.0 +fonttools==4.42.1 fqdn==1.5.1 gast==0.4.0 google-auth==2.22.0 @@ -55,13 +55,13 @@ google-auth-oauthlib==1.0.0 google-pasta==0.2.0 graphviz==0.20.1 greenlet==2.0.2 -grpcio==1.56.2 +grpcio==1.57.0 h5py==3.9.0 hepunits==2.3.2 -identify==2.5.26 +identify==2.5.27 idna==3.4 imagesize==1.4.1 -iminuit==2.23.0 +iminuit==2.24.0 importlib-metadata==6.8.0 importlib-resources==6.0.1 iniconfig==2.0.0 @@ -86,16 +86,16 @@ jupyter-console==6.6.3 jupyter-core==5.3.1 jupyter-events==0.7.0 jupyter-lsp==2.2.0 -jupyter-server==2.7.0 +jupyter-server==2.7.2 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.4 +jupyterlab==4.0.5 jupyterlab-code-formatter==2.2.1 jupyterlab-myst==2.0.1 jupyterlab-pygments==0.2.2 jupyterlab-server==2.24.0 jupyterlab-widgets==3.0.8 keras==2.13.1 -kiwisolver==1.4.4 +kiwisolver==1.4.5 libclang==16.0.6 livereload==2.6.3 llvmlite==0.40.1 @@ -109,14 +109,14 @@ mdurl==0.1.2 mistune==3.0.1 ml-dtypes==0.2.0 mpmath==1.3.0 -mypy==1.4.1 +mypy==1.5.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.6.8 -nbconvert==7.7.3 +nbconvert==7.7.4 nbformat==5.9.2 -nbmake==1.4.1 +nbmake==1.4.3 nest-asyncio==1.5.7 nodeenv==1.8.0 notebook==7.0.2 @@ -142,7 +142,7 @@ pluggy==1.2.0 pre-commit==3.3.3 prometheus-client==0.17.1 prompt-toolkit==3.0.39 -protobuf==4.23.4 +protobuf==4.24.1 psutil==5.9.5 ptyprocess==0.7.0 pure-eval==0.2.2 @@ -150,11 +150,10 @@ py-cpuinfo==9.0.0 pyasn1==0.5.0 pyasn1-modules==0.3.0 pycparser==2.21 -pydantic==1.10.12 pydata-sphinx-theme==0.13.3 pygments==2.16.1 pyparsing==3.0.9 -pyproject-api==1.5.3 +pyproject-api==1.5.4 pytest==7.4.0 pytest-benchmark==4.0.0 pytest-cov==4.1.0 @@ -165,7 +164,7 @@ python-dateutil==2.8.2 python-json-logger==2.0.7 pytz==2023.3 pyyaml==6.0.1 -pyzmq==25.1.0 +pyzmq==25.1.1 qrules==0.9.8 qtconsole==5.4.3 qtpy==2.3.1 @@ -176,7 +175,7 @@ rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rpds-py==0.9.2 rsa==4.9 -ruff==0.0.282 +ruff==0.0.285 scipy==1.10.1 send2trash==1.8.2 six==1.16.0 @@ -199,7 +198,7 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 sphobjinv==2.3.1 -sqlalchemy==2.0.19 +sqlalchemy==2.0.20 stack-data==0.6.2 sympy==1.12 tabulate==0.9.0 @@ -213,27 +212,27 @@ termcolor==2.3.0 terminado==0.17.1 tinycss2==1.2.1 tomli==2.0.1 -tornado==6.3.2 -tox==4.6.4 -tqdm==4.65.0 +tornado==6.3.3 +tox==4.10.0 +tqdm==4.66.1 traitlets==5.9.0 -types-docutils==0.20.0.1 +types-docutils==0.20.0.3 types-pkg-resources==0.1.3 types-pyyaml==6.0.12.11 types-requests==2.31.0.2 -types-setuptools==68.0.0.3 +types-setuptools==68.1.0.0 types-urllib3==1.26.25.14 typing-extensions==4.5.0 tzdata==2023.3 uri-template==1.3.0 urllib3==1.26.16 -virtualenv==20.24.2 +virtualenv==20.24.3 wcwidth==0.2.6 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.1 -werkzeug==2.3.6 -wheel==0.41.1 +websocket-client==1.6.2 +werkzeug==2.3.7 +wheel==0.41.2 widgetsnbextension==4.0.8 wrapt==1.15.0 zipp==3.16.2 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 974fa776..9cbc4464 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -9,7 +9,7 @@ accessible-pygments==0.0.4 alabaster==0.7.13 ampform==0.14.6 anyio==3.7.1 -argon2-cffi==21.3.0 +argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.2.3 asttokens==2.2.1 @@ -24,30 +24,30 @@ bleach==6.0.0 cachetools==5.3.1 certifi==2023.7.22 cffi==1.15.1 -cfgv==3.3.1 +cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.2.0 -click==8.1.6 +click==8.1.7 cloudpickle==2.2.1 colorama==0.4.6 comm==0.1.4 contourpy==1.1.0 -coverage==7.2.7 +coverage==7.3.0 cycler==0.11.0 -debugpy==1.6.7 +debugpy==1.6.7.post1 decorator==5.1.1 defusedxml==0.7.1 deprecated==1.2.14 distlib==0.3.7 dm-tree==0.1.8 docutils==0.19 -exceptiongroup==1.1.2 +exceptiongroup==1.1.3 execnet==2.0.2 executing==1.2.0 fastjsonschema==2.18.0 filelock==3.12.2 flatbuffers==23.5.26 -fonttools==4.42.0 +fonttools==4.42.1 fqdn==1.5.1 gast==0.4.0 google-auth==2.22.0 @@ -55,13 +55,13 @@ google-auth-oauthlib==1.0.0 google-pasta==0.2.0 graphviz==0.20.1 greenlet==2.0.2 -grpcio==1.56.2 +grpcio==1.57.0 h5py==3.9.0 hepunits==2.3.2 -identify==2.5.26 +identify==2.5.27 idna==3.4 imagesize==1.4.1 -iminuit==2.23.0 +iminuit==2.24.0 importlib-metadata==6.8.0 importlib-resources==6.0.1 iniconfig==2.0.0 @@ -86,16 +86,16 @@ jupyter-console==6.6.3 jupyter-core==5.3.1 jupyter-events==0.7.0 jupyter-lsp==2.2.0 -jupyter-server==2.7.0 +jupyter-server==2.7.2 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.4 +jupyterlab==4.0.5 jupyterlab-code-formatter==2.2.1 jupyterlab-myst==2.0.1 jupyterlab-pygments==0.2.2 jupyterlab-server==2.24.0 jupyterlab-widgets==3.0.8 keras==2.13.1 -kiwisolver==1.4.4 +kiwisolver==1.4.5 libclang==16.0.6 livereload==2.6.3 llvmlite==0.40.1 @@ -109,14 +109,14 @@ mdurl==0.1.2 mistune==3.0.1 ml-dtypes==0.2.0 mpmath==1.3.0 -mypy==1.4.1 +mypy==1.5.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.6.8 -nbconvert==7.7.3 +nbconvert==7.7.4 nbformat==5.9.2 -nbmake==1.4.1 +nbmake==1.4.3 nest-asyncio==1.5.7 nodeenv==1.8.0 notebook==7.0.2 @@ -141,7 +141,7 @@ pluggy==1.2.0 pre-commit==3.3.3 prometheus-client==0.17.1 prompt-toolkit==3.0.39 -protobuf==4.23.4 +protobuf==4.24.1 psutil==5.9.5 ptyprocess==0.7.0 pure-eval==0.2.2 @@ -149,11 +149,10 @@ py-cpuinfo==9.0.0 pyasn1==0.5.0 pyasn1-modules==0.3.0 pycparser==2.21 -pydantic==1.10.12 pydata-sphinx-theme==0.13.3 pygments==2.16.1 pyparsing==3.0.9 -pyproject-api==1.5.3 +pyproject-api==1.5.4 pytest==7.4.0 pytest-benchmark==4.0.0 pytest-cov==4.1.0 @@ -164,7 +163,7 @@ python-dateutil==2.8.2 python-json-logger==2.0.7 pytz==2023.3 pyyaml==6.0.1 -pyzmq==25.1.0 +pyzmq==25.1.1 qrules==0.9.8 qtconsole==5.4.3 qtpy==2.3.1 @@ -175,8 +174,8 @@ rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rpds-py==0.9.2 rsa==4.9 -ruff==0.0.282 -scipy==1.11.1 +ruff==0.0.285 +scipy==1.11.2 send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -191,14 +190,14 @@ sphinx-copybutton==0.5.2 sphinx-design==0.5.0 sphinx-thebe==0.2.1 sphinx-togglebutton==0.3.2 -sphinxcontrib-applehelp==1.0.4 -sphinxcontrib-devhelp==1.0.2 -sphinxcontrib-htmlhelp==2.0.1 +sphinxcontrib-applehelp==1.0.7 +sphinxcontrib-devhelp==1.0.5 +sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 -sphinxcontrib-qthelp==1.0.3 -sphinxcontrib-serializinghtml==1.1.5 +sphinxcontrib-qthelp==1.0.6 +sphinxcontrib-serializinghtml==1.1.9 sphobjinv==2.3.1 -sqlalchemy==2.0.19 +sqlalchemy==2.0.20 stack-data==0.6.2 sympy==1.12 tabulate==0.9.0 @@ -212,27 +211,27 @@ termcolor==2.3.0 terminado==0.17.1 tinycss2==1.2.1 tomli==2.0.1 -tornado==6.3.2 -tox==4.6.4 -tqdm==4.65.0 +tornado==6.3.3 +tox==4.10.0 +tqdm==4.66.1 traitlets==5.9.0 -types-docutils==0.20.0.1 +types-docutils==0.20.0.3 types-pkg-resources==0.1.3 types-pyyaml==6.0.12.11 types-requests==2.31.0.2 -types-setuptools==68.0.0.3 +types-setuptools==68.1.0.0 types-urllib3==1.26.25.14 typing-extensions==4.5.0 tzdata==2023.3 uri-template==1.3.0 urllib3==1.26.16 -virtualenv==20.24.2 +virtualenv==20.24.3 wcwidth==0.2.6 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.1 -werkzeug==2.3.6 -wheel==0.41.1 +websocket-client==1.6.2 +werkzeug==2.3.7 +wheel==0.41.2 widgetsnbextension==4.0.8 wrapt==1.15.0 zipp==3.16.2 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fb81181d..1c04ee19 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,7 +40,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.0.193 + rev: 0.0.196 hooks: - id: check-dev-files args: @@ -76,12 +76,12 @@ repos: - id: black - repo: https://github.com/asottile/blacken-docs - rev: 1.15.0 + rev: 1.16.0 hooks: - id: blacken-docs - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v6.31.1 + rev: v7.0.1 hooks: - id: cspell @@ -136,12 +136,12 @@ repos: metadata.vscode - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.1 + rev: v3.0.2 hooks: - id: prettier - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.320 + rev: v1.1.324 hooks: - id: pyright @@ -153,7 +153,7 @@ repos: - --py37-plus - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.282 + rev: v0.0.285 hooks: - id: ruff args: From 2bc1aae096bee10f3ebf25697023dfea76323edc Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 24 Aug 2023 09:58:47 +0000 Subject: [PATCH 2/5] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .zenodo.json | 62 ---------------------------------------------------- 1 file changed, 62 deletions(-) delete mode 100644 .zenodo.json diff --git a/.zenodo.json b/.zenodo.json deleted file mode 100644 index b8ed9f83..00000000 --- a/.zenodo.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "access_right": "open", - "creators": [ - { - "affiliation": "Ruhr University Bochum", - "name": "Fritsch, Miriam" - }, - { - "affiliation": "Ruhr University Bochum", - "name": "Pfl\u00fcger, Stefan" - }, - { - "affiliation": "Ruhr University Bochum", - "name": "de Boer, Remco" - }, - { - "affiliation": "Johannes Gutenberg University Mainz", - "name": "Gradl, Wolfgang" - }, - { - "affiliation": "GSI Helmholtzzentrum f\u00fcr Schwerionenforschung", - "name": "Peters, Klaus" - } - ], - "description": "

TensorWaves is a fitter package that optimizes mathematical models to data samples. The models can be any symbolic mathematical expression that is then converted to any computational backend. In addition, TensorWaves provides functionality to generate toy Monte Carlo data samples. The package is developed in parallel with AmpForm, which implements physics models, but its 'lambdifying' mechanisms can in principle be used independently.

", - "keywords": [ - "partial wave analysis", - "amplitude analysis", - "computer algebra system", - "optimizer", - "minimizer", - "tensorflow", - "jax", - "numpy" - ], - "language": "eng", - "license": "GPL-3.0-or-later", - "references": [ - "Navarro et al. (2019). \"phasespace: n-body phase space generation in Python\". https://doi.org/10.21105/joss.01570.", - "Pfl\u00fcger, de Boer et al. (2021). \"ComPWA/qrules: Rule-based particle reaction problem solver on a quantum number level\". https://doi.org/10.5281/zenodo.5526360.", - "Pfl\u00fcger, de Boer et al. (2021). \"ComPWA/ampform: Automatically generate symbolic amplitude models for Partial Wave Analysis\". https://doi.org/10.5281/zenodo.5526648." - ], - "related_identifiers": [ - { - "scheme": "doi", - "identifier": "10.5281/zenodo.5526650", - "relation": "continues" - }, - { - "scheme": "doi", - "identifier": "10.5281/zenodo.5526360", - "relation": "references" - }, - { - "scheme": "doi", - "identifier": "10.5281/zenodo.5526648", - "relation": "references" - } - ], - "title": "ComPWA/tensorwaves: Python fitter package for multiple computational back-ends", - "upload_type": "software" -} From f0f5d2fc508c06c23eacf778a035fc007b66aa4f Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Thu, 24 Aug 2023 22:58:37 +0200 Subject: [PATCH 3/5] FIX: run `check-jsonschema` on GitHub Actions --- .cspell.json | 2 +- .gitpod.yml | 1 + .pre-commit-config.yaml | 2 +- .vscode/extensions.json | 1 + .vscode/settings.json | 4 +++- 5 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.cspell.json b/.cspell.json index 7ee889ff..30c2e951 100644 --- a/.cspell.json +++ b/.cspell.json @@ -32,7 +32,7 @@ ".readthedocs.yml", ".vscode/*", ".vscode/.gitignore", - ".zenodo.json", + "CITATION.cff", "codecov.yml", "Dockerfile", "docs/_templates/*", diff --git a/.gitpod.yml b/.gitpod.yml index 153517d2..360aad03 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -23,6 +23,7 @@ vscode: - garaioag.garaio-vscode-unwanted-recommendations - github.vscode-github-actions - github.vscode-pull-request-github + - 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 1c04ee19..ab2c95cb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,7 +40,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.0.196 + rev: 0.0.197 hooks: - id: check-dev-files args: diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 85a15a7b..0380e17e 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -10,6 +10,7 @@ "garaioag.garaio-vscode-unwanted-recommendations", "github.vscode-github-actions", "github.vscode-pull-request-github", + "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 f5c4f196..f442478c 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, From e415b4def79c2fd69697f0aa7b957ec1ab7a56ec Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Thu, 24 Aug 2023 23:20:16 +0200 Subject: [PATCH 4/5] DOC: add `CITATION.cff` --- .pre-commit-config.yaml | 14 ++++++++++++++ .vscode/settings.json | 1 + CITATION.cff | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 CITATION.cff diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ab2c95cb..c1ac88fa 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,6 +2,7 @@ ci: autoupdate_commit_msg: "MAINT: update pip constraints and pre-commit" autoupdate_schedule: quarterly # already done by requirements-cron.yml skip: + - check-jsonschema - mypy - pyright - taplo @@ -80,6 +81,19 @@ repos: hooks: - id: blacken-docs + - repo: https://github.com/python-jsonschema/check-jsonschema + rev: 0.24.1 + hooks: + - id: check-jsonschema + name: Check CITATION.cff + args: + - --default-filetype + - yaml + - --schemafile + - https://citation-file-format.github.io/1.2.0/schema.json + - CITATION.cff + pass_filenames: false + - repo: https://github.com/streetsidesoftware/cspell-cli rev: v7.0.1 hooks: diff --git a/.vscode/settings.json b/.vscode/settings.json index f442478c..2f11cfcb 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -69,6 +69,7 @@ "tests/**/__init__.py": true }, "yaml.schemas": { + "https://citation-file-format.github.io/1.2.0/schema.json": "CITATION.cff", "https://json.schemastore.org/github-workflow.json": "./.github/workflows/requirements.yml" } } diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 00000000..9da36969 --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,36 @@ +cff-version: 1.2.0 +message: If you use this software, please cite it as below. +title: >- + ComPWA/tensorwaves: Python fitter package for multiple computational back-ends +abstract: |- + TensorWaves is a fitter package that optimizes mathematical models to data samples. The models can be any _symbolic_ mathematical expression that is then converted to any computational backend. In addition, TensorWaves provides functionality to generate toy Monte Carlo data samples. The package is developed in parallel with [AmpForm](https://github.com/ComPWA/ampform), which implements physics models, but its 'lambdifying' mechanisms can in principle be used independently. + +authors: + - family-names: Fritsch + given-names: Miriam + affiliation: Ruhr University Bochum + - family-names: Pflüger + given-names: Stefan + affiliation: Ruhr University Bochum + - family-names: de Boer + given-names: Remco E. + affiliation: Ruhr University Bochum + - family-names: Gradl + given-names: Wolfgang + affiliation: Johannes Gutenberg University Mainz + - family-names: Peters + given-names: Klaus + affiliation: GSI Helmholtzzentrum für Schwerionenforschung +doi: 10.5281/zenodo.5526650 +keywords: + - partial wave analysis + - amplitude analysis + - computer algebra system + - optimizer + - minimizer + - tensorflow + - jax + - numpy +license: GPL-3.0-or-later +repository-code: https://github.com/ComPWA/tensorwaves +url: https://tensorwaves.readthedocs.io From fd843d7fe4d22d783ca1386848e8abb9a29dfeac Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Thu, 24 Aug 2023 23:24:10 +0200 Subject: [PATCH 5/5] DOC: add type to `CITATION.cff` --- CITATION.cff | 1 + 1 file changed, 1 insertion(+) diff --git a/CITATION.cff b/CITATION.cff index 9da36969..b9744a3c 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -33,4 +33,5 @@ keywords: - numpy license: GPL-3.0-or-later repository-code: https://github.com/ComPWA/tensorwaves +type: software url: https://tensorwaves.readthedocs.io