From 0232f6051e7bead4f04d408d1d57c2f1fd0e2d05 Mon Sep 17 00:00:00 2001 From: GitHub Date: Thu, 7 Mar 2024 09:31:37 +0000 Subject: [PATCH 1/8] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 155 ++++++++++++++++++++-------------------- .constraints/py3.11.txt | 155 ++++++++++++++++++++-------------------- .constraints/py3.12.txt | 155 ++++++++++++++++++++-------------------- .constraints/py3.7.txt | 59 +++++++-------- .constraints/py3.8.txt | 133 +++++++++++++++++----------------- .constraints/py3.9.txt | 155 ++++++++++++++++++++-------------------- .pre-commit-config.yaml | 12 ++-- 7 files changed, 407 insertions(+), 417 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 8a36170..dadf112 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -1,27 +1,23 @@ -# -# 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=boostcfg --unsafe-package=pawian --unsafe-package=pawian-tools --unsafe-package=pip --unsafe-package=setuptools -# +# 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.2.0 +anyio==4.3.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.2.0 -awkward==2.5.1 -awkward-cpp==27 +awkward==2.6.2 +awkward-cpp==30 babel==2.14.0 -beautifulsoup4==4.12.2 -black==23.12.1 +beautifulsoup4==4.12.3 +black==24.2.0 bleach==6.1.0 -cachetools==5.3.2 +cachetools==5.3.3 cattrs==23.2.3 -certifi==2023.11.17 +certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 @@ -30,64 +26,68 @@ click==8.1.7 colorama==0.4.6 comm==0.2.1 contourpy==1.2.0 -coverage==7.4.0 +coverage==7.4.3 +cramjam==2.8.2 cycler==0.12.1 -debugpy==1.8.0 +debugpy==1.8.1 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.8 -docstring-to-markdown==0.13 +docstring-to-markdown==0.15 docutils==0.20.1 exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.47.2 +fonttools==4.49.0 fqdn==1.5.1 -fsspec==2023.12.2 +fsspec==2024.2.0 gitdb==4.0.11 -gitpython==3.1.41 +gitpython==3.1.42 gprof2dot==2022.7.29 greenlet==3.0.3 -identify==2.5.33 +h11==0.14.0 +httpcore==1.0.4 +httpx==0.27.0 +identify==2.5.35 idna==3.6 imagesize==1.4.1 importlib-metadata==7.0.1 iniconfig==2.0.0 -ipykernel==6.28.0 -ipython==8.20.0 -ipywidgets==8.1.1 +ipykernel==6.29.3 +ipython==8.22.2 +ipywidgets==8.1.2 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 jinja2==3.1.3 -json5==0.9.14 +json5==0.9.22 jsonpointer==2.4 -jsonschema==4.20.0 +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.1 -jupyter-server==2.12.4 +jupyter-lsp==2.2.4 +jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.5.1 -jupyterlab==4.0.10 +jupyter-server-terminals==0.5.2 +jupyterlab==4.1.3 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 -jupyterlab-lsp==5.0.1 -jupyterlab-myst==2.1.0 +jupyterlab-lsp==5.1.0 +jupyterlab-myst==2.3.1 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.25.2 -jupyterlab-widgets==3.0.9 +jupyterlab-server==2.25.3 +jupyterlab-widgets==3.0.10 kiwisolver==1.4.5 livereload==2.6.3 lsprotocol==2023.0.1 markdown-it-py==3.0.0 -markupsafe==2.1.3 -matplotlib==3.8.2 +markupsafe==2.1.5 +matplotlib==3.8.3 matplotlib-inline==0.1.6 mdit-py-plugins==0.4.0 mdurl==0.1.2 @@ -97,100 +97,99 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.14.1 +nbconvert==7.16.2 nbdime==4.0.1 nbformat==5.9.2 -nbmake==1.4.6 -nest-asyncio==1.5.8 +nbmake==1.5.2 +nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook-shim==0.2.3 -numpy==1.26.3 -overrides==7.4.0 +notebook-shim==0.2.4 +numpy==1.26.4 +overrides==7.7.0 packaging==23.2 -pandas==2.1.4 -pandocfilters==1.5.0 +pandas==2.2.1 +pandocfilters==1.5.1 parso==0.8.3 pathspec==0.12.1 pexpect==4.9.0 pillow==10.2.0 -platformdirs==4.1.0 -pluggy==1.3.0 -pre-commit==3.6.0 -prometheus-client==0.19.0 +platformdirs==4.2.0 +pluggy==1.4.0 +pre-commit==3.6.2 +prometheus-client==0.20.0 prompt-toolkit==3.0.43 -psutil==5.9.7 +psutil==5.9.8 ptyprocess==0.7.0 pure-eval==0.2.2 pycparser==2.21 -pydata-sphinx-theme==0.15.1 +pydata-sphinx-theme==0.15.2 pygments==2.17.2 -pyparsing==3.1.1 +pyparsing==3.1.2 pyproject-api==1.6.1 -pytest==7.4.4 +pytest==8.0.2 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.2 -python-lsp-server==1.9.0 +python-lsp-ruff==2.2.0 +python-lsp-server==1.10.0 pytoolconfig==1.3.1 -pytz==2023.3.post1 +pytz==2024.1 pyyaml==6.0.1 pyzmq==25.1.2 -referencing==0.32.1 +referencing==0.33.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.11.0 -rpds-py==0.16.2 -ruff==0.1.13 +rope==1.12.0 +rpds-py==0.18.0 +ruff==0.3.1 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 -sniffio==1.3.0 +sniffio==1.3.1 snowballstemmer==2.2.0 soupsieve==2.5 sphinx==7.2.6 sphinx-api-relink==0.0.8 -sphinx-autobuild==2021.3.14 -sphinx-book-theme==1.1.0 +sphinx-autobuild==2024.2.4 +sphinx-book-theme==1.1.2 sphinx-codeautolink==0.15.0 sphinx-copybutton==0.5.2 -sphinx-thebe==0.3.0 +sphinx-thebe==0.3.1 sphinx-togglebutton==0.3.2 -sphinxcontrib-applehelp==1.0.7 -sphinxcontrib-devhelp==1.0.5 -sphinxcontrib-htmlhelp==2.0.4 +sphinxcontrib-applehelp==1.0.8 +sphinxcontrib-devhelp==1.0.6 +sphinxcontrib-htmlhelp==2.0.5 sphinxcontrib-jsmath==1.0.1 -sphinxcontrib-qthelp==1.0.6 -sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.25 +sphinxcontrib-qthelp==1.0.7 +sphinxcontrib-serializinghtml==1.1.10 +sqlalchemy==2.0.28 stack-data==0.6.3 tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 tornado==6.4 -tox==4.12.0 +tox==4.14.1 traitlets==5.14.1 types-python-dateutil==2.8.19.20240106 -typing-extensions==4.9.0 -tzdata==2023.4 +typing-extensions==4.10.0 +tzdata==2024.1 ujson==5.9.0 -uproot==5.2.1 +uproot==5.3.1 uri-template==1.3.0 -urllib3==2.1.0 -virtualenv==20.25.0 +urllib3==2.2.1 +virtualenv==20.25.1 wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.7.0 wheel==0.42.0 -widgetsnbextension==4.0.9 +widgetsnbextension==4.0.10 zipp==3.17.0 -# The following packages are considered to be unsafe in a requirements file: -# pawian-tools +# The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 1264f2f..a8364dc 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -1,27 +1,23 @@ -# -# 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=boostcfg --unsafe-package=pawian --unsafe-package=pawian-tools --unsafe-package=pip --unsafe-package=setuptools -# +# 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.2.0 +anyio==4.3.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.2.0 -awkward==2.5.1 -awkward-cpp==27 +awkward==2.6.2 +awkward-cpp==30 babel==2.14.0 -beautifulsoup4==4.12.2 -black==23.12.1 +beautifulsoup4==4.12.3 +black==24.2.0 bleach==6.1.0 -cachetools==5.3.2 +cachetools==5.3.3 cattrs==23.2.3 -certifi==2023.11.17 +certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 @@ -30,63 +26,67 @@ click==8.1.7 colorama==0.4.6 comm==0.2.1 contourpy==1.2.0 -coverage==7.4.0 +coverage==7.4.3 +cramjam==2.8.2 cycler==0.12.1 -debugpy==1.8.0 +debugpy==1.8.1 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.8 -docstring-to-markdown==0.13 +docstring-to-markdown==0.15 docutils==0.20.1 execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.47.2 +fonttools==4.49.0 fqdn==1.5.1 -fsspec==2023.12.2 +fsspec==2024.2.0 gitdb==4.0.11 -gitpython==3.1.41 +gitpython==3.1.42 gprof2dot==2022.7.29 greenlet==3.0.3 -identify==2.5.33 +h11==0.14.0 +httpcore==1.0.4 +httpx==0.27.0 +identify==2.5.35 idna==3.6 imagesize==1.4.1 importlib-metadata==7.0.1 iniconfig==2.0.0 -ipykernel==6.28.0 -ipython==8.20.0 -ipywidgets==8.1.1 +ipykernel==6.29.3 +ipython==8.22.2 +ipywidgets==8.1.2 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 jinja2==3.1.3 -json5==0.9.14 +json5==0.9.22 jsonpointer==2.4 -jsonschema==4.20.0 +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.1 -jupyter-server==2.12.4 +jupyter-lsp==2.2.4 +jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.5.1 -jupyterlab==4.0.10 +jupyter-server-terminals==0.5.2 +jupyterlab==4.1.3 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 -jupyterlab-lsp==5.0.1 -jupyterlab-myst==2.1.0 +jupyterlab-lsp==5.1.0 +jupyterlab-myst==2.3.1 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.25.2 -jupyterlab-widgets==3.0.9 +jupyterlab-server==2.25.3 +jupyterlab-widgets==3.0.10 kiwisolver==1.4.5 livereload==2.6.3 lsprotocol==2023.0.1 markdown-it-py==3.0.0 -markupsafe==2.1.3 -matplotlib==3.8.2 +markupsafe==2.1.5 +matplotlib==3.8.3 matplotlib-inline==0.1.6 mdit-py-plugins==0.4.0 mdurl==0.1.2 @@ -96,99 +96,98 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.14.1 +nbconvert==7.16.2 nbdime==4.0.1 nbformat==5.9.2 -nbmake==1.4.6 -nest-asyncio==1.5.8 +nbmake==1.5.2 +nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook-shim==0.2.3 -numpy==1.26.3 -overrides==7.4.0 +notebook-shim==0.2.4 +numpy==1.26.4 +overrides==7.7.0 packaging==23.2 -pandas==2.1.4 -pandocfilters==1.5.0 +pandas==2.2.1 +pandocfilters==1.5.1 parso==0.8.3 pathspec==0.12.1 pexpect==4.9.0 pillow==10.2.0 -platformdirs==4.1.0 -pluggy==1.3.0 -pre-commit==3.6.0 -prometheus-client==0.19.0 +platformdirs==4.2.0 +pluggy==1.4.0 +pre-commit==3.6.2 +prometheus-client==0.20.0 prompt-toolkit==3.0.43 -psutil==5.9.7 +psutil==5.9.8 ptyprocess==0.7.0 pure-eval==0.2.2 pycparser==2.21 -pydata-sphinx-theme==0.15.1 +pydata-sphinx-theme==0.15.2 pygments==2.17.2 -pyparsing==3.1.1 +pyparsing==3.1.2 pyproject-api==1.6.1 -pytest==7.4.4 +pytest==8.0.2 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.2 -python-lsp-server==1.9.0 +python-lsp-ruff==2.2.0 +python-lsp-server==1.10.0 pytoolconfig==1.3.1 -pytz==2023.3.post1 +pytz==2024.1 pyyaml==6.0.1 pyzmq==25.1.2 -referencing==0.32.1 +referencing==0.33.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.11.0 -rpds-py==0.16.2 -ruff==0.1.13 +rope==1.12.0 +rpds-py==0.18.0 +ruff==0.3.1 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 -sniffio==1.3.0 +sniffio==1.3.1 snowballstemmer==2.2.0 soupsieve==2.5 sphinx==7.2.6 sphinx-api-relink==0.0.8 -sphinx-autobuild==2021.3.14 -sphinx-book-theme==1.1.0 +sphinx-autobuild==2024.2.4 +sphinx-book-theme==1.1.2 sphinx-codeautolink==0.15.0 sphinx-copybutton==0.5.2 -sphinx-thebe==0.3.0 +sphinx-thebe==0.3.1 sphinx-togglebutton==0.3.2 -sphinxcontrib-applehelp==1.0.7 -sphinxcontrib-devhelp==1.0.5 -sphinxcontrib-htmlhelp==2.0.4 +sphinxcontrib-applehelp==1.0.8 +sphinxcontrib-devhelp==1.0.6 +sphinxcontrib-htmlhelp==2.0.5 sphinxcontrib-jsmath==1.0.1 -sphinxcontrib-qthelp==1.0.6 -sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.25 +sphinxcontrib-qthelp==1.0.7 +sphinxcontrib-serializinghtml==1.1.10 +sqlalchemy==2.0.28 stack-data==0.6.3 tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 tornado==6.4 -tox==4.12.0 +tox==4.14.1 traitlets==5.14.1 types-python-dateutil==2.8.19.20240106 -typing-extensions==4.9.0 -tzdata==2023.4 +typing-extensions==4.10.0 +tzdata==2024.1 ujson==5.9.0 -uproot==5.2.1 +uproot==5.3.1 uri-template==1.3.0 -urllib3==2.1.0 -virtualenv==20.25.0 +urllib3==2.2.1 +virtualenv==20.25.1 wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.7.0 wheel==0.42.0 -widgetsnbextension==4.0.9 +widgetsnbextension==4.0.10 zipp==3.17.0 -# The following packages are considered to be unsafe in a requirements file: -# pawian-tools +# The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt index 7464b72..cae1d53 100644 --- a/.constraints/py3.12.txt +++ b/.constraints/py3.12.txt @@ -1,27 +1,23 @@ -# -# 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=boostcfg --unsafe-package=pawian --unsafe-package=pawian-tools --unsafe-package=pip --unsafe-package=setuptools -# +# 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.2.0 +anyio==4.3.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.2.0 -awkward==2.5.1 -awkward-cpp==27 +awkward==2.6.2 +awkward-cpp==30 babel==2.14.0 -beautifulsoup4==4.12.2 -black==23.12.1 +beautifulsoup4==4.12.3 +black==24.2.0 bleach==6.1.0 -cachetools==5.3.2 +cachetools==5.3.3 cattrs==23.2.3 -certifi==2023.11.17 +certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 @@ -30,63 +26,67 @@ click==8.1.7 colorama==0.4.6 comm==0.2.1 contourpy==1.2.0 -coverage==7.4.0 +coverage==7.4.3 +cramjam==2.8.2 cycler==0.12.1 -debugpy==1.8.0 +debugpy==1.8.1 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.8 -docstring-to-markdown==0.13 +docstring-to-markdown==0.15 docutils==0.20.1 execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.47.2 +fonttools==4.49.0 fqdn==1.5.1 -fsspec==2023.12.2 +fsspec==2024.2.0 gitdb==4.0.11 -gitpython==3.1.41 +gitpython==3.1.42 gprof2dot==2022.7.29 greenlet==3.0.3 -identify==2.5.33 +h11==0.14.0 +httpcore==1.0.4 +httpx==0.27.0 +identify==2.5.35 idna==3.6 imagesize==1.4.1 importlib-metadata==7.0.1 iniconfig==2.0.0 -ipykernel==6.28.0 -ipython==8.20.0 -ipywidgets==8.1.1 +ipykernel==6.29.3 +ipython==8.22.2 +ipywidgets==8.1.2 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 jinja2==3.1.3 -json5==0.9.14 +json5==0.9.22 jsonpointer==2.4 -jsonschema==4.20.0 +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.1 -jupyter-server==2.12.4 +jupyter-lsp==2.2.4 +jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.5.1 -jupyterlab==4.0.10 +jupyter-server-terminals==0.5.2 +jupyterlab==4.1.3 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 -jupyterlab-lsp==5.0.1 -jupyterlab-myst==2.1.0 +jupyterlab-lsp==5.1.0 +jupyterlab-myst==2.3.1 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.25.2 -jupyterlab-widgets==3.0.9 +jupyterlab-server==2.25.3 +jupyterlab-widgets==3.0.10 kiwisolver==1.4.5 livereload==2.6.3 lsprotocol==2023.0.1 markdown-it-py==3.0.0 -markupsafe==2.1.3 -matplotlib==3.8.2 +markupsafe==2.1.5 +matplotlib==3.8.3 matplotlib-inline==0.1.6 mdit-py-plugins==0.4.0 mdurl==0.1.2 @@ -96,99 +96,98 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.14.1 +nbconvert==7.16.2 nbdime==4.0.1 nbformat==5.9.2 -nbmake==1.4.6 -nest-asyncio==1.5.8 +nbmake==1.5.2 +nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook-shim==0.2.3 -numpy==1.26.3 -overrides==7.4.0 +notebook-shim==0.2.4 +numpy==1.26.4 +overrides==7.7.0 packaging==23.2 -pandas==2.1.4 -pandocfilters==1.5.0 +pandas==2.2.1 +pandocfilters==1.5.1 parso==0.8.3 pathspec==0.12.1 pexpect==4.9.0 pillow==10.2.0 -platformdirs==4.1.0 -pluggy==1.3.0 -pre-commit==3.6.0 -prometheus-client==0.19.0 +platformdirs==4.2.0 +pluggy==1.4.0 +pre-commit==3.6.2 +prometheus-client==0.20.0 prompt-toolkit==3.0.43 -psutil==5.9.7 +psutil==5.9.8 ptyprocess==0.7.0 pure-eval==0.2.2 pycparser==2.21 -pydata-sphinx-theme==0.15.1 +pydata-sphinx-theme==0.15.2 pygments==2.17.2 -pyparsing==3.1.1 +pyparsing==3.1.2 pyproject-api==1.6.1 -pytest==7.4.4 +pytest==8.0.2 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.2 -python-lsp-server==1.9.0 +python-lsp-ruff==2.2.0 +python-lsp-server==1.10.0 pytoolconfig==1.3.1 -pytz==2023.3.post1 +pytz==2024.1 pyyaml==6.0.1 pyzmq==25.1.2 -referencing==0.32.1 +referencing==0.33.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.11.0 -rpds-py==0.16.2 -ruff==0.1.13 +rope==1.12.0 +rpds-py==0.18.0 +ruff==0.3.1 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 -sniffio==1.3.0 +sniffio==1.3.1 snowballstemmer==2.2.0 soupsieve==2.5 sphinx==7.2.6 sphinx-api-relink==0.0.8 -sphinx-autobuild==2021.3.14 -sphinx-book-theme==1.1.0 +sphinx-autobuild==2024.2.4 +sphinx-book-theme==1.1.2 sphinx-codeautolink==0.15.0 sphinx-copybutton==0.5.2 -sphinx-thebe==0.3.0 +sphinx-thebe==0.3.1 sphinx-togglebutton==0.3.2 -sphinxcontrib-applehelp==1.0.7 -sphinxcontrib-devhelp==1.0.5 -sphinxcontrib-htmlhelp==2.0.4 +sphinxcontrib-applehelp==1.0.8 +sphinxcontrib-devhelp==1.0.6 +sphinxcontrib-htmlhelp==2.0.5 sphinxcontrib-jsmath==1.0.1 -sphinxcontrib-qthelp==1.0.6 -sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.25 +sphinxcontrib-qthelp==1.0.7 +sphinxcontrib-serializinghtml==1.1.10 +sqlalchemy==2.0.28 stack-data==0.6.3 tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 tornado==6.4 -tox==4.12.0 +tox==4.14.1 traitlets==5.14.1 types-python-dateutil==2.8.19.20240106 -typing-extensions==4.9.0 -tzdata==2023.4 +typing-extensions==4.10.0 +tzdata==2024.1 ujson==5.9.0 -uproot==5.2.1 +uproot==5.3.1 uri-template==1.3.0 -urllib3==2.1.0 -virtualenv==20.25.0 +urllib3==2.2.1 +virtualenv==20.25.1 wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.7.0 wheel==0.42.0 -widgetsnbextension==4.0.9 +widgetsnbextension==4.0.10 zipp==3.17.0 -# The following packages are considered to be unsafe in a requirements file: -# pawian-tools +# The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index 04fc1f4..b0bdea6 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -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=boostcfg --unsafe-package=pawian --unsafe-package=pawian-tools --unsafe-package=pip --unsafe-package=setuptools -# +# 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 @@ -17,13 +13,13 @@ awkward==2.2.4 awkward-cpp==17 babel==2.14.0 backcall==0.2.0 -beautifulsoup4==4.12.2 +beautifulsoup4==4.12.3 black==23.3.0 bleach==6.0.0 cached-property==1.5.2 -cachetools==5.3.2 +cachetools==5.3.3 cattrs==23.1.2 -certifi==2023.11.17 +certifi==2024.2.2 cffi==1.15.1 cfgv==3.3.1 chardet==5.2.0 @@ -37,7 +33,7 @@ debugpy==1.7.0 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.8 -docstring-to-markdown==0.13 +docstring-to-markdown==0.15 docutils==0.19 entrypoints==0.4 exceptiongroup==1.2.0 @@ -47,7 +43,7 @@ filelock==3.12.2 fonttools==4.38.0 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.41 +gitpython==3.1.42 gprof2dot==2022.7.29 greenlet==3.0.3 identify==2.5.24 @@ -59,12 +55,12 @@ iniconfig==2.0.0 ipykernel==6.16.2 ipython==7.34.0 ipython-genutils==0.2.0 -ipywidgets==8.1.1 +ipywidgets==8.1.2 isoduration==20.11.0 isort==5.11.5 jedi==0.18.2 jinja2==3.1.3 -json5==0.9.14 +json5==0.9.16 jsonpointer==2.4 jsonschema==4.17.3 jupyter-cache==0.5.0 @@ -77,19 +73,19 @@ jupyter-server-fileid==0.9.1 jupyter-server-mathjax==0.2.6 jupyter-server-ydoc==0.8.0 jupyter-ydoc==0.2.5 -jupyterlab==3.6.6 +jupyterlab==3.6.7 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.44.0 jupyterlab-lsp==3.10.2 jupyterlab-myst==1.2.0 jupyterlab-pygments==0.2.2 jupyterlab-server==2.24.0 -jupyterlab-widgets==3.0.9 +jupyterlab-widgets==3.0.10 kiwisolver==1.4.5 livereload==2.6.3 lsprotocol==2023.0.1 markdown-it-py==2.2.0 -markupsafe==2.1.3 +markupsafe==2.1.5 matplotlib==3.5.3 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 @@ -105,14 +101,14 @@ nbconvert==7.6.0 nbdime==3.2.1 nbformat==5.8.0 nbmake==1.3.0 -nest-asyncio==1.5.8 +nest-asyncio==1.6.0 nodeenv==1.8.0 notebook==6.5.6 -notebook-shim==0.2.3 +notebook-shim==0.2.4 numpy==1.21.6 packaging==23.2 -pandas==1.3.5 -pandocfilters==1.5.0 +pandas==1.1.5 +pandocfilters==1.5.1 parso==0.8.3 pathspec==0.11.2 pexpect==4.9.0 @@ -124,37 +120,37 @@ pluggy==1.2.0 pre-commit==2.21.0 prometheus-client==0.17.1 prompt-toolkit==3.0.43 -psutil==5.9.7 +psutil==5.9.8 ptyprocess==0.7.0 pycparser==2.21 -pydantic==1.10.13 +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-dateutil==2.8.2 +python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.0.0 python-lsp-ruff==1.6.0 python-lsp-server==1.7.4 pytoolconfig==1.3.0 -pytz==2023.3.post1 +pytz==2024.1 pyyaml==6.0.1 pyzmq==24.0.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.9.0 -ruff==0.1.13 +ruff==0.1.15 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 -sniffio==1.3.0 +sniffio==1.3.1 snowballstemmer==2.2.0 soupsieve==2.4.1 sphinx==5.3.0 @@ -171,7 +167,7 @@ sphinxcontrib-htmlhelp==2.0.0 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 -sqlalchemy==1.4.51 +sqlalchemy==1.4.52 tabulate==0.9.0 terminado==0.17.1 tinycss2==1.2.1 @@ -185,17 +181,16 @@ ujson==5.7.0 uproot==5.0.13 uri-template==1.3.0 urllib3==2.0.7 -virtualenv==20.25.0 +virtualenv==20.25.1 wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.1 wheel==0.42.0 -widgetsnbextension==4.0.9 +widgetsnbextension==4.0.10 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: -# pawian-tools +# The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 7a82560..bbd039c 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -1,28 +1,24 @@ -# -# 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=boostcfg --unsafe-package=pawian --unsafe-package=pawian-tools --unsafe-package=pip --unsafe-package=setuptools -# +# This file was autogenerated by uv via the following command: +# uv pip compile pyproject.toml -o .constraints/py3.8.txt --all-extras --no-annotate --python-version=3.8 --no-emit-package setuptools accessible-pygments==0.0.4 alabaster==0.7.13 -anyio==4.2.0 +anyio==4.3.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.2.0 -awkward==2.5.1 -awkward-cpp==27 +awkward==2.6.2 +awkward-cpp==30 babel==2.14.0 backcall==0.2.0 -beautifulsoup4==4.12.2 -black==23.12.1 +beautifulsoup4==4.12.3 +black==24.2.0 bleach==6.1.0 -cachetools==5.3.2 +cachetools==5.3.3 cattrs==23.2.3 -certifi==2023.11.17 +certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 @@ -31,65 +27,69 @@ click==8.1.7 colorama==0.4.6 comm==0.2.1 contourpy==1.1.1 -coverage==7.4.0 +coverage==7.4.3 +cramjam==2.8.2 cycler==0.12.1 -debugpy==1.8.0 +debugpy==1.8.1 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.8 -docstring-to-markdown==0.13 +docstring-to-markdown==0.15 docutils==0.19 exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.47.2 +fonttools==4.49.0 fqdn==1.5.1 -fsspec==2023.12.2 +fsspec==2024.2.0 gitdb==4.0.11 -gitpython==3.1.41 +gitpython==3.1.42 gprof2dot==2022.7.29 greenlet==3.0.3 -identify==2.5.33 +h11==0.14.0 +httpcore==1.0.4 +httpx==0.27.0 +identify==2.5.35 idna==3.6 imagesize==1.4.1 importlib-metadata==7.0.1 -importlib-resources==6.1.1 +importlib-resources==6.1.2 iniconfig==2.0.0 -ipykernel==6.28.0 +ipykernel==6.29.3 ipython==8.12.3 -ipywidgets==8.1.1 +ipywidgets==8.1.2 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 jinja2==3.1.3 -json5==0.9.14 +json5==0.9.22 jsonpointer==2.4 -jsonschema==4.20.0 +jsonschema==4.21.1 jsonschema-specifications==2023.12.1 jupyter-cache==0.6.1 jupyter-client==8.6.0 jupyter-core==5.7.1 jupyter-events==0.9.0 -jupyter-lsp==2.2.1 -jupyter-server==2.12.4 +jupyter-lsp==2.2.4 +jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.5.1 -jupyterlab==4.0.10 +jupyter-server-terminals==0.5.2 +jupyterlab==4.1.3 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 -jupyterlab-lsp==5.0.1 -jupyterlab-myst==2.1.0 +jupyterlab-lsp==5.1.0 +jupyterlab-myst==2.3.1 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.25.2 -jupyterlab-widgets==3.0.9 +jupyterlab-server==2.25.3 +jupyterlab-widgets==3.0.10 kiwisolver==1.4.5 livereload==2.6.3 lsprotocol==2023.0.1 markdown-it-py==2.2.0 -markupsafe==2.1.3 -matplotlib==3.7.4 +markupsafe==2.1.5 +matplotlib==3.7.5 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 @@ -99,61 +99,61 @@ mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.6.8 -nbconvert==7.14.1 +nbconvert==7.16.2 nbdime==4.0.1 nbformat==5.9.2 -nbmake==1.4.6 -nest-asyncio==1.5.8 +nbmake==1.5.2 +nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook-shim==0.2.3 +notebook-shim==0.2.4 numpy==1.24.4 -overrides==7.4.0 +overrides==7.7.0 packaging==23.2 pandas==2.0.3 -pandocfilters==1.5.0 +pandocfilters==1.5.1 parso==0.8.3 pathspec==0.12.1 pexpect==4.9.0 pickleshare==0.7.5 pillow==10.2.0 pkgutil-resolve-name==1.3.10 -platformdirs==4.1.0 -pluggy==1.3.0 +platformdirs==4.2.0 +pluggy==1.4.0 pre-commit==3.5.0 -prometheus-client==0.19.0 +prometheus-client==0.20.0 prompt-toolkit==3.0.43 -psutil==5.9.7 +psutil==5.9.8 ptyprocess==0.7.0 pure-eval==0.2.2 pycparser==2.21 pydata-sphinx-theme==0.14.4 pygments==2.17.2 -pyparsing==3.1.1 +pyparsing==3.1.2 pyproject-api==1.6.1 -pytest==7.4.4 +pytest==8.0.2 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.2 -python-lsp-server==1.9.0 +python-lsp-ruff==2.2.0 +python-lsp-server==1.10.0 pytoolconfig==1.3.1 -pytz==2023.3.post1 +pytz==2024.1 pyyaml==6.0.1 pyzmq==25.1.2 -referencing==0.32.1 +referencing==0.33.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.11.0 -rpds-py==0.16.2 -ruff==0.1.13 +rope==1.12.0 +rpds-py==0.18.0 +ruff==0.3.1 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 -sniffio==1.3.0 +sniffio==1.3.1 snowballstemmer==2.2.0 soupsieve==2.5 sphinx==5.3.0 @@ -162,7 +162,7 @@ sphinx-autobuild==2021.3.14 sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 sphinx-copybutton==0.5.2 -sphinx-thebe==0.3.0 +sphinx-thebe==0.3.1 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.4 sphinxcontrib-devhelp==1.0.2 @@ -170,31 +170,30 @@ sphinxcontrib-htmlhelp==2.0.1 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 -sqlalchemy==2.0.25 +sqlalchemy==2.0.28 stack-data==0.6.3 tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 tornado==6.4 -tox==4.12.0 +tox==4.14.1 traitlets==5.14.1 types-python-dateutil==2.8.19.20240106 -typing-extensions==4.9.0 -tzdata==2023.4 +typing-extensions==4.10.0 +tzdata==2024.1 ujson==5.9.0 -uproot==5.2.1 +uproot==5.3.1 uri-template==1.3.0 -urllib3==2.1.0 -virtualenv==20.25.0 +urllib3==2.2.1 +virtualenv==20.25.1 wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.7.0 wheel==0.42.0 -widgetsnbextension==4.0.9 +widgetsnbextension==4.0.10 zipp==3.17.0 -# The following packages are considered to be unsafe in a requirements file: -# pawian-tools +# The following packages were excluded from the output: # setuptools diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 8563c59..07264ec 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -1,27 +1,23 @@ -# -# 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=boostcfg --unsafe-package=pawian --unsafe-package=pawian-tools --unsafe-package=pip --unsafe-package=setuptools -# +# This file was autogenerated by uv via the following command: +# uv pip compile pyproject.toml -o .constraints/py3.9.txt --all-extras --no-annotate --python-version=3.9 --no-emit-package setuptools accessible-pygments==0.0.4 alabaster==0.7.16 -anyio==4.2.0 +anyio==4.3.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.2.0 -awkward==2.5.1 -awkward-cpp==27 +awkward==2.6.2 +awkward-cpp==30 babel==2.14.0 -beautifulsoup4==4.12.2 -black==23.12.1 +beautifulsoup4==4.12.3 +black==24.2.0 bleach==6.1.0 -cachetools==5.3.2 +cachetools==5.3.3 cattrs==23.2.3 -certifi==2023.11.17 +certifi==2024.2.2 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 @@ -30,65 +26,69 @@ click==8.1.7 colorama==0.4.6 comm==0.2.1 contourpy==1.2.0 -coverage==7.4.0 +coverage==7.4.3 +cramjam==2.8.2 cycler==0.12.1 -debugpy==1.8.0 +debugpy==1.8.1 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.8 -docstring-to-markdown==0.13 +docstring-to-markdown==0.15 docutils==0.20.1 exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.47.2 +fonttools==4.49.0 fqdn==1.5.1 -fsspec==2023.12.2 +fsspec==2024.2.0 gitdb==4.0.11 -gitpython==3.1.41 +gitpython==3.1.42 gprof2dot==2022.7.29 greenlet==3.0.3 -identify==2.5.33 +h11==0.14.0 +httpcore==1.0.4 +httpx==0.27.0 +identify==2.5.35 idna==3.6 imagesize==1.4.1 importlib-metadata==7.0.1 -importlib-resources==6.1.1 +importlib-resources==6.1.2 iniconfig==2.0.0 -ipykernel==6.28.0 +ipykernel==6.29.3 ipython==8.18.1 -ipywidgets==8.1.1 +ipywidgets==8.1.2 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 jinja2==3.1.3 -json5==0.9.14 +json5==0.9.22 jsonpointer==2.4 -jsonschema==4.20.0 +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.1 -jupyter-server==2.12.4 +jupyter-lsp==2.2.4 +jupyter-server==2.13.0 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.5.1 -jupyterlab==4.0.10 +jupyter-server-terminals==0.5.2 +jupyterlab==4.1.3 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 -jupyterlab-lsp==5.0.1 -jupyterlab-myst==2.1.0 +jupyterlab-lsp==5.1.0 +jupyterlab-myst==2.3.1 jupyterlab-pygments==0.3.0 -jupyterlab-server==2.25.2 -jupyterlab-widgets==3.0.9 +jupyterlab-server==2.25.3 +jupyterlab-widgets==3.0.10 kiwisolver==1.4.5 livereload==2.6.3 lsprotocol==2023.0.1 markdown-it-py==3.0.0 -markupsafe==2.1.3 -matplotlib==3.8.2 +markupsafe==2.1.5 +matplotlib==3.8.3 matplotlib-inline==0.1.6 mdit-py-plugins==0.4.0 mdurl==0.1.2 @@ -98,100 +98,99 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.14.1 +nbconvert==7.16.2 nbdime==4.0.1 nbformat==5.9.2 -nbmake==1.4.6 -nest-asyncio==1.5.8 +nbmake==1.5.2 +nest-asyncio==1.6.0 nodeenv==1.8.0 -notebook-shim==0.2.3 -numpy==1.26.3 -overrides==7.4.0 +notebook-shim==0.2.4 +numpy==1.26.4 +overrides==7.7.0 packaging==23.2 -pandas==2.1.4 -pandocfilters==1.5.0 +pandas==2.2.1 +pandocfilters==1.5.1 parso==0.8.3 pathspec==0.12.1 pexpect==4.9.0 pillow==10.2.0 -platformdirs==4.1.0 -pluggy==1.3.0 -pre-commit==3.6.0 -prometheus-client==0.19.0 +platformdirs==4.2.0 +pluggy==1.4.0 +pre-commit==3.6.2 +prometheus-client==0.20.0 prompt-toolkit==3.0.43 -psutil==5.9.7 +psutil==5.9.8 ptyprocess==0.7.0 pure-eval==0.2.2 pycparser==2.21 -pydata-sphinx-theme==0.15.1 +pydata-sphinx-theme==0.15.2 pygments==2.17.2 -pyparsing==3.1.1 +pyparsing==3.1.2 pyproject-api==1.6.1 -pytest==7.4.4 +pytest==8.0.2 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.2 -python-lsp-server==1.9.0 +python-lsp-ruff==2.2.0 +python-lsp-server==1.10.0 pytoolconfig==1.3.1 -pytz==2023.3.post1 +pytz==2024.1 pyyaml==6.0.1 pyzmq==25.1.2 -referencing==0.32.1 +referencing==0.33.0 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.11.0 -rpds-py==0.16.2 -ruff==0.1.13 +rope==1.12.0 +rpds-py==0.18.0 +ruff==0.3.1 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 -sniffio==1.3.0 +sniffio==1.3.1 snowballstemmer==2.2.0 soupsieve==2.5 sphinx==7.2.6 sphinx-api-relink==0.0.8 -sphinx-autobuild==2021.3.14 -sphinx-book-theme==1.1.0 +sphinx-autobuild==2024.2.4 +sphinx-book-theme==1.1.2 sphinx-codeautolink==0.15.0 sphinx-copybutton==0.5.2 -sphinx-thebe==0.3.0 +sphinx-thebe==0.3.1 sphinx-togglebutton==0.3.2 -sphinxcontrib-applehelp==1.0.7 -sphinxcontrib-devhelp==1.0.5 -sphinxcontrib-htmlhelp==2.0.4 +sphinxcontrib-applehelp==1.0.8 +sphinxcontrib-devhelp==1.0.6 +sphinxcontrib-htmlhelp==2.0.5 sphinxcontrib-jsmath==1.0.1 -sphinxcontrib-qthelp==1.0.6 -sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.25 +sphinxcontrib-qthelp==1.0.7 +sphinxcontrib-serializinghtml==1.1.10 +sqlalchemy==2.0.28 stack-data==0.6.3 tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 tornado==6.4 -tox==4.12.0 +tox==4.14.1 traitlets==5.14.1 types-python-dateutil==2.8.19.20240106 -typing-extensions==4.9.0 -tzdata==2023.4 +typing-extensions==4.10.0 +tzdata==2024.1 ujson==5.9.0 -uproot==5.2.1 +uproot==5.3.1 uri-template==1.3.0 -urllib3==2.1.0 -virtualenv==20.25.0 +urllib3==2.2.1 +virtualenv==20.25.1 wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.7.0 wheel==0.42.0 -widgetsnbextension==4.0.9 +widgetsnbextension==4.0.10 zipp==3.17.0 -# The following packages are considered to be unsafe in a requirements file: -# pawian-tools +# The following packages were excluded from the output: # setuptools diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 80fa6d9..fc9e12f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,7 +32,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/psf/black-pre-commit-mirror - rev: 23.12.1 + rev: 24.2.0 hooks: - id: black - id: black-jupyter @@ -42,7 +42,7 @@ repos: - jupyter - repo: https://github.com/ComPWA/policy - rev: 0.2.0 + rev: 0.2.6 hooks: - id: check-dev-files args: @@ -52,7 +52,7 @@ repos: - --repo-title=Pawian Tools - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v8.3.0 + rev: v8.6.0 hooks: - id: cspell @@ -78,7 +78,7 @@ repos: - python - repo: https://github.com/kynan/nbstripout - rev: 0.6.1 + rev: 0.7.1 hooks: - id: nbstripout args: @@ -108,12 +108,12 @@ repos: - id: prettier - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.345 + rev: v1.1.352 hooks: - id: pyright - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.13 + rev: v0.3.1 hooks: - id: ruff args: [--fix] From c183d4ee58ffdb3a84ee6c4b3052021ff45c25fa Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 7 Mar 2024 09:31:53 +0000 Subject: [PATCH 2/8] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .github/dependabot.yml | 10 --- .github/workflows/ci.yml | 3 +- .github/workflows/release-drafter.yml | 2 +- .github/workflows/requirements.yml | 3 +- .gitpod.yml | 8 +- .pre-commit-config.yaml | 104 ++++++++++++-------------- .vscode/extensions.json | 8 +- .vscode/settings.json | 35 +++++++-- README.md | 1 - docs/conf.py | 24 +++--- environment.yml | 4 +- pyproject.toml | 63 +++++++--------- src/boostcfg/lineparser.py | 2 +- tests/boostcfg/test_boostcfg.py | 2 +- 14 files changed, 130 insertions(+), 139 deletions(-) delete mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index a1322e2..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,10 +0,0 @@ -version: 2 -updates: - - package-ecosystem: github-actions - directory: "/" - assignees: - - redeboer - labels: - - 🖱️ DX - schedule: - interval: monthly diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 24fea69..2c5622c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,8 @@ name: CI concurrency: group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true + cancel-in-progress: |- + ${{ github.ref != format('refs/heads/{0}', github.event.repository.default_branch) }} env: PYTHONHASHSEED: "0" diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index d64f197..5234093 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -11,6 +11,6 @@ jobs: update_release_draft: runs-on: ubuntu-22.04 steps: - - uses: release-drafter/release-drafter@v5 + - uses: release-drafter/release-drafter@v6 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/requirements.yml b/.github/workflows/requirements.yml index b2562f2..ec42f28 100644 --- a/.github/workflows/requirements.yml +++ b/.github/workflows/requirements.yml @@ -2,7 +2,8 @@ name: Requirements concurrency: group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true + cancel-in-progress: |- + ${{ github.ref != format('refs/heads/{0}', github.event.repository.default_branch) }} on: pull_request: diff --git a/.gitpod.yml b/.gitpod.yml index 3aab122..29d758d 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,6 +1,6 @@ tasks: - - init: pyenv local 3.8 - - init: pip install -c .constraints/py3.8.txt -e .[dev] + - init: pyenv local 3.9 + - init: pip install -c .constraints/py3.9.txt -e .[dev] github: prebuilds: @@ -22,7 +22,6 @@ vscode: - executablebookproject.myst-highlight - 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 @@ -31,10 +30,9 @@ vscode: - ms-vsliveshare.vsliveshare - redhat.vscode-yaml - ryanluker.vscode-coverage-gutters - - Soulcode.vscode-unwanted-extensions + - soulcode.vscode-unwanted-extensions - stkb.rewrap - streetsidesoftware.code-spell-checker - tamasfe.even-better-toml - trentrand.git-commit-helper-vscode - - tyriar.sort-lines - yzhang.markdown-all-in-one diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fc9e12f..60414cb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,6 +13,40 @@ repos: - id: check-hooks-apply - id: check-useless-excludes + - repo: https://github.com/kynan/nbstripout + rev: 0.7.1 + hooks: + - id: nbstripout + args: + - --extra-keys + - | + cell.attachments + cell.metadata.code_folding + cell.metadata.id + cell.metadata.pycharm + cell.metadata.user_expressions + metadata.celltoolbar + metadata.colab.name + metadata.colab.provenance + metadata.interpreter + metadata.notify_time + metadata.toc + metadata.toc-autonumbering + metadata.toc-showcode + metadata.toc-showmarkdowntxt + metadata.toc-showtags + metadata.varInspector + metadata.vscode + + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.3.1 + hooks: + - id: ruff + args: [--fix] + types_or: [python, pyi, jupyter] + - id: ruff-format + types_or: [python, pyi, jupyter] + - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 hooks: @@ -31,16 +65,22 @@ repos: args: ["--django"] - id: trailing-whitespace - - repo: https://github.com/psf/black-pre-commit-mirror - rev: 24.2.0 + - repo: https://github.com/pre-commit/mirrors-prettier + rev: v4.0.0-alpha.8 hooks: - - id: black - - id: black-jupyter - args: - - --line-length=85 - types_or: - - jupyter + - id: prettier + + - repo: https://github.com/ComPWA/mirrors-taplo + rev: v0.8.1 + hooks: + - id: taplo + - repo: https://github.com/pappasam/toml-sort + rev: v0.23.1 + hooks: + - id: toml-sort + args: + - --in-place - repo: https://github.com/ComPWA/policy rev: 0.2.6 hooks: @@ -77,56 +117,8 @@ repos: types: - python - - repo: https://github.com/kynan/nbstripout - rev: 0.7.1 - hooks: - - id: nbstripout - args: - - --extra-keys - - | - cell.attachments - cell.metadata.code_folding - cell.metadata.id - cell.metadata.pycharm - cell.metadata.user_expressions - metadata.celltoolbar - metadata.colab.name - metadata.colab.provenance - metadata.interpreter - metadata.notify_time - metadata.toc - metadata.toc-autonumbering - metadata.toc-showcode - metadata.toc-showmarkdowntxt - metadata.toc-showtags - metadata.varInspector - metadata.vscode - - - repo: https://github.com/pre-commit/mirrors-prettier - rev: v4.0.0-alpha.8 - hooks: - - id: prettier - - repo: https://github.com/ComPWA/mirrors-pyright rev: v1.1.352 hooks: - id: pyright - - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.3.1 - hooks: - - id: ruff - args: [--fix] - types_or: [python, pyi, jupyter] - - - repo: https://github.com/ComPWA/mirrors-taplo - rev: v0.8.1 - hooks: - - id: taplo - - - repo: https://github.com/pappasam/toml-sort - rev: v0.23.1 - hooks: - - id: toml-sort - args: - - --in-place diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 65d9a54..82d6e46 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -8,7 +8,6 @@ "executablebookproject.myst-highlight", "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", @@ -17,21 +16,22 @@ "ms-vsliveshare.vsliveshare", "redhat.vscode-yaml", "ryanluker.vscode-coverage-gutters", - "Soulcode.vscode-unwanted-extensions", + "soulcode.vscode-unwanted-extensions", "stkb.rewrap", "streetsidesoftware.code-spell-checker", "tamasfe.even-better-toml", "trentrand.git-commit-helper-vscode", - "tyriar.sort-lines", "yzhang.markdown-all-in-one" ], "unwantedRecommendations": [ "bungcip.better-toml", "davidanson.vscode-markdownlint", "garaioag.garaio-vscode-unwanted-recommendations", + "ms-python.black-formatter", "ms-python.flake8", "ms-python.isort", "ms-python.pylint", - "travisillig.vscode-json-stable-stringify" + "travisillig.vscode-json-stable-stringify", + "tyriar.sort-lines" ] } diff --git a/.vscode/settings.json b/.vscode/settings.json index 0b14d0d..5aa7320 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,8 @@ { "[git-commit]": { - "editor.rulers": [72], + "editor.rulers": [ + 72 + ], "rewrap.wrappingColumn": 72 }, "[ipynb]": { @@ -19,14 +21,17 @@ "editor.codeActionsOnSave": { "source.organizeImports": "explicit" }, - "editor.defaultFormatter": "ms-python.black-formatter", - "editor.rulers": [88] + "editor.defaultFormatter": "charliermarsh.ruff", + "editor.rulers": [ + 88 + ] }, "[yaml]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, - "black-formatter.importStrategy": "fromEnvironment", - "coverage-gutters.coverageFileNames": ["coverage.xml"], + "coverage-gutters.coverageFileNames": [ + "coverage.xml" + ], "coverage-gutters.coverageReportFileName": "**/htmlcov/index.html", "coverage-gutters.showGutterCoverage": false, "coverage-gutters.showLineCoverage": true, @@ -34,28 +39,42 @@ "diffEditor.experimental.showMoves": true, "editor.formatOnSave": true, "git.rebaseWhenSync": true, - "github-actions.workflows.pinned.workflows": [".github/workflows/ci.yml"], + "github-actions.workflows.pinned.workflows": [ + ".github/workflows/ci.yml" + ], "gitlens.telemetry.enabled": false, "livePreview.defaultPreviewPath": "docs/_build/html", "multiDiffEditor.experimental.enabled": true, - "mypy-type-checker.args": ["--config-file=${workspaceFolder}/pyproject.toml"], + "mypy-type-checker.args": [ + "--config-file=${workspaceFolder}/pyproject.toml" + ], "mypy-type-checker.importStrategy": "fromEnvironment", + "notebook.codeActionsOnSave": { + "notebook.source.organizeImports": "explicit" + }, + "notebook.formatOnSave.enabled": true, "notebook.gotoSymbols.showAllSymbols": true, "python.analysis.autoImportCompletions": false, "python.analysis.inlayHints.pytestParameters": true, "python.analysis.typeCheckingMode": "strict", "python.languageServer": "Pylance", - "python.testing.pytestArgs": ["--color=no", "--no-cov"], + "python.testing.pytestArgs": [ + "--color=no", + "--no-cov" + ], "python.testing.pytestEnabled": true, "python.testing.unittestEnabled": false, + "redhat.telemetry.enabled": false, "rewrap.wrappingColumn": 88, "ruff.enable": true, + "ruff.importStrategy": "fromEnvironment", "ruff.organizeImports": true, "search.exclude": { "*/.pydocstyle": true, ".constraints/*.txt": true, "tests/**/__init__.py": true }, + "telemetry.telemetryLevel": "off", "yaml.schemas": { "https://json.schemastore.org/github-workflow.json": "file:///home/redeboer/dev/redeboer/PawianTools/.github/workflows/requirements.yml" } diff --git a/README.md b/README.md index faa9205..a42b62a 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,6 @@
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen)](https://github.com/pre-commit/pre-commit) [![Prettier](https://camo.githubusercontent.com/687a8ae8d15f9409617d2cc5a30292a884f6813a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f64655f7374796c652d70726574746965722d6666363962342e7376673f7374796c653d666c61742d737175617265)](https://prettier.io/) -[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) Go to [redeboer.github.io/PawianTools](https://redeboer.github.io/PawianTools) to view diff --git a/docs/conf.py b/docs/conf.py index 66a2379..3fed0ba 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -15,12 +15,14 @@ set_intersphinx_version_remapping, ) -set_intersphinx_version_remapping({ - "ipython": { - "8.12.2": "8.12.1", - "8.12.3": "8.12.1", - }, -}) +set_intersphinx_version_remapping( + { + "ipython": { + "8.12.2": "8.12.1", + "8.12.3": "8.12.1", + }, + } +) BRANCH = get_branch_name() ORGANIZATION = "redeboer" @@ -45,10 +47,12 @@ "members": True, "undoc-members": True, "show-inheritance": True, - "special-members": ", ".join([ - "__call__", - "__eq__", - ]), + "special-members": ", ".join( + [ + "__call__", + "__eq__", + ] + ), } autodoc_member_order = "bysource" autodoc_typehints_format = "short" diff --git a/environment.yml b/environment.yml index 0610a07..7c4effc 100644 --- a/environment.yml +++ b/environment.yml @@ -4,8 +4,8 @@ channels: dependencies: - graphviz # for binder - pip - - python==3.8.* + - python==3.9.* - pip: - - -c .constraints/py3.8.txt -e .[dev] + - -c .constraints/py3.9.txt -e .[dev] variables: PRETTIER_LEGACY_CLI: "1" diff --git a/pyproject.toml b/pyproject.toml index 21d5d58..6710377 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -68,17 +68,14 @@ doc = [ "sphinx-thebe", "sphinx-togglebutton", ] -format = [ - "black", -] jupyter = [ + "black", "isort", "jupyterlab", "jupyterlab-code-formatter", "jupyterlab-git", "jupyterlab-lsp", "jupyterlab-myst", - "jupyterlab-myst", "python-lsp-ruff", "python-lsp-server[rope]", ] @@ -93,8 +90,9 @@ lint = [ sty = [ "pawian-tools[format]", "pawian-tools[lint]", - "pawian-tools[test]", # for pytest type hints + "pawian-tools[test]", "pre-commit", + "ruff", ] test = [ "nbmake", @@ -128,31 +126,6 @@ where = ["src"] [tool.setuptools_scm] write_to = "src/pawian/version.py" -[tool.black] -exclude = ''' -/( - .*\.egg-info - | .*build - | \.eggs - | \.git - | \.pytest_cache - | \.tox - | \.venv - | \.vscode - | dist -)/ -''' -include = '\.pyi?$' -preview = true -target-version = [ - "py310", - "py311", - "py312", - "py37", - "py38", - "py39", -] - [tool.coverage.report] exclude_also = [ "if TYPE_CHECKING:", @@ -251,6 +224,19 @@ testpaths = [ [tool.ruff] extend-include = ["*.ipynb"] +preview = true +show-fixes = true +src = [ + "src", + "tests", +] +target-version = "py37" + +[tool.ruff.format] +docstring-code-format = true +line-ending = "lf" + +[tool.ruff.lint] extend-select = [ "A", "B", @@ -294,18 +280,17 @@ ignore = [ "D407", "D416", "E501", + "ISC001", + "PLW1514", "SIM108", "UP036", ] -show-fixes = true -src = [ - "src", - "tests", -] -target-version = "py37" task-tags = ["cspell"] -[tool.ruff.per-file-ignores] +[tool.ruff.lint.isort] +split-on-trailing-comma = false + +[tool.ruff.lint.per-file-ignores] "*.ipynb" = [ "B018", "C90", @@ -339,13 +324,15 @@ task-tags = ["cspell"] "D", "INP001", "PGH001", + "PLC2701", "PLR0913", "PLR2004", + "PLR6301", "S101", "T20", ] -[tool.ruff.pydocstyle] +[tool.ruff.lint.pydocstyle] convention = "google" [tool.tomlsort] diff --git a/src/boostcfg/lineparser.py b/src/boostcfg/lineparser.py index 31a8681..caff38f 100644 --- a/src/boostcfg/lineparser.py +++ b/src/boostcfg/lineparser.py @@ -6,8 +6,8 @@ "get_key_value_pair", "is_commented", "is_empty", - "strip_comment", "string_to_value", + "strip_comment", ] diff --git a/tests/boostcfg/test_boostcfg.py b/tests/boostcfg/test_boostcfg.py index 2138657..bcd7a87 100644 --- a/tests/boostcfg/test_boostcfg.py +++ b/tests/boostcfg/test_boostcfg.py @@ -15,7 +15,7 @@ def test_append_value_from_line(): cfg.append_value_from_line("true_bool = true") assert cfg["key"] == "value" assert cfg["float"] == 3.14 - assert cfg["int"] == int(-11) + assert cfg["int"] == -11 assert not cfg["false_bool"] assert cfg["true_bool"] cfg.append_value_from_line("key = value") From 9a5c5d2bcd52c929fe5b9ec1cce52a663527b93b Mon Sep 17 00:00:00 2001 From: GitHub Date: Thu, 7 Mar 2024 09:33:29 +0000 Subject: [PATCH 3/8] MAINT: implement updates from pre-commit hooks --- .pre-commit-config.yaml | 1 - .vscode/settings.json | 25 ++++++------------------- 2 files changed, 6 insertions(+), 20 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 60414cb..fd12d72 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -121,4 +121,3 @@ repos: rev: v1.1.352 hooks: - id: pyright - diff --git a/.vscode/settings.json b/.vscode/settings.json index 5aa7320..702f3f3 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,8 +1,6 @@ { "[git-commit]": { - "editor.rulers": [ - 72 - ], + "editor.rulers": [72], "rewrap.wrappingColumn": 72 }, "[ipynb]": { @@ -22,16 +20,12 @@ "source.organizeImports": "explicit" }, "editor.defaultFormatter": "charliermarsh.ruff", - "editor.rulers": [ - 88 - ] + "editor.rulers": [88] }, "[yaml]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, - "coverage-gutters.coverageFileNames": [ - "coverage.xml" - ], + "coverage-gutters.coverageFileNames": ["coverage.xml"], "coverage-gutters.coverageReportFileName": "**/htmlcov/index.html", "coverage-gutters.showGutterCoverage": false, "coverage-gutters.showLineCoverage": true, @@ -39,15 +33,11 @@ "diffEditor.experimental.showMoves": true, "editor.formatOnSave": true, "git.rebaseWhenSync": true, - "github-actions.workflows.pinned.workflows": [ - ".github/workflows/ci.yml" - ], + "github-actions.workflows.pinned.workflows": [".github/workflows/ci.yml"], "gitlens.telemetry.enabled": false, "livePreview.defaultPreviewPath": "docs/_build/html", "multiDiffEditor.experimental.enabled": true, - "mypy-type-checker.args": [ - "--config-file=${workspaceFolder}/pyproject.toml" - ], + "mypy-type-checker.args": ["--config-file=${workspaceFolder}/pyproject.toml"], "mypy-type-checker.importStrategy": "fromEnvironment", "notebook.codeActionsOnSave": { "notebook.source.organizeImports": "explicit" @@ -58,10 +48,7 @@ "python.analysis.inlayHints.pytestParameters": true, "python.analysis.typeCheckingMode": "strict", "python.languageServer": "Pylance", - "python.testing.pytestArgs": [ - "--color=no", - "--no-cov" - ], + "python.testing.pytestArgs": ["--color=no", "--no-cov"], "python.testing.pytestEnabled": true, "python.testing.unittestEnabled": false, "redhat.telemetry.enabled": false, From b2555dde98a4d88e3d9373119f484a82551ac116 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 7 Mar 2024 09:33:44 +0000 Subject: [PATCH 4/8] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/conf.py | 24 ++++++++++-------------- src/pawian/latex.py | 1 - 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 3fed0ba..66a2379 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -15,14 +15,12 @@ set_intersphinx_version_remapping, ) -set_intersphinx_version_remapping( - { - "ipython": { - "8.12.2": "8.12.1", - "8.12.3": "8.12.1", - }, - } -) +set_intersphinx_version_remapping({ + "ipython": { + "8.12.2": "8.12.1", + "8.12.3": "8.12.1", + }, +}) BRANCH = get_branch_name() ORGANIZATION = "redeboer" @@ -47,12 +45,10 @@ "members": True, "undoc-members": True, "show-inheritance": True, - "special-members": ", ".join( - [ - "__call__", - "__eq__", - ] - ), + "special-members": ", ".join([ + "__call__", + "__eq__", + ]), } autodoc_member_order = "bysource" autodoc_typehints_format = "short" diff --git a/src/pawian/latex.py b/src/pawian/latex.py index bf52390..93c9d77 100644 --- a/src/pawian/latex.py +++ b/src/pawian/latex.py @@ -2,7 +2,6 @@ """Functions that help converting strings to LaTeX syntax.""" - import re # regex __PARTICLES = ["D", "pi", "pion", "eta", "rho"] From fc90bdf080816f02b25551eeefbea647d58e98b4 Mon Sep 17 00:00:00 2001 From: GitHub Date: Thu, 7 Mar 2024 13:37:06 +0000 Subject: [PATCH 5/8] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 4 ++-- .constraints/py3.11.txt | 4 ++-- .constraints/py3.12.txt | 4 ++-- .constraints/py3.8.txt | 6 +++--- .constraints/py3.9.txt | 6 +++--- .pre-commit-config.yaml | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index dadf112..976e6a1 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -53,7 +53,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 ipython==8.22.2 @@ -100,7 +100,7 @@ nbclient==0.6.8 nbconvert==7.16.2 nbdime==4.0.1 nbformat==5.9.2 -nbmake==1.5.2 +nbmake==1.5.3 nest-asyncio==1.6.0 nodeenv==1.8.0 notebook-shim==0.2.4 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index a8364dc..0404420 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -52,7 +52,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 ipython==8.22.2 @@ -99,7 +99,7 @@ nbclient==0.6.8 nbconvert==7.16.2 nbdime==4.0.1 nbformat==5.9.2 -nbmake==1.5.2 +nbmake==1.5.3 nest-asyncio==1.6.0 nodeenv==1.8.0 notebook-shim==0.2.4 diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt index cae1d53..5686052 100644 --- a/.constraints/py3.12.txt +++ b/.constraints/py3.12.txt @@ -52,7 +52,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 ipython==8.22.2 @@ -99,7 +99,7 @@ nbclient==0.6.8 nbconvert==7.16.2 nbdime==4.0.1 nbformat==5.9.2 -nbmake==1.5.2 +nbmake==1.5.3 nest-asyncio==1.6.0 nodeenv==1.8.0 notebook-shim==0.2.4 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index bbd039c..5c5fc2a 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -54,8 +54,8 @@ httpx==0.27.0 identify==2.5.35 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.1 -importlib-resources==6.1.2 +importlib-metadata==7.0.2 +importlib-resources==6.1.3 iniconfig==2.0.0 ipykernel==6.29.3 ipython==8.12.3 @@ -102,7 +102,7 @@ nbclient==0.6.8 nbconvert==7.16.2 nbdime==4.0.1 nbformat==5.9.2 -nbmake==1.5.2 +nbmake==1.5.3 nest-asyncio==1.6.0 nodeenv==1.8.0 notebook-shim==0.2.4 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 07264ec..07493f0 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -53,8 +53,8 @@ httpx==0.27.0 identify==2.5.35 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.1 -importlib-resources==6.1.2 +importlib-metadata==7.0.2 +importlib-resources==6.1.3 iniconfig==2.0.0 ipykernel==6.29.3 ipython==8.18.1 @@ -101,7 +101,7 @@ nbclient==0.6.8 nbconvert==7.16.2 nbdime==4.0.1 nbformat==5.9.2 -nbmake==1.5.2 +nbmake==1.5.3 nest-asyncio==1.6.0 nodeenv==1.8.0 notebook-shim==0.2.4 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fd12d72..817c167 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -82,7 +82,7 @@ repos: args: - --in-place - repo: https://github.com/ComPWA/policy - rev: 0.2.6 + rev: 0.3.0 hooks: - id: check-dev-files args: From 0c8f2b6c8416a65e3654bf7f5f5429e7c5d4e97c Mon Sep 17 00:00:00 2001 From: GitHub Date: Thu, 7 Mar 2024 13:38:17 +0000 Subject: [PATCH 6/8] MAINT: update pip constraints and pre-commit --- .constraints/py3.8.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 5c5fc2a..14c9017 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -76,7 +76,7 @@ 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.3 +jupyterlab==4.1.4 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 jupyterlab-lsp==5.1.0 From c3fd2f846b5ca5af83f8db2fad173fc15ed4a1dc Mon Sep 17 00:00:00 2001 From: GitHub Date: Thu, 7 Mar 2024 13:39:04 +0000 Subject: [PATCH 7/8] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 2 +- .constraints/py3.11.txt | 2 +- .constraints/py3.12.txt | 2 +- .constraints/py3.9.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 976e6a1..5c6aa99 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -74,7 +74,7 @@ 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.3 +jupyterlab==4.1.4 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 jupyterlab-lsp==5.1.0 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 0404420..2e08563 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -73,7 +73,7 @@ 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.3 +jupyterlab==4.1.4 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 jupyterlab-lsp==5.1.0 diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt index 5686052..ac9741f 100644 --- a/.constraints/py3.12.txt +++ b/.constraints/py3.12.txt @@ -73,7 +73,7 @@ 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.3 +jupyterlab==4.1.4 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 jupyterlab-lsp==5.1.0 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 07493f0..7577494 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -75,7 +75,7 @@ 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.3 +jupyterlab==4.1.4 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 jupyterlab-lsp==5.1.0 From 56e36b6e91fb289b8eb0df78a1d7a0793d0a0999 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 7 Mar 2024 13:39:51 +0000 Subject: [PATCH 8/8] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .github/workflows/pr-linting.yml | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/.github/workflows/pr-linting.yml b/.github/workflows/pr-linting.yml index cd3bb74..0fab841 100644 --- a/.github/workflows/pr-linting.yml +++ b/.github/workflows/pr-linting.yml @@ -10,24 +10,5 @@ on: - unlabeled jobs: - check-labels: - name: Check labels - runs-on: ubuntu-22.04 - steps: - - uses: docker://agilepathway/pull-request-label-checker:latest # cspell:ignore agilepathway - with: - any_of: >- - 🐛 Bug,✨ Feature,⚙️ Enhancement,⚠️ Interface,❗ Behavior,📝 Docs,🔨 Maintenance,🖱️ DX - none_of: Epic,💫 Good first issue - repo_token: ${{ secrets.GITHUB_TOKEN }} - - check-title: - name: Check title - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v4 - - run: npm install @compwa/commitlint-config - - name: Create commitlint config - run: | - echo "module.exports = {extends: ['@compwa/commitlint-config']}" > commitlint.config.js - - uses: JulienKode/pull-request-name-linter-action@v0.5.0 # cspell:ignore kode + lint-pr: + uses: ComPWA/actions/.github/workflows/pr-linting.yml@v1