From 9ae114300c9d6244115ff26156c3ca8ab094458d Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Fri, 10 Nov 2023 16:10:36 +0100 Subject: [PATCH] MAINT: pin dependencies with pip constraints (#31) * DX: switch to faster `black` pre-commit hook --------- Co-authored-by: GitHub --- .constraints/.gitignore | 1 + .constraints/py3.10.txt | 178 ++++++++++++++++++++++++++++ .constraints/py3.11.txt | 176 +++++++++++++++++++++++++++ .constraints/py3.12.txt | 176 +++++++++++++++++++++++++++ .constraints/py3.8.txt | 183 +++++++++++++++++++++++++++++ .constraints/py3.9.txt | 179 ++++++++++++++++++++++++++++ .github/workflows/docs.yml | 2 +- .github/workflows/requirements.yml | 24 ++++ .pre-commit-config.yaml | 9 +- 9 files changed, 923 insertions(+), 5 deletions(-) create mode 100644 .constraints/.gitignore create mode 100644 .constraints/py3.10.txt create mode 100644 .constraints/py3.11.txt create mode 100644 .constraints/py3.12.txt create mode 100644 .constraints/py3.8.txt create mode 100644 .constraints/py3.9.txt create mode 100644 .github/workflows/requirements.yml diff --git a/.constraints/.gitignore b/.constraints/.gitignore new file mode 100644 index 0000000..36a07ad --- /dev/null +++ b/.constraints/.gitignore @@ -0,0 +1 @@ +!py3.*.txt diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt new file mode 100644 index 0000000..9973cf5 --- /dev/null +++ b/.constraints/py3.10.txt @@ -0,0 +1,178 @@ +# +# 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=pip --unsafe-package=setuptools --unsafe-package=strong2020-salamanca +# +accessible-pygments==0.0.4 +alabaster==0.7.13 +anyio==4.0.0 +argon2-cffi==23.1.0 +argon2-cffi-bindings==21.2.0 +arrow==1.3.0 +asttokens==2.4.1 +async-lru==2.0.4 +attrs==23.1.0 +babel==2.13.1 +beautifulsoup4==4.12.2 +black==23.11.0 +bleach==6.1.0 +cachetools==5.3.2 +certifi==2023.7.22 +cffi==1.16.0 +cfgv==3.4.0 +chardet==5.2.0 +charset-normalizer==3.3.2 +click==8.1.7 +colorama==0.4.6 +comm==0.2.0 +contourpy==1.2.0 +cycler==0.12.1 +debugpy==1.8.0 +decorator==5.1.1 +defusedxml==0.7.1 +distlib==0.3.7 +docstring-to-markdown==0.13 +docutils==0.19 +exceptiongroup==1.1.3 +executing==2.0.1 +fastjsonschema==2.18.1 +filelock==3.13.1 +flake8==6.1.0 +fonttools==4.44.0 +fqdn==1.5.1 +greenlet==3.0.1 +identify==2.5.31 +idna==3.4 +imagesize==1.4.1 +importlib-metadata==6.8.0 +iniconfig==2.0.0 +ipykernel==6.26.0 +ipympl==0.9.3 +ipython==8.17.2 +ipython-genutils==0.2.0 +ipywidgets==8.1.1 +isoduration==20.11.0 +isort==5.12.0 +jedi==0.19.1 +jinja2==3.1.2 +json5==0.9.14 +jsonpointer==2.4 +jsonschema==4.19.2 +jsonschema-specifications==2023.7.1 +jupyter-cache==1.0.0 +jupyter-client==8.6.0 +jupyter-core==5.5.0 +jupyter-events==0.9.0 +jupyter-lsp==2.2.0 +jupyter-server==2.10.0 +jupyter-server-terminals==0.4.4 +jupyterlab==4.0.8 +jupyterlab-code-formatter==2.2.1 +jupyterlab-lsp==5.0.0 +jupyterlab-myst==2.1.0 +jupyterlab-pygments==0.2.2 +jupyterlab-server==2.25.1 +jupyterlab-widgets==3.0.9 +kiwisolver==1.4.5 +livereload==2.6.3 +markdown-it-py==2.2.0 +markupsafe==2.1.3 +matplotlib==3.8.1 +matplotlib-inline==0.1.6 +mccabe==0.7.0 +mdit-py-plugins==0.3.5 +mdurl==0.1.2 +mistune==3.0.2 +mypy-extensions==1.0.0 +myst-nb==1.0.0 +myst-parser==1.0.0 +nbclient==0.6.8 +nbconvert==7.11.0 +nbformat==5.9.2 +nbmake==1.4.6 +nest-asyncio==1.5.8 +nodeenv==1.8.0 +notebook-shim==0.2.3 +numpy==1.26.1 +overrides==7.4.0 +packaging==23.2 +pandocfilters==1.5.0 +parso==0.8.3 +pathspec==0.11.2 +pexpect==4.8.0 +pillow==10.1.0 +platformdirs==3.11.0 +pluggy==1.3.0 +pre-commit==3.5.0 +prometheus-client==0.18.0 +prompt-toolkit==3.0.40 +psutil==5.9.6 +ptyprocess==0.7.0 +pure-eval==0.2.2 +pycodestyle==2.11.1 +pycparser==2.21 +pydata-sphinx-theme==0.14.3 +pyflakes==3.1.0 +pygments==2.16.1 +pyparsing==3.1.1 +pyproject-api==1.6.1 +pytest==7.4.3 +python-dateutil==2.8.2 +python-json-logger==2.0.7 +python-lsp-jsonrpc==1.1.2 +python-lsp-server==1.9.0 +pytoolconfig==1.2.6 +pyyaml==6.0.1 +pyzmq==25.1.1 +referencing==0.30.2 +requests==2.31.0 +rfc3339-validator==0.1.4 +rfc3986-validator==0.1.1 +rope==1.11.0 +rpds-py==0.12.0 +send2trash==1.8.2 +six==1.16.0 +sniffio==1.3.0 +snowballstemmer==2.2.0 +soupsieve==2.5 +sphinx==5.3.0 +sphinx-autobuild==2021.3.14 +sphinx-book-theme==1.0.1 +sphinx-comments==0.0.3 +sphinx-copybutton==0.5.2 +sphinx-design==0.5.0 +sphinx-exercise==0.4.1 +sphinx-togglebutton==0.3.2 +sphinxcontrib-applehelp==1.0.7 +sphinxcontrib-devhelp==1.0.5 +sphinxcontrib-htmlhelp==2.0.4 +sphinxcontrib-jsmath==1.0.1 +sphinxcontrib-qthelp==1.0.6 +sphinxcontrib-serializinghtml==1.1.9 +sqlalchemy==2.0.23 +stack-data==0.6.3 +tabulate==0.9.0 +terminado==0.18.0 +tinycss2==1.2.1 +tomli==2.0.1 +tornado==6.3.3 +tox==4.11.3 +traitlets==5.13.0 +types-python-dateutil==2.8.19.14 +typing-extensions==4.8.0 +ujson==5.8.0 +uri-template==1.3.0 +urllib3==2.0.7 +virtualenv==20.24.6 +wcwidth==0.2.9 +webcolors==1.13 +webencodings==0.5.1 +websocket-client==1.6.4 +wheel==0.41.3 +widgetsnbextension==4.0.9 +zipp==3.17.0 + +# The following packages are considered to be unsafe in a requirements file: +# setuptools +# strong2020-salamanca diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt new file mode 100644 index 0000000..2f4d853 --- /dev/null +++ b/.constraints/py3.11.txt @@ -0,0 +1,176 @@ +# +# 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=pip --unsafe-package=setuptools --unsafe-package=strong2020-salamanca +# +accessible-pygments==0.0.4 +alabaster==0.7.13 +anyio==4.0.0 +argon2-cffi==23.1.0 +argon2-cffi-bindings==21.2.0 +arrow==1.3.0 +asttokens==2.4.1 +async-lru==2.0.4 +attrs==23.1.0 +babel==2.13.1 +beautifulsoup4==4.12.2 +black==23.11.0 +bleach==6.1.0 +cachetools==5.3.2 +certifi==2023.7.22 +cffi==1.16.0 +cfgv==3.4.0 +chardet==5.2.0 +charset-normalizer==3.3.2 +click==8.1.7 +colorama==0.4.6 +comm==0.2.0 +contourpy==1.2.0 +cycler==0.12.1 +debugpy==1.8.0 +decorator==5.1.1 +defusedxml==0.7.1 +distlib==0.3.7 +docstring-to-markdown==0.13 +docutils==0.19 +executing==2.0.1 +fastjsonschema==2.18.1 +filelock==3.13.1 +flake8==6.1.0 +fonttools==4.44.0 +fqdn==1.5.1 +greenlet==3.0.1 +identify==2.5.31 +idna==3.4 +imagesize==1.4.1 +importlib-metadata==6.8.0 +iniconfig==2.0.0 +ipykernel==6.26.0 +ipympl==0.9.3 +ipython==8.17.2 +ipython-genutils==0.2.0 +ipywidgets==8.1.1 +isoduration==20.11.0 +isort==5.12.0 +jedi==0.19.1 +jinja2==3.1.2 +json5==0.9.14 +jsonpointer==2.4 +jsonschema==4.19.2 +jsonschema-specifications==2023.7.1 +jupyter-cache==1.0.0 +jupyter-client==8.6.0 +jupyter-core==5.5.0 +jupyter-events==0.9.0 +jupyter-lsp==2.2.0 +jupyter-server==2.10.0 +jupyter-server-terminals==0.4.4 +jupyterlab==4.0.8 +jupyterlab-code-formatter==2.2.1 +jupyterlab-lsp==5.0.0 +jupyterlab-myst==2.1.0 +jupyterlab-pygments==0.2.2 +jupyterlab-server==2.25.1 +jupyterlab-widgets==3.0.9 +kiwisolver==1.4.5 +livereload==2.6.3 +markdown-it-py==2.2.0 +markupsafe==2.1.3 +matplotlib==3.8.1 +matplotlib-inline==0.1.6 +mccabe==0.7.0 +mdit-py-plugins==0.3.5 +mdurl==0.1.2 +mistune==3.0.2 +mypy-extensions==1.0.0 +myst-nb==1.0.0 +myst-parser==1.0.0 +nbclient==0.6.8 +nbconvert==7.11.0 +nbformat==5.9.2 +nbmake==1.4.6 +nest-asyncio==1.5.8 +nodeenv==1.8.0 +notebook-shim==0.2.3 +numpy==1.26.1 +overrides==7.4.0 +packaging==23.2 +pandocfilters==1.5.0 +parso==0.8.3 +pathspec==0.11.2 +pexpect==4.8.0 +pillow==10.1.0 +platformdirs==3.11.0 +pluggy==1.3.0 +pre-commit==3.5.0 +prometheus-client==0.18.0 +prompt-toolkit==3.0.40 +psutil==5.9.6 +ptyprocess==0.7.0 +pure-eval==0.2.2 +pycodestyle==2.11.1 +pycparser==2.21 +pydata-sphinx-theme==0.14.3 +pyflakes==3.1.0 +pygments==2.16.1 +pyparsing==3.1.1 +pyproject-api==1.6.1 +pytest==7.4.3 +python-dateutil==2.8.2 +python-json-logger==2.0.7 +python-lsp-jsonrpc==1.1.2 +python-lsp-server==1.9.0 +pytoolconfig==1.2.6 +pyyaml==6.0.1 +pyzmq==25.1.1 +referencing==0.30.2 +requests==2.31.0 +rfc3339-validator==0.1.4 +rfc3986-validator==0.1.1 +rope==1.11.0 +rpds-py==0.12.0 +send2trash==1.8.2 +six==1.16.0 +sniffio==1.3.0 +snowballstemmer==2.2.0 +soupsieve==2.5 +sphinx==5.3.0 +sphinx-autobuild==2021.3.14 +sphinx-book-theme==1.0.1 +sphinx-comments==0.0.3 +sphinx-copybutton==0.5.2 +sphinx-design==0.5.0 +sphinx-exercise==0.4.1 +sphinx-togglebutton==0.3.2 +sphinxcontrib-applehelp==1.0.7 +sphinxcontrib-devhelp==1.0.5 +sphinxcontrib-htmlhelp==2.0.4 +sphinxcontrib-jsmath==1.0.1 +sphinxcontrib-qthelp==1.0.6 +sphinxcontrib-serializinghtml==1.1.9 +sqlalchemy==2.0.23 +stack-data==0.6.3 +tabulate==0.9.0 +terminado==0.18.0 +tinycss2==1.2.1 +tornado==6.3.3 +tox==4.11.3 +traitlets==5.13.0 +types-python-dateutil==2.8.19.14 +typing-extensions==4.8.0 +ujson==5.8.0 +uri-template==1.3.0 +urllib3==2.0.7 +virtualenv==20.24.6 +wcwidth==0.2.9 +webcolors==1.13 +webencodings==0.5.1 +websocket-client==1.6.4 +wheel==0.41.3 +widgetsnbextension==4.0.9 +zipp==3.17.0 + +# The following packages are considered to be unsafe in a requirements file: +# setuptools +# strong2020-salamanca diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt new file mode 100644 index 0000000..ffda5f5 --- /dev/null +++ b/.constraints/py3.12.txt @@ -0,0 +1,176 @@ +# +# 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=pip --unsafe-package=setuptools --unsafe-package=strong2020-salamanca +# +accessible-pygments==0.0.4 +alabaster==0.7.13 +anyio==4.0.0 +argon2-cffi==23.1.0 +argon2-cffi-bindings==21.2.0 +arrow==1.3.0 +asttokens==2.4.1 +async-lru==2.0.4 +attrs==23.1.0 +babel==2.13.1 +beautifulsoup4==4.12.2 +black==23.11.0 +bleach==6.1.0 +cachetools==5.3.2 +certifi==2023.7.22 +cffi==1.16.0 +cfgv==3.4.0 +chardet==5.2.0 +charset-normalizer==3.3.2 +click==8.1.7 +colorama==0.4.6 +comm==0.2.0 +contourpy==1.2.0 +cycler==0.12.1 +debugpy==1.8.0 +decorator==5.1.1 +defusedxml==0.7.1 +distlib==0.3.7 +docstring-to-markdown==0.13 +docutils==0.19 +executing==2.0.1 +fastjsonschema==2.18.1 +filelock==3.13.1 +flake8==6.1.0 +fonttools==4.44.0 +fqdn==1.5.1 +greenlet==3.0.1 +identify==2.5.31 +idna==3.4 +imagesize==1.4.1 +importlib-metadata==6.8.0 +iniconfig==2.0.0 +ipykernel==6.26.0 +ipympl==0.9.3 +ipython==8.17.2 +ipython-genutils==0.2.0 +ipywidgets==8.1.1 +isoduration==20.11.0 +isort==5.12.0 +jedi==0.19.1 +jinja2==3.1.2 +json5==0.9.14 +jsonpointer==2.4 +jsonschema==4.19.2 +jsonschema-specifications==2023.7.1 +jupyter-cache==1.0.0 +jupyter-client==8.6.0 +jupyter-core==5.5.0 +jupyter-events==0.9.0 +jupyter-lsp==2.2.0 +jupyter-server==2.10.0 +jupyter-server-terminals==0.4.4 +jupyterlab==4.0.8 +jupyterlab-code-formatter==2.2.1 +jupyterlab-lsp==5.0.0 +jupyterlab-myst==2.1.0 +jupyterlab-pygments==0.2.2 +jupyterlab-server==2.25.1 +jupyterlab-widgets==3.0.9 +kiwisolver==1.4.5 +livereload==2.6.3 +markdown-it-py==2.2.0 +markupsafe==2.1.3 +matplotlib==3.8.1 +matplotlib-inline==0.1.6 +mccabe==0.7.0 +mdit-py-plugins==0.3.5 +mdurl==0.1.2 +mistune==3.0.2 +mypy-extensions==1.0.0 +myst-nb==1.0.0 +myst-parser==1.0.0 +nbclient==0.6.8 +nbconvert==7.11.0 +nbformat==5.9.2 +nbmake==1.4.6 +nest-asyncio==1.5.8 +nodeenv==1.8.0 +notebook-shim==0.2.3 +numpy==1.26.1 +overrides==7.4.0 +packaging==23.2 +pandocfilters==1.5.0 +parso==0.8.3 +pathspec==0.11.2 +pexpect==4.8.0 +pillow==10.1.0 +platformdirs==3.11.0 +pluggy==1.3.0 +pre-commit==3.5.0 +prometheus-client==0.18.0 +prompt-toolkit==3.0.40 +psutil==5.9.6 +ptyprocess==0.7.0 +pure-eval==0.2.2 +pycodestyle==2.11.1 +pycparser==2.21 +pydata-sphinx-theme==0.14.3 +pyflakes==3.1.0 +pygments==2.16.1 +pyparsing==3.1.1 +pyproject-api==1.6.1 +pytest==7.4.3 +python-dateutil==2.8.2 +python-json-logger==2.0.7 +python-lsp-jsonrpc==1.1.2 +python-lsp-server==1.9.0 +pytoolconfig==1.2.6 +pyyaml==6.0.1 +pyzmq==25.1.1 +referencing==0.30.2 +requests==2.31.0 +rfc3339-validator==0.1.4 +rfc3986-validator==0.1.1 +rope==1.11.0 +rpds-py==0.12.0 +send2trash==1.8.2 +six==1.16.0 +sniffio==1.3.0 +snowballstemmer==2.2.0 +soupsieve==2.5 +sphinx==5.3.0 +sphinx-autobuild==2021.3.14 +sphinx-book-theme==1.0.1 +sphinx-comments==0.0.3 +sphinx-copybutton==0.5.2 +sphinx-design==0.5.0 +sphinx-exercise==0.4.1 +sphinx-togglebutton==0.3.2 +sphinxcontrib-applehelp==1.0.7 +sphinxcontrib-devhelp==1.0.5 +sphinxcontrib-htmlhelp==2.0.4 +sphinxcontrib-jsmath==1.0.1 +sphinxcontrib-qthelp==1.0.6 +sphinxcontrib-serializinghtml==1.1.9 +sqlalchemy==2.0.23 +stack-data==0.6.3 +tabulate==0.9.0 +terminado==0.18.0 +tinycss2==1.2.1 +tornado==6.3.3 +tox==4.11.3 +traitlets==5.13.0 +types-python-dateutil==2.8.19.14 +typing-extensions==4.8.0 +ujson==5.8.0 +uri-template==1.3.0 +urllib3==2.0.7 +virtualenv==20.24.6 +wcwidth==0.2.9 +webcolors==1.13 +webencodings==0.5.1 +websocket-client==1.6.4 +wheel==0.41.3 +widgetsnbextension==4.0.9 +zipp==3.17.0 + +# The following packages are considered to be unsafe in a requirements file: +# setuptools +# strong2020-salamanca diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt new file mode 100644 index 0000000..7b11082 --- /dev/null +++ b/.constraints/py3.8.txt @@ -0,0 +1,183 @@ +# +# This file is autogenerated by pip-compile with Python 3.8 +# by the following command: +# +# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.8.txt --strip-extras --unsafe-package=pip --unsafe-package=setuptools --unsafe-package=strong2020-salamanca +# +accessible-pygments==0.0.4 +alabaster==0.7.13 +anyio==4.0.0 +argon2-cffi==23.1.0 +argon2-cffi-bindings==21.2.0 +arrow==1.3.0 +asttokens==2.4.1 +async-lru==2.0.4 +attrs==23.1.0 +babel==2.13.1 +backcall==0.2.0 +beautifulsoup4==4.12.2 +black==23.11.0 +bleach==6.1.0 +cachetools==5.3.2 +certifi==2023.7.22 +cffi==1.16.0 +cfgv==3.4.0 +chardet==5.2.0 +charset-normalizer==3.3.2 +click==8.1.7 +colorama==0.4.6 +comm==0.2.0 +contourpy==1.1.1 +cycler==0.12.1 +debugpy==1.8.0 +decorator==5.1.1 +defusedxml==0.7.1 +distlib==0.3.7 +docstring-to-markdown==0.13 +docutils==0.19 +exceptiongroup==1.1.3 +executing==2.0.1 +fastjsonschema==2.18.1 +filelock==3.13.1 +flake8==6.1.0 +fonttools==4.44.0 +fqdn==1.5.1 +greenlet==3.0.1 +identify==2.5.31 +idna==3.4 +imagesize==1.4.1 +importlib-metadata==6.8.0 +importlib-resources==6.1.1 +iniconfig==2.0.0 +ipykernel==6.26.0 +ipympl==0.9.3 +ipython==8.12.3 +ipython-genutils==0.2.0 +ipywidgets==8.1.1 +isoduration==20.11.0 +isort==5.12.0 +jedi==0.19.1 +jinja2==3.1.2 +json5==0.9.14 +jsonpointer==2.4 +jsonschema==4.19.2 +jsonschema-specifications==2023.7.1 +jupyter-cache==0.6.1 +jupyter-client==8.6.0 +jupyter-core==5.5.0 +jupyter-events==0.9.0 +jupyter-lsp==2.2.0 +jupyter-server==2.10.0 +jupyter-server-terminals==0.4.4 +jupyterlab==4.0.8 +jupyterlab-code-formatter==2.2.1 +jupyterlab-lsp==5.0.0 +jupyterlab-myst==2.1.0 +jupyterlab-pygments==0.2.2 +jupyterlab-server==2.25.1 +jupyterlab-widgets==3.0.9 +kiwisolver==1.4.5 +livereload==2.6.3 +markdown-it-py==2.2.0 +markupsafe==2.1.3 +matplotlib==3.7.3 +matplotlib-inline==0.1.6 +mccabe==0.7.0 +mdit-py-plugins==0.3.5 +mdurl==0.1.2 +mistune==3.0.2 +mypy-extensions==1.0.0 +myst-nb==0.17.2 +myst-parser==0.18.1 +nbclient==0.6.8 +nbconvert==7.11.0 +nbformat==5.9.2 +nbmake==1.4.6 +nest-asyncio==1.5.8 +nodeenv==1.8.0 +notebook-shim==0.2.3 +numpy==1.24.4 +overrides==7.4.0 +packaging==23.2 +pandocfilters==1.5.0 +parso==0.8.3 +pathspec==0.11.2 +pexpect==4.8.0 +pickleshare==0.7.5 +pillow==10.1.0 +pkgutil-resolve-name==1.3.10 +platformdirs==3.11.0 +pluggy==1.3.0 +pre-commit==3.5.0 +prometheus-client==0.18.0 +prompt-toolkit==3.0.40 +psutil==5.9.6 +ptyprocess==0.7.0 +pure-eval==0.2.2 +pycodestyle==2.11.1 +pycparser==2.21 +pydata-sphinx-theme==0.14.3 +pyflakes==3.1.0 +pygments==2.16.1 +pyparsing==3.1.1 +pyproject-api==1.6.1 +pytest==7.4.3 +python-dateutil==2.8.2 +python-json-logger==2.0.7 +python-lsp-jsonrpc==1.1.2 +python-lsp-server==1.9.0 +pytoolconfig==1.2.6 +pytz==2023.3.post1 +pyyaml==6.0.1 +pyzmq==25.1.1 +referencing==0.30.2 +requests==2.31.0 +rfc3339-validator==0.1.4 +rfc3986-validator==0.1.1 +rope==1.11.0 +rpds-py==0.12.0 +send2trash==1.8.2 +six==1.16.0 +sniffio==1.3.0 +snowballstemmer==2.2.0 +soupsieve==2.5 +sphinx==5.3.0 +sphinx-autobuild==2021.3.14 +sphinx-book-theme==1.0.1 +sphinx-comments==0.0.3 +sphinx-copybutton==0.5.2 +sphinx-design==0.5.0 +sphinx-exercise==0.4.1 +sphinx-togglebutton==0.3.2 +sphinxcontrib-applehelp==1.0.4 +sphinxcontrib-devhelp==1.0.2 +sphinxcontrib-htmlhelp==2.0.1 +sphinxcontrib-jsmath==1.0.1 +sphinxcontrib-qthelp==1.0.3 +sphinxcontrib-serializinghtml==1.1.5 +sqlalchemy==2.0.23 +stack-data==0.6.3 +tabulate==0.9.0 +terminado==0.18.0 +tinycss2==1.2.1 +tomli==2.0.1 +tornado==6.3.3 +tox==4.11.3 +traitlets==5.13.0 +types-python-dateutil==2.8.19.14 +typing-extensions==4.8.0 +ujson==5.8.0 +uri-template==1.3.0 +urllib3==2.0.7 +virtualenv==20.24.6 +wcwidth==0.2.9 +webcolors==1.13 +webencodings==0.5.1 +websocket-client==1.6.4 +wheel==0.41.3 +widgetsnbextension==4.0.9 +zipp==3.17.0 + +# The following packages are considered to be unsafe in a requirements file: +# setuptools +# strong2020-salamanca diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt new file mode 100644 index 0000000..612fad6 --- /dev/null +++ b/.constraints/py3.9.txt @@ -0,0 +1,179 @@ +# +# This file is autogenerated by pip-compile with Python 3.9 +# by the following command: +# +# pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.9.txt --strip-extras --unsafe-package=pip --unsafe-package=setuptools --unsafe-package=strong2020-salamanca +# +accessible-pygments==0.0.4 +alabaster==0.7.13 +anyio==4.0.0 +argon2-cffi==23.1.0 +argon2-cffi-bindings==21.2.0 +arrow==1.3.0 +asttokens==2.4.1 +async-lru==2.0.4 +attrs==23.1.0 +babel==2.13.1 +beautifulsoup4==4.12.2 +black==23.11.0 +bleach==6.1.0 +cachetools==5.3.2 +certifi==2023.7.22 +cffi==1.16.0 +cfgv==3.4.0 +chardet==5.2.0 +charset-normalizer==3.3.2 +click==8.1.7 +colorama==0.4.6 +comm==0.2.0 +contourpy==1.2.0 +cycler==0.12.1 +debugpy==1.8.0 +decorator==5.1.1 +defusedxml==0.7.1 +distlib==0.3.7 +docstring-to-markdown==0.13 +docutils==0.19 +exceptiongroup==1.1.3 +executing==2.0.1 +fastjsonschema==2.18.1 +filelock==3.13.1 +flake8==6.1.0 +fonttools==4.44.0 +fqdn==1.5.1 +greenlet==3.0.1 +identify==2.5.31 +idna==3.4 +imagesize==1.4.1 +importlib-metadata==6.8.0 +importlib-resources==6.1.1 +iniconfig==2.0.0 +ipykernel==6.26.0 +ipympl==0.9.3 +ipython==8.17.2 +ipython-genutils==0.2.0 +ipywidgets==8.1.1 +isoduration==20.11.0 +isort==5.12.0 +jedi==0.19.1 +jinja2==3.1.2 +json5==0.9.14 +jsonpointer==2.4 +jsonschema==4.19.2 +jsonschema-specifications==2023.7.1 +jupyter-cache==1.0.0 +jupyter-client==8.6.0 +jupyter-core==5.5.0 +jupyter-events==0.9.0 +jupyter-lsp==2.2.0 +jupyter-server==2.10.0 +jupyter-server-terminals==0.4.4 +jupyterlab==4.0.8 +jupyterlab-code-formatter==2.2.1 +jupyterlab-lsp==5.0.0 +jupyterlab-myst==2.1.0 +jupyterlab-pygments==0.2.2 +jupyterlab-server==2.25.1 +jupyterlab-widgets==3.0.9 +kiwisolver==1.4.5 +livereload==2.6.3 +markdown-it-py==2.2.0 +markupsafe==2.1.3 +matplotlib==3.8.1 +matplotlib-inline==0.1.6 +mccabe==0.7.0 +mdit-py-plugins==0.3.5 +mdurl==0.1.2 +mistune==3.0.2 +mypy-extensions==1.0.0 +myst-nb==1.0.0 +myst-parser==1.0.0 +nbclient==0.6.8 +nbconvert==7.11.0 +nbformat==5.9.2 +nbmake==1.4.6 +nest-asyncio==1.5.8 +nodeenv==1.8.0 +notebook-shim==0.2.3 +numpy==1.26.1 +overrides==7.4.0 +packaging==23.2 +pandocfilters==1.5.0 +parso==0.8.3 +pathspec==0.11.2 +pexpect==4.8.0 +pillow==10.1.0 +platformdirs==3.11.0 +pluggy==1.3.0 +pre-commit==3.5.0 +prometheus-client==0.18.0 +prompt-toolkit==3.0.40 +psutil==5.9.6 +ptyprocess==0.7.0 +pure-eval==0.2.2 +pycodestyle==2.11.1 +pycparser==2.21 +pydata-sphinx-theme==0.14.3 +pyflakes==3.1.0 +pygments==2.16.1 +pyparsing==3.1.1 +pyproject-api==1.6.1 +pytest==7.4.3 +python-dateutil==2.8.2 +python-json-logger==2.0.7 +python-lsp-jsonrpc==1.1.2 +python-lsp-server==1.9.0 +pytoolconfig==1.2.6 +pyyaml==6.0.1 +pyzmq==25.1.1 +referencing==0.30.2 +requests==2.31.0 +rfc3339-validator==0.1.4 +rfc3986-validator==0.1.1 +rope==1.11.0 +rpds-py==0.12.0 +send2trash==1.8.2 +six==1.16.0 +sniffio==1.3.0 +snowballstemmer==2.2.0 +soupsieve==2.5 +sphinx==5.3.0 +sphinx-autobuild==2021.3.14 +sphinx-book-theme==1.0.1 +sphinx-comments==0.0.3 +sphinx-copybutton==0.5.2 +sphinx-design==0.5.0 +sphinx-exercise==0.4.1 +sphinx-togglebutton==0.3.2 +sphinxcontrib-applehelp==1.0.7 +sphinxcontrib-devhelp==1.0.5 +sphinxcontrib-htmlhelp==2.0.4 +sphinxcontrib-jsmath==1.0.1 +sphinxcontrib-qthelp==1.0.6 +sphinxcontrib-serializinghtml==1.1.9 +sqlalchemy==2.0.23 +stack-data==0.6.3 +tabulate==0.9.0 +terminado==0.18.0 +tinycss2==1.2.1 +tomli==2.0.1 +tornado==6.3.3 +tox==4.11.3 +traitlets==5.13.0 +types-python-dateutil==2.8.19.14 +typing-extensions==4.8.0 +ujson==5.8.0 +uri-template==1.3.0 +urllib3==2.0.7 +virtualenv==20.24.6 +wcwidth==0.2.9 +webcolors==1.13 +webencodings==0.5.1 +websocket-client==1.6.4 +wheel==0.41.3 +widgetsnbextension==4.0.9 +zipp==3.17.0 + +# The following packages are considered to be unsafe in a requirements file: +# setuptools +# strong2020-salamanca diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d964372..95989e7 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/setup-python@v4 with: python-version: "3.10" - - run: pip install -e .[doc] tox + - run: pip install -e .[doc] tox -c .constraints/py3.10.txt - name: Fetch Jupyter cache uses: actions/cache@v3 with: diff --git a/.github/workflows/requirements.yml b/.github/workflows/requirements.yml new file mode 100644 index 0000000..b8f8c9e --- /dev/null +++ b/.github/workflows/requirements.yml @@ -0,0 +1,24 @@ +name: Requirements + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +on: + pull_request: + branches: + - main + - epic/* + paths: + - .constraints/py3.*.txt + - .pre-commit-config.yaml + - setup.cfg + schedule: + - cron: "0 3 7 */3 *" + workflow_dispatch: + +jobs: + requirements: + uses: ComPWA/actions/.github/workflows/requirements.yml@v1 + secrets: + token: ${{ secrets.PAT }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 465fd3e..230142f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,7 +22,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.0 + rev: 0.1.2 hooks: - id: check-dev-files args: @@ -33,6 +33,7 @@ repos: - --no-python - --no-ruff - --no-version-branches + - --pin-requirements=quarterly - --repo-name=strong2020-salamanca - id: colab-toc-visible @@ -44,15 +45,15 @@ repos: - id: nbqa-pyupgrade args: [--py38-plus] - - repo: https://github.com/psf/black - rev: 23.9.1 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 23.11.0 hooks: - id: black-jupyter args: [--line-length=85] types_or: [jupyter] - repo: https://github.com/editorconfig-checker/editorconfig-checker.python - rev: 2.7.2 + rev: 2.7.3 hooks: - id: editorconfig-checker name: editorconfig