Repository: ComPWA/tensorwaves (language: python)

Issue:
fix: remove `phasespace` version limit
This is possible since #431. See also https://github.com/zfit/phasespace/pull/69.
Note: this was done in particular to allow installing `phasespace` with https://github.com/zfit/phasespace/pull/81, which is more stable in CI installations.


Discussion / hints:

Fix patch:
diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt
index 7a155b37..14216085 100644
--- a/.constraints/py3.7.txt
+++ b/.constraints/py3.7.txt
@@ -4,9 +4,9 @@
 #
 #    pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.7.txt --strip-extras setup.py
 #
-absl-py==1.0.0
+absl-py==1.1.0
 alabaster==0.7.12
-ampform==0.14.0
+ampform==0.14.1
 anyio==3.6.1
 aquirdturtle-collapsible-headings==3.1.0
 argon2-cffi==21.3.0
@@ -27,7 +27,7 @@ charset-normalizer==2.0.12
 click==8.1.3
 cloudpickle==2.1.0
 colorama==0.4.4
-coverage==6.4
+coverage==6.4.1
 cycler==0.11.0
 debugpy==1.6.0
 decorator==5.1.1
@@ -39,7 +39,7 @@ docutils==0.17.1
 entrypoints==0.4
 execnet==1.9.0
 fastjsonschema==2.15.3
-filelock==3.7.0
+filelock==3.7.1
 flake8==4.0.1
 flake8-blind-except==0.2.1
 flake8-bugbear==22.4.25
@@ -47,14 +47,13 @@ flake8-builtins==1.5.3
 flake8-comprehensions==3.10.0
 flake8-future-annotations==0.0.5
 flake8-plugin-utils==1.3.2
-flake8-polyfill==1.0.2
 flake8-pytest-style==1.6.0
-flake8-rst-docstrings==0.2.5
+flake8-rst-docstrings==0.2.6
 flake8-use-fstring==1.3
 flatbuffers==2.0
 fonttools==4.33.3
 gast==0.4.0
-google-auth==2.6.6
+google-auth==2.7.0
 google-auth-oauthlib==0.4.6
 google-pasta==0.2.0
 graphviz==0.20
@@ -69,7 +68,7 @@ iminuit==2.11.2
 importlib-metadata==4.2.0
 importlib-resources==5.7.1
 iniconfig==1.1.1
-ipykernel==6.13.0
+ipykernel==6.13.1
 ipympl==0.9.1
 ipython==7.34.0
 ipython-genutils==0.2.0
@@ -80,14 +79,14 @@ jaxlib==0.3.10
 jedi==0.18.1
 jinja2==3.1.2
 json5==0.9.8
-jsonschema==4.5.1
+jsonschema==4.6.0
 jupyter==1.0.0
 jupyter-cache==0.5.0
-jupyter-client==7.3.1
+jupyter-client==7.3.3
 jupyter-console==6.4.3
 jupyter-core==4.10.0
-jupyter-server==1.17.0
-jupyterlab==3.4.2
+jupyter-server==1.17.1
+jupyterlab==3.4.3
 jupyterlab-code-formatter==1.4.11
 jupyterlab-markup==1.1.0
 jupyterlab-myst==0.1.6
@@ -111,7 +110,7 @@ mdit-py-plugins==0.3.0
 mdurl==0.1.1
 mistune==0.8.4
 mpmath==1.2.1
-mypy==0.960
+mypy==0.961
 mypy-extensions==0.4.3
 myst-nb==0.15.0
 myst-parser==0.17.2
@@ -122,7 +121,7 @@ nbformat==5.4.0
 nbmake==1.3.0
 nest-asyncio==1.5.5
 nodeenv==1.6.0
-notebook==6.4.11
+notebook==6.4.12
 notebook-shim==0.1.0
 numba==0.55.2
 numpy==1.21.6
@@ -134,7 +133,7 @@ pandocfilters==1.5.0
 parso==0.8.3
 particle==0.20.1
 pathspec==0.9.0
-pep8-naming==0.12.1
+pep8-naming==0.13.0
 pexpect==4.8.0
 phasespace==1.4.2
 pickleshare==0.7.5
@@ -158,7 +157,7 @@ pydata-sphinx-theme==0.8.1
 pydocstyle==6.1.1
 pyflakes==2.4.0
 pygments==2.12.0
-pylint==2.13.9
+pylint==2.14.1
 pyparsing==3.0.9
 pyrsistent==0.18.1
 pytest==7.1.2
@@ -171,9 +170,9 @@ python-constraint==1.4.0
 python-dateutil==2.8.2
 pytz==2022.1
 pyyaml==6.0
-pyzmq==23.0.0
+pyzmq==23.1.0
 qrules==0.9.7
-qtconsole==5.3.0
+qtconsole==5.3.1
 qtpy==2.1.0
 requests==2.27.1
 requests-oauthlib==1.3.1
@@ -202,7 +201,7 @@ sphinxcontrib-jsmath==1.0.1
 sphinxcontrib-qthelp==1.0.3
 sphinxcontrib-serializinghtml==1.1.5
 sphobjinv==2.2.2
-sqlalchemy==1.4.36
+sqlalchemy==1.4.37
 sympy==1.10.1
 tabulate==0.8.9
 tensorboard==2.9.0
@@ -211,21 +210,22 @@ tensorboard-plugin-wit==1.8.1
 tensorflow==2.7.3
 tensorflow-estimator==2.7.0
 tensorflow-io-gcs-filesystem==0.26.0
-tensorflow-probability==0.16.0
+tensorflow-probability==0.17.0
 termcolor==1.1.0
 terminado==0.15.0
 tinycss2==1.1.1
 toml==0.10.2
 tomli==2.0.1
+tomlkit==0.11.0
 tornado==6.1
 tox==3.25.0
 tqdm==4.64.0
-traitlets==5.2.1.post0
+traitlets==5.2.2.post1
 typed-ast==1.5.4
 types-docutils==0.18.3
 types-pkg-resources==0.1.3
-types-pyyaml==6.0.7
-types-requests==2.27.29
+types-pyyaml==6.0.8
+types-requests==2.27.30
 types-setuptools==57.4.17
 types-urllib3==1.26.15
 typing-extensions==4.2.0
diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt
index 1886fffa..85c73903 100644
--- a/.constraints/py3.8.txt
+++ b/.constraints/py3.8.txt
@@ -4,9 +4,9 @@
 #
 #    pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.8.txt --strip-extras setup.py
 #
-absl-py==1.0.0
+absl-py==1.1.0
 alabaster==0.7.12
-ampform==0.14.0
+ampform==0.14.1
 anyio==3.6.1
 aquirdturtle-collapsible-headings==3.1.0
 argon2-cffi==21.3.0
@@ -28,7 +28,7 @@ charset-normalizer==2.0.12
 click==8.1.3
 cloudpickle==2.1.0
 colorama==0.4.4
-coverage==6.4
+coverage==6.4.1
 cycler==0.11.0
 debugpy==1.6.0
 decorator==5.1.1
@@ -41,7 +41,7 @@ entrypoints==0.4
 execnet==1.9.0
 executing==0.8.3
 fastjsonschema==2.15.3
-filelock==3.7.0
+filelock==3.7.1
 flake8==4.0.1
 flake8-blind-except==0.2.1
 flake8-bugbear==22.4.25
@@ -49,15 +49,14 @@ flake8-builtins==1.5.3
 flake8-comprehensions==3.10.0
 flake8-future-annotations==0.0.5
 flake8-plugin-utils==1.3.2
-flake8-polyfill==1.0.2
 flake8-pytest-style==1.6.0
-flake8-rst-docstrings==0.2.5
+flake8-rst-docstrings==0.2.6
 flake8-type-ignore==0.1.0.post2 ; python_version >= "3.8.0"
 flake8-use-fstring==1.3
 flatbuffers==2.0
 fonttools==4.33.3
 gast==0.4.0
-google-auth==2.6.6
+google-auth==2.7.0
 google-auth-oauthlib==0.4.6
 google-pasta==0.2.0
 graphviz==0.20
@@ -72,7 +71,7 @@ iminuit==2.11.2
 importlib-metadata==4.11.4
 importlib-resources==5.7.1
 iniconfig==1.1.1
-ipykernel==6.13.0
+ipykernel==6.13.1
 ipympl==0.9.1
 ipython==8.4.0
 ipython-genutils==0.2.0
@@ -83,14 +82,14 @@ jaxlib==0.3.10
 jedi==0.18.1
 jinja2==3.1.2
 json5==0.9.8
-jsonschema==4.5.1
+jsonschema==4.6.0
 jupyter==1.0.0
 jupyter-cache==0.5.0
-jupyter-client==7.3.1
+jupyter-client==7.3.3
 jupyter-console==6.4.3
 jupyter-core==4.10.0
-jupyter-server==1.17.0
-jupyterlab==3.4.2
+jupyter-server==1.17.1
+jupyterlab==3.4.3
 jupyterlab-code-formatter==1.4.11
 jupyterlab-markup==1.1.0
 jupyterlab-myst==0.1.6
@@ -114,7 +113,7 @@ mdit-py-plugins==0.3.0
 mdurl==0.1.1
 mistune==0.8.4
 mpmath==1.2.1
-mypy==0.960
+mypy==0.961
 mypy-extensions==0.4.3
 myst-nb==0.15.0
 myst-parser==0.17.2
@@ -125,7 +124,7 @@ nbformat==5.4.0
 nbmake==1.3.0
 nest-asyncio==1.5.5
 nodeenv==1.6.0
-notebook==6.4.11
+notebook==6.4.12
 notebook-shim==0.1.0
 numba==0.55.2
 numpy==1.22.4
@@ -137,7 +136,7 @@ pandocfilters==1.5.0
 parso==0.8.3
 particle==0.20.1
 pathspec==0.9.0
-pep8-naming==0.12.1
+pep8-naming==0.13.0
 pexpect==4.8.0
 phasespace==1.4.2
 pickleshare==0.7.5
@@ -162,7 +161,7 @@ pydata-sphinx-theme==0.8.1
 pydocstyle==6.1.1
 pyflakes==2.4.0
 pygments==2.12.0
-pylint==2.13.9
+pylint==2.14.1
 pyparsing==3.0.9
 pyrsistent==0.18.1
 pytest==7.1.2
@@ -175,9 +174,9 @@ python-constraint==1.4.0
 python-dateutil==2.8.2
 pytz==2022.1
 pyyaml==6.0
-pyzmq==23.0.0
+pyzmq==23.1.0
 qrules==0.9.7
-qtconsole==5.3.0
+qtconsole==5.3.1
 qtpy==2.1.0
 requests==2.27.1
 requests-oauthlib==1.3.1
@@ -205,7 +204,7 @@ sphinxcontrib-jsmath==1.0.1
 sphinxcontrib-qthelp==1.0.3
 sphinxcontrib-serializinghtml==1.1.5
 sphobjinv==2.2.2
-sqlalchemy==1.4.36
+sqlalchemy==1.4.37
 stack-data==0.2.0
 sympy==1.10.1
 tabulate==0.8.9
@@ -215,20 +214,21 @@ tensorboard-plugin-wit==1.8.1
 tensorflow==2.7.3
 tensorflow-estimator==2.7.0
 tensorflow-io-gcs-filesystem==0.26.0
-tensorflow-probability==0.16.0
+tensorflow-probability==0.17.0
 termcolor==1.1.0
 terminado==0.15.0
 tinycss2==1.1.1
 toml==0.10.2
 tomli==2.0.1
+tomlkit==0.11.0
 tornado==6.1
 tox==3.25.0
 tqdm==4.64.0
-traitlets==5.2.1.post0
+traitlets==5.2.2.post1
 types-docutils==0.18.3
 types-pkg-resources==0.1.3
-types-pyyaml==6.0.7
-types-requests==2.27.29
+types-pyyaml==6.0.8
+types-requests==2.27.30
 types-setuptools==57.4.17
 types-urllib3==1.26.15
 typing-extensions==4.2.0
diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt
index ce6c4e86..86c9497f 100644
--- a/.constraints/py3.9.txt
+++ b/.constraints/py3.9.txt
@@ -4,9 +4,9 @@
 #
 #    pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.9.txt --strip-extras setup.py
 #
-absl-py==1.0.0
+absl-py==1.1.0
 alabaster==0.7.12
-ampform==0.14.0
+ampform==0.14.1
 anyio==3.6.1
 aquirdturtle-collapsible-headings==3.1.0
 argon2-cffi==21.3.0
@@ -28,7 +28,7 @@ charset-normalizer==2.0.12
 click==8.1.3
 cloudpickle==2.1.0
 colorama==0.4.4
-coverage==6.4
+coverage==6.4.1
 cycler==0.11.0
 debugpy==1.6.0
 decorator==5.1.1
@@ -41,7 +41,7 @@ entrypoints==0.4
 execnet==1.9.0
 executing==0.8.3
 fastjsonschema==2.15.3
-filelock==3.7.0
+filelock==3.7.1
 flake8==4.0.1
 flake8-blind-except==0.2.1
 flake8-bugbear==22.4.25
@@ -49,15 +49,14 @@ flake8-builtins==1.5.3
 flake8-comprehensions==3.10.0
 flake8-future-annotations==0.0.5
 flake8-plugin-utils==1.3.2
-flake8-polyfill==1.0.2
 flake8-pytest-style==1.6.0
-flake8-rst-docstrings==0.2.5
+flake8-rst-docstrings==0.2.6
 flake8-type-ignore==0.1.0.post2 ; python_version >= "3.8.0"
 flake8-use-fstring==1.3
 flatbuffers==2.0
 fonttools==4.33.3
 gast==0.4.0
-google-auth==2.6.6
+google-auth==2.7.0
 google-auth-oauthlib==0.4.6
 google-pasta==0.2.0
 graphviz==0.20
@@ -71,7 +70,7 @@ imagesize==1.3.0
 iminuit==2.11.2
 importlib-metadata==4.11.4
 iniconfig==1.1.1
-ipykernel==6.13.0
+ipykernel==6.13.1
 ipympl==0.9.1
 ipython==8.4.0
 ipython-genutils==0.2.0
@@ -82,14 +81,14 @@ jaxlib==0.3.10
 jedi==0.18.1
 jinja2==3.1.2
 json5==0.9.8
-jsonschema==4.5.1
+jsonschema==4.6.0
 jupyter==1.0.0
 jupyter-cache==0.5.0
-jupyter-client==7.3.1
+jupyter-client==7.3.3
 jupyter-console==6.4.3
 jupyter-core==4.10.0
-jupyter-server==1.17.0
-jupyterlab==3.4.2
+jupyter-server==1.17.1
+jupyterlab==3.4.3
 jupyterlab-code-formatter==1.4.11
 jupyterlab-markup==1.1.0
 jupyterlab-myst==0.1.6
@@ -113,7 +112,7 @@ mdit-py-plugins==0.3.0
 mdurl==0.1.1
 mistune==0.8.4
 mpmath==1.2.1
-mypy==0.960
+mypy==0.961
 mypy-extensions==0.4.3
 myst-nb==0.15.0
 myst-parser==0.17.2
@@ -124,7 +123,7 @@ nbformat==5.4.0
 nbmake==1.3.0
 nest-asyncio==1.5.5
 nodeenv==1.6.0
-notebook==6.4.11
+notebook==6.4.12
 notebook-shim==0.1.0
 numba==0.55.2
 numpy==1.22.4
@@ -136,7 +135,7 @@ pandocfilters==1.5.0
 parso==0.8.3
 particle==0.20.1
 pathspec==0.9.0
-pep8-naming==0.12.1
+pep8-naming==0.13.0
 pexpect==4.8.0
 phasespace==1.4.2
 pickleshare==0.7.5
@@ -161,7 +160,7 @@ pydata-sphinx-theme==0.8.1
 pydocstyle==6.1.1
 pyflakes==2.4.0
 pygments==2.12.0
-pylint==2.13.9
+pylint==2.14.1
 pyparsing==3.0.9
 pyrsistent==0.18.1
 pytest==7.1.2
@@ -174,9 +173,9 @@ python-constraint==1.4.0
 python-dateutil==2.8.2
 pytz==2022.1
 pyyaml==6.0
-pyzmq==23.0.0
+pyzmq==23.1.0
 qrules==0.9.7
-qtconsole==5.3.0
+qtconsole==5.3.1
 qtpy==2.1.0
 requests==2.27.1
 requests-oauthlib==1.3.1
@@ -204,7 +203,7 @@ sphinxcontrib-jsmath==1.0.1
 sphinxcontrib-qthelp==1.0.3
 sphinxcontrib-serializinghtml==1.1.5
 sphobjinv==2.2.2
-sqlalchemy==1.4.36
+sqlalchemy==1.4.37
 stack-data==0.2.0
 sympy==1.10.1
 tabulate==0.8.9
@@ -214,20 +213,21 @@ tensorboard-plugin-wit==1.8.1
 tensorflow==2.7.3
 tensorflow-estimator==2.7.0
 tensorflow-io-gcs-filesystem==0.26.0
-tensorflow-probability==0.16.0
+tensorflow-probability==0.17.0
 termcolor==1.1.0
 terminado==0.15.0
 tinycss2==1.1.1
 toml==0.10.2
 tomli==2.0.1
+tomlkit==0.11.0
 tornado==6.1
 tox==3.25.0
 tqdm==4.64.0
-traitlets==5.2.1.post0
+traitlets==5.2.2.post1
 types-docutils==0.18.3
 types-pkg-resources==0.1.3
-types-pyyaml==6.0.7
-types-requests==2.27.29
+types-pyyaml==6.0.8
+types-requests==2.27.30
 types-setuptools==57.4.17
 types-urllib3==1.26.15
 typing-extensions==4.2.0
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 960dbc94..4c0a5700 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -17,7 +17,7 @@ repos:
       - id: check-useless-excludes
 
   - repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: v4.2.0
+    rev: v4.3.0
     hooks:
       - id: check-ast
       - id: check-case-conflict
@@ -137,12 +137,12 @@ repos:
       - id: pydocstyle
 
   - repo: https://github.com/ComPWA/mirrors-pyright
-    rev: v1.1.250
+    rev: v1.1.252
     hooks:
       - id: pyright
 
   - repo: https://github.com/asottile/pyupgrade
-    rev: v2.32.1
+    rev: v2.34.0
     hooks:
       - id: pyupgrade
         args:
diff --git a/benchmarks/ampform.py b/benchmarks/ampform.py
index 7c40c74a..a3383514 100644
--- a/benchmarks/ampform.py
+++ b/benchmarks/ampform.py
@@ -1,4 +1,4 @@
-# pylint: disable=import-outside-toplevel, no-self-use
+# pylint: disable=import-outside-toplevel
 from __future__ import annotations
 
 from pprint import pprint


Test patch:
diff --git a/tests/data/test_data.py b/tests/data/test_data.py
index b9457541..5a0fc63d 100644
--- a/tests/data/test_data.py
+++ b/tests/data/test_data.py
@@ -1,4 +1,4 @@
-# pylint: disable=import-outside-toplevel, no-self-use
+# pylint: disable=import-outside-toplevel
 from typing import TYPE_CHECKING
 
 import numpy as np
diff --git a/tests/data/test_phasespace.py b/tests/data/test_phasespace.py
index 4595fd80..9039954f 100644
--- a/tests/data/test_phasespace.py
+++ b/tests/data/test_phasespace.py
@@ -1,4 +1,3 @@
-# pylint: disable=no-self-use
 from pprint import pprint
 from typing import TYPE_CHECKING, Sequence
 
diff --git a/tests/data/test_rng.py b/tests/data/test_rng.py
index 406ef143..84fde6ae 100644
--- a/tests/data/test_rng.py
+++ b/tests/data/test_rng.py
@@ -1,4 +1,4 @@
-# pylint:disable=no-self-use, import-outside-toplevel
+# pylint:disable=import-outside-toplevel
 import pytest
 
 from tensorwaves.data.rng import (
diff --git a/tests/data/test_transform.py b/tests/data/test_transform.py
index 9e43b2e7..b3713578 100644
--- a/tests/data/test_transform.py
+++ b/tests/data/test_transform.py
@@ -1,4 +1,4 @@
-# pylint: disable=no-self-use, invalid-name
+# pylint: disable=invalid-name
 import numpy as np
 import pytest
 import sympy as sp
diff --git a/tests/function/test_function.py b/tests/function/test_function.py
index adccdce5..2d5b8143 100644
--- a/tests/function/test_function.py
+++ b/tests/function/test_function.py
@@ -1,4 +1,4 @@
-# pylint: disable=no-self-use, redefined-outer-name
+# pylint: disable=redefined-outer-name
 from textwrap import dedent
 
 import numpy as np
diff --git a/tests/optimizer/test_callbacks.py b/tests/optimizer/test_callbacks.py
index 02ed451f..31f09c3b 100644
--- a/tests/optimizer/test_callbacks.py
+++ b/tests/optimizer/test_callbacks.py
@@ -1,4 +1,3 @@
-# pylint: disable=no-self-use
 from tensorwaves.optimizer.callbacks import CallbackList
 
 
diff --git a/tests/optimizer/test_minuit.py b/tests/optimizer/test_minuit.py
index 19429a53..f93c24e0 100644
--- a/tests/optimizer/test_minuit.py
+++ b/tests/optimizer/test_minuit.py
@@ -1,4 +1,4 @@
-# pylint: disable=no-self-use, unsubscriptable-object
+# pylint: disable=unsubscriptable-object
 from __future__ import annotations
 
 from typing import Callable, Mapping
diff --git a/tests/test_estimator.py b/tests/test_estimator.py
index cb8bf295..39ce471c 100644
--- a/tests/test_estimator.py
+++ b/tests/test_estimator.py
@@ -1,4 +1,4 @@
-# pylint: disable=invalid-name import-error no-self-use redefined-outer-name
+# pylint: disable=invalid-name import-error redefined-outer-name
 # pylint: disable=invalid-name too-many-locals unsubscriptable-object
 from __future__ import annotations
 
diff --git a/tests/test_interface.py b/tests/test_interface.py
index 7ff84083..56d55d72 100644
--- a/tests/test_interface.py
+++ b/tests/test_interface.py
@@ -1,4 +1,4 @@
-# pylint: disable=eval-used, no-self-use
+# pylint: disable=eval-used
 import pytest
 from IPython.lib.pretty import pretty