Skip to content

Commit

Permalink
MAINT: update pip constraints and pre-commit (#405)
Browse files Browse the repository at this point in the history
* DX: outsource PR linting to ComPWA/actions
* FIX: remove `nbclient` from `doc` dependencies
* MAINT: generate constraint files with `uv pip compile`

---------

Co-authored-by: GitHub <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Mar 7, 2024
1 parent 1a91b80 commit e00da44
Show file tree
Hide file tree
Showing 9 changed files with 86 additions and 136 deletions.
33 changes: 14 additions & 19 deletions .constraints/py3.10.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.10.txt --strip-extras --unsafe-package=ampform --unsafe-package=pip --unsafe-package=setuptools --unsafe-package=symplot
#
# This file was autogenerated by uv via the following command:
# uv pip compile pyproject.toml -o .constraints/py3.10.txt --all-extras --no-annotate --python-version=3.10 --no-emit-package setuptools
accessible-pygments==0.0.4
alabaster==0.7.16
anyio==4.3.0
Expand Down Expand Up @@ -55,7 +51,7 @@ httpx==0.27.0
identify==2.5.35
idna==3.6
imagesize==1.4.1
importlib-metadata==7.0.1
importlib-metadata==7.0.2
iniconfig==2.0.0
ipykernel==6.29.3
ipympl==0.9.3
Expand All @@ -66,19 +62,19 @@ isoduration==20.11.0
isort==5.13.2
jedi==0.19.1
jinja2==3.1.3
json5==0.9.20
json5==0.9.22
jsonpointer==2.4
jsonschema==4.21.1
jsonschema-specifications==2023.12.1
jupyter-cache==1.0.0
jupyter-client==8.6.0
jupyter-core==5.7.1
jupyter-events==0.9.0
jupyter-lsp==2.2.3
jupyter-lsp==2.2.4
jupyter-server==2.13.0
jupyter-server-mathjax==0.2.6
jupyter-server-terminals==0.5.2
jupyterlab==4.1.2
jupyterlab==4.1.4
jupyterlab-code-formatter==2.2.1
jupyterlab-git==0.50.0
jupyterlab-lsp==5.1.0
Expand All @@ -87,7 +83,7 @@ jupyterlab-pygments==0.3.0
jupyterlab-server==2.25.3
jupyterlab-widgets==3.0.10
kiwisolver==1.4.5
latexcodec==2.0.1
latexcodec==3.0.0
livereload==2.6.3
lsprotocol==2023.0.1
markdown-it-py==3.0.0
Expand All @@ -104,10 +100,10 @@ mypy-extensions==1.0.0
myst-nb==1.0.0
myst-parser==2.0.0
nbclient==0.6.8
nbconvert==7.16.1
nbconvert==7.16.2
nbdime==4.0.1
nbformat==5.9.2
nbmake==1.5.1
nbmake==1.5.3
nest-asyncio==1.6.0
nodeenv==1.8.0
notebook-shim==0.2.4
Expand All @@ -133,13 +129,13 @@ pybtex-docutils==1.0.3
pycparser==2.21
pydata-sphinx-theme==0.15.2
pygments==2.17.2
pyparsing==3.1.1
pyparsing==3.1.2
pyproject-api==1.6.1
pytest==8.0.2
pytest-cov==4.1.0
pytest-profiling==1.7.0
pytest-xdist==3.5.0
python-constraint==1.4.0
python-constraint==1.3.1
python-dateutil==2.9.0.post0
python-json-logger==2.0.7
python-lsp-jsonrpc==1.1.2
Expand All @@ -156,7 +152,7 @@ rfc3986-validator==0.1.1
rich==13.7.1
rope==1.12.0
rpds-py==0.18.0
ruff==0.3.0
ruff==0.3.1
scipy==1.12.0
send2trash==1.8.2
six==1.16.0
Expand Down Expand Up @@ -191,7 +187,7 @@ terminado==0.18.0
tinycss2==1.2.1
tomli==2.0.1
tornado==6.4
tox==4.13.0
tox==4.14.1
tqdm==4.66.2
traitlets==5.14.1
types-python-dateutil==2.8.19.20240106
Expand All @@ -208,6 +204,5 @@ wheel==0.42.0
widgetsnbextension==4.0.10
zipp==3.17.0

# The following packages are considered to be unsafe in a requirements file:
# ampform
# The following packages were excluded from the output:
# setuptools
33 changes: 14 additions & 19 deletions .constraints/py3.11.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.11.txt --strip-extras --unsafe-package=ampform --unsafe-package=pip --unsafe-package=setuptools --unsafe-package=symplot
#
# This file was autogenerated by uv via the following command:
# uv pip compile pyproject.toml -o .constraints/py3.11.txt --all-extras --no-annotate --python-version=3.11 --no-emit-package setuptools
accessible-pygments==0.0.4
alabaster==0.7.16
anyio==4.3.0
Expand Down Expand Up @@ -54,7 +50,7 @@ httpx==0.27.0
identify==2.5.35
idna==3.6
imagesize==1.4.1
importlib-metadata==7.0.1
importlib-metadata==7.0.2
iniconfig==2.0.0
ipykernel==6.29.3
ipympl==0.9.3
Expand All @@ -65,19 +61,19 @@ isoduration==20.11.0
isort==5.13.2
jedi==0.19.1
jinja2==3.1.3
json5==0.9.20
json5==0.9.22
jsonpointer==2.4
jsonschema==4.21.1
jsonschema-specifications==2023.12.1
jupyter-cache==1.0.0
jupyter-client==8.6.0
jupyter-core==5.7.1
jupyter-events==0.9.0
jupyter-lsp==2.2.3
jupyter-lsp==2.2.4
jupyter-server==2.13.0
jupyter-server-mathjax==0.2.6
jupyter-server-terminals==0.5.2
jupyterlab==4.1.2
jupyterlab==4.1.4
jupyterlab-code-formatter==2.2.1
jupyterlab-git==0.50.0
jupyterlab-lsp==5.1.0
Expand All @@ -86,7 +82,7 @@ jupyterlab-pygments==0.3.0
jupyterlab-server==2.25.3
jupyterlab-widgets==3.0.10
kiwisolver==1.4.5
latexcodec==2.0.1
latexcodec==3.0.0
livereload==2.6.3
lsprotocol==2023.0.1
markdown-it-py==3.0.0
Expand All @@ -103,10 +99,10 @@ mypy-extensions==1.0.0
myst-nb==1.0.0
myst-parser==2.0.0
nbclient==0.6.8
nbconvert==7.16.1
nbconvert==7.16.2
nbdime==4.0.1
nbformat==5.9.2
nbmake==1.5.1
nbmake==1.5.3
nest-asyncio==1.6.0
nodeenv==1.8.0
notebook-shim==0.2.4
Expand All @@ -132,13 +128,13 @@ pybtex-docutils==1.0.3
pycparser==2.21
pydata-sphinx-theme==0.15.2
pygments==2.17.2
pyparsing==3.1.1
pyparsing==3.1.2
pyproject-api==1.6.1
pytest==8.0.2
pytest-cov==4.1.0
pytest-profiling==1.7.0
pytest-xdist==3.5.0
python-constraint==1.4.0
python-constraint==1.3.1
python-dateutil==2.9.0.post0
python-json-logger==2.0.7
python-lsp-jsonrpc==1.1.2
Expand All @@ -155,7 +151,7 @@ rfc3986-validator==0.1.1
rich==13.7.1
rope==1.12.0
rpds-py==0.18.0
ruff==0.3.0
ruff==0.3.1
scipy==1.12.0
send2trash==1.8.2
six==1.16.0
Expand Down Expand Up @@ -189,7 +185,7 @@ tabulate==0.9.0
terminado==0.18.0
tinycss2==1.2.1
tornado==6.4
tox==4.13.0
tox==4.14.1
tqdm==4.66.2
traitlets==5.14.1
types-python-dateutil==2.8.19.20240106
Expand All @@ -206,6 +202,5 @@ wheel==0.42.0
widgetsnbextension==4.0.10
zipp==3.17.0

# The following packages are considered to be unsafe in a requirements file:
# ampform
# The following packages were excluded from the output:
# setuptools
33 changes: 14 additions & 19 deletions .constraints/py3.12.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.12.txt --strip-extras --unsafe-package=ampform --unsafe-package=pip --unsafe-package=setuptools --unsafe-package=symplot
#
# This file was autogenerated by uv via the following command:
# uv pip compile pyproject.toml -o .constraints/py3.12.txt --all-extras --no-annotate --python-version=3.12 --no-emit-package setuptools
accessible-pygments==0.0.4
alabaster==0.7.16
anyio==4.3.0
Expand Down Expand Up @@ -54,7 +50,7 @@ httpx==0.27.0
identify==2.5.35
idna==3.6
imagesize==1.4.1
importlib-metadata==7.0.1
importlib-metadata==7.0.2
iniconfig==2.0.0
ipykernel==6.29.3
ipympl==0.9.3
Expand All @@ -65,19 +61,19 @@ isoduration==20.11.0
isort==5.13.2
jedi==0.19.1
jinja2==3.1.3
json5==0.9.20
json5==0.9.22
jsonpointer==2.4
jsonschema==4.21.1
jsonschema-specifications==2023.12.1
jupyter-cache==1.0.0
jupyter-client==8.6.0
jupyter-core==5.7.1
jupyter-events==0.9.0
jupyter-lsp==2.2.3
jupyter-lsp==2.2.4
jupyter-server==2.13.0
jupyter-server-mathjax==0.2.6
jupyter-server-terminals==0.5.2
jupyterlab==4.1.2
jupyterlab==4.1.4
jupyterlab-code-formatter==2.2.1
jupyterlab-git==0.50.0
jupyterlab-lsp==5.1.0
Expand All @@ -86,7 +82,7 @@ jupyterlab-pygments==0.3.0
jupyterlab-server==2.25.3
jupyterlab-widgets==3.0.10
kiwisolver==1.4.5
latexcodec==2.0.1
latexcodec==3.0.0
livereload==2.6.3
lsprotocol==2023.0.1
markdown-it-py==3.0.0
Expand All @@ -103,10 +99,10 @@ mypy-extensions==1.0.0
myst-nb==1.0.0
myst-parser==2.0.0
nbclient==0.6.8
nbconvert==7.16.1
nbconvert==7.16.2
nbdime==4.0.1
nbformat==5.9.2
nbmake==1.5.1
nbmake==1.5.3
nest-asyncio==1.6.0
nodeenv==1.8.0
notebook-shim==0.2.4
Expand All @@ -132,13 +128,13 @@ pybtex-docutils==1.0.3
pycparser==2.21
pydata-sphinx-theme==0.15.2
pygments==2.17.2
pyparsing==3.1.1
pyparsing==3.1.2
pyproject-api==1.6.1
pytest==8.0.2
pytest-cov==4.1.0
pytest-profiling==1.7.0
pytest-xdist==3.5.0
python-constraint==1.4.0
python-constraint==1.3.1
python-dateutil==2.9.0.post0
python-json-logger==2.0.7
python-lsp-jsonrpc==1.1.2
Expand All @@ -155,7 +151,7 @@ rfc3986-validator==0.1.1
rich==13.7.1
rope==1.12.0
rpds-py==0.18.0
ruff==0.3.0
ruff==0.3.1
scipy==1.12.0
send2trash==1.8.2
six==1.16.0
Expand Down Expand Up @@ -189,7 +185,7 @@ tabulate==0.9.0
terminado==0.18.0
tinycss2==1.2.1
tornado==6.4
tox==4.13.0
tox==4.14.1
tqdm==4.66.2
traitlets==5.14.1
types-python-dateutil==2.8.19.20240106
Expand All @@ -206,6 +202,5 @@ wheel==0.42.0
widgetsnbextension==4.0.10
zipp==3.17.0

# The following packages are considered to be unsafe in a requirements file:
# ampform
# The following packages were excluded from the output:
# setuptools
23 changes: 9 additions & 14 deletions .constraints/py3.7.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.7
# by the following command:
#
# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.7.txt --resolver=backtracking --strip-extras --unsafe-package=ampform --unsafe-package=pip --unsafe-package=setuptools --unsafe-package=symplot
#
# This file was autogenerated by uv via the following command:
# uv pip compile pyproject.toml -o .constraints/py3.7.txt --all-extras --no-annotate --python-version=3.7 --no-emit-package setuptools
accessible-pygments==0.0.4
aiofiles==22.1.0
aiosqlite==0.19.0
Expand Down Expand Up @@ -53,7 +49,7 @@ hepunits==2.3.3
identify==2.5.24
idna==3.6
imagesize==1.4.1
importlib-metadata==6.7.0 ; python_version < "3.8.0"
importlib-metadata==6.7.0
importlib-resources==5.12.0
iniconfig==2.0.0
ipykernel==6.16.2
Expand Down Expand Up @@ -87,7 +83,7 @@ jupyterlab-pygments==0.2.2
jupyterlab-server==2.24.0
jupyterlab-widgets==3.0.10
kiwisolver==1.4.5
latexcodec==2.0.1
latexcodec==3.0.0
livereload==2.6.3
lsprotocol==2023.0.1
markdown-it-py==2.2.0
Expand Down Expand Up @@ -136,14 +132,14 @@ pycparser==2.21
pydantic==1.10.14
pydata-sphinx-theme==0.13.3
pygments==2.17.2
pyparsing==3.1.1
pyparsing==3.1.2
pyproject-api==1.5.3
pyrsistent==0.19.3
pytest==7.4.4
pytest-cov==4.1.0
pytest-profiling==1.7.0
pytest-xdist==3.5.0
python-constraint==1.4.0
python-constraint==1.3.1
python-dateutil==2.9.0.post0
python-json-logger==2.0.7
python-lsp-jsonrpc==1.0.0
Expand All @@ -162,7 +158,7 @@ rope==1.9.0
ruff==0.1.15
scipy==1.7.3
send2trash==1.8.2
singledispatchmethod==1.0 ; python_version < "3.8.0"
singledispatchmethod==1.0
six==1.16.0
smmap==5.0.1
sniffio==1.3.1
Expand Down Expand Up @@ -198,7 +194,7 @@ tox==4.8.0
tqdm==4.66.2
traitlets==5.9.0
typed-ast==1.5.5
typing-extensions==4.7.1 ; python_version < "3.8.0"
typing-extensions==4.7.1
ujson==5.7.0
uri-template==1.3.0
urllib3==2.0.7
Expand All @@ -213,6 +209,5 @@ y-py==0.6.2
ypy-websocket==0.8.4
zipp==3.15.0

# The following packages are considered to be unsafe in a requirements file:
# ampform
# The following packages were excluded from the output:
# setuptools
Loading

0 comments on commit e00da44

Please sign in to comment.