From 056c612161d71b2534bdfe1fca029a727510d6b7 Mon Sep 17 00:00:00 2001 From: GitHub Date: Sun, 7 Jan 2024 03:05:11 +0000 Subject: [PATCH 01/10] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 108 ++++++++++++++++++---------------------- .constraints/py3.11.txt | 108 ++++++++++++++++++---------------------- .constraints/py3.12.txt | 108 ++++++++++++++++++---------------------- .constraints/py3.7.txt | 26 +++++----- .constraints/py3.8.txt | 94 +++++++++++++++------------------- .constraints/py3.9.txt | 106 +++++++++++++++++---------------------- .pre-commit-config.yaml | 12 ++--- 7 files changed, 251 insertions(+), 311 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 6f0b7c0..4a4fd2d 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -6,23 +6,21 @@ # accessible-pygments==0.0.4 alabaster==0.7.13 -annotated-types==0.6.0 -anyio==4.1.0 +anyio==4.2.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 -awkward==2.5.0 -awkward-cpp==26 -babel==2.13.1 +attrs==23.2.0 +awkward==2.5.1 +awkward-cpp==27 +babel==2.14.0 beautifulsoup4==4.12.2 -black==23.11.0 +black==23.12.1 bleach==6.1.0 cachetools==5.3.2 cattrs==23.2.3 -cerberus==1.3.5 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 @@ -30,53 +28,53 @@ chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.2.0 +comm==0.2.1 contourpy==1.2.0 -coverage==7.3.2 +coverage==7.4.0 cycler==0.12.1 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 -distlib==0.3.7 -docopt==0.6.2 +distlib==0.3.8 docstring-to-markdown==0.13 -docutils==0.19 +docutils==0.20.1 exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.19.0 +fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.46.0 +fonttools==4.47.0 fqdn==1.5.1 +fsspec==2023.12.2 gitdb==4.0.11 gitpython==3.1.40 gprof2dot==2022.7.29 -greenlet==3.0.2 +greenlet==3.0.3 identify==2.5.33 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.0 +importlib-metadata==7.0.1 iniconfig==2.0.0 -ipykernel==6.27.1 -ipython==8.18.1 +ipykernel==6.28.0 +ipython==8.19.0 ipywidgets==8.1.1 isoduration==20.11.0 -isort==5.13.0 +isort==5.13.2 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 -jsonschema-specifications==2023.11.2 +jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 jupyter-client==8.6.0 -jupyter-core==5.5.0 +jupyter-core==5.7.0 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.1 +jupyter-server==2.12.2 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.4.4 -jupyterlab==4.0.9 +jupyter-server-terminals==0.5.1 +jupyterlab==4.0.10 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 jupyterlab-lsp==5.0.1 @@ -94,76 +92,69 @@ matplotlib-inline==0.1.6 mdit-py-plugins==0.4.0 mdurl==0.1.2 mistune==3.0.2 -mypy==1.7.1 +mypy==1.8.0 mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.9.0 -nbconvert==7.12.0 +nbconvert==7.14.0 nbdime==4.0.1 nbformat==5.9.2 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook-shim==0.2.3 -numpy==1.26.2 +numpy==1.26.3 overrides==7.4.0 packaging==23.2 pandas==2.1.4 pandocfilters==1.5.0 parso==0.8.3 -pathspec==0.11.2 -pep517==0.13.1 +pathspec==0.12.1 pexpect==4.9.0 -pillow==10.1.0 -pip-api==0.0.30 -pipreqs==0.4.13 +pillow==10.2.0 platformdirs==4.1.0 -plette==0.4.4 pluggy==1.3.0 -pre-commit==3.5.0 +pre-commit==3.6.0 prometheus-client==0.19.0 -prompt-toolkit==3.0.41 -psutil==5.9.6 +prompt-toolkit==3.0.43 +psutil==5.9.7 ptyprocess==0.7.0 pure-eval==0.2.2 pycparser==2.21 -pydantic==2.5.2 -pydantic-core==2.14.5 -pydata-sphinx-theme==0.14.4 +pydata-sphinx-theme==0.15.1 pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.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-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.0 +python-lsp-ruff==2.0.1 python-lsp-server==1.9.0 pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.2 -referencing==0.32.0 +referencing==0.32.1 requests==2.31.0 -requirementslib==3.0.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 -rpds-py==0.13.2 -ruff==0.1.7 +rpds-py==0.16.2 +ruff==0.1.11 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 sniffio==1.3.0 snowballstemmer==2.2.0 soupsieve==2.5 -sphinx==6.2.1 -sphinx-api-relink==0.0.7 +sphinx==7.2.6 +sphinx-api-relink==0.0.8 sphinx-autobuild==2021.3.14 -sphinx-book-theme==1.0.1 +sphinx-book-theme==1.1.0 sphinx-codeautolink==0.15.0 sphinx-copybutton==0.5.2 sphinx-thebe==0.3.0 @@ -174,34 +165,31 @@ sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.23 +sqlalchemy==2.0.25 stack-data==0.6.3 tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 -tomlkit==0.12.3 tornado==6.4 tox==4.11.4 -traitlets==5.14.0 -types-python-dateutil==2.8.19.14 -typing-extensions==4.8.0 -tzdata==2023.3 -ujson==5.8.0 -uproot==5.1.2 +traitlets==5.14.1 +types-python-dateutil==2.8.19.20240106 +typing-extensions==4.9.0 +tzdata==2023.4 +ujson==5.9.0 +uproot==5.2.1 uri-template==1.3.0 urllib3==2.1.0 virtualenv==20.25.0 -wcwidth==0.2.12 +wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.7.0 wheel==0.42.0 widgetsnbextension==4.0.9 -yarg==0.1.9 zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: # pawian-tools -# pip # setuptools diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index f41455e..9a14702 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -6,23 +6,21 @@ # accessible-pygments==0.0.4 alabaster==0.7.13 -annotated-types==0.6.0 -anyio==4.1.0 +anyio==4.2.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 -awkward==2.5.0 -awkward-cpp==26 -babel==2.13.1 +attrs==23.2.0 +awkward==2.5.1 +awkward-cpp==27 +babel==2.14.0 beautifulsoup4==4.12.2 -black==23.11.0 +black==23.12.1 bleach==6.1.0 cachetools==5.3.2 cattrs==23.2.3 -cerberus==1.3.5 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 @@ -30,52 +28,52 @@ chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.2.0 +comm==0.2.1 contourpy==1.2.0 -coverage==7.3.2 +coverage==7.4.0 cycler==0.12.1 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 -distlib==0.3.7 -docopt==0.6.2 +distlib==0.3.8 docstring-to-markdown==0.13 -docutils==0.19 +docutils==0.20.1 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.19.0 +fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.46.0 +fonttools==4.47.0 fqdn==1.5.1 +fsspec==2023.12.2 gitdb==4.0.11 gitpython==3.1.40 gprof2dot==2022.7.29 -greenlet==3.0.2 +greenlet==3.0.3 identify==2.5.33 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.0 +importlib-metadata==7.0.1 iniconfig==2.0.0 -ipykernel==6.27.1 -ipython==8.18.1 +ipykernel==6.28.0 +ipython==8.19.0 ipywidgets==8.1.1 isoduration==20.11.0 -isort==5.13.0 +isort==5.13.2 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 -jsonschema-specifications==2023.11.2 +jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 jupyter-client==8.6.0 -jupyter-core==5.5.0 +jupyter-core==5.7.0 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.1 +jupyter-server==2.12.2 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.4.4 -jupyterlab==4.0.9 +jupyter-server-terminals==0.5.1 +jupyterlab==4.0.10 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 jupyterlab-lsp==5.0.1 @@ -93,76 +91,69 @@ matplotlib-inline==0.1.6 mdit-py-plugins==0.4.0 mdurl==0.1.2 mistune==3.0.2 -mypy==1.7.1 +mypy==1.8.0 mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.9.0 -nbconvert==7.12.0 +nbconvert==7.14.0 nbdime==4.0.1 nbformat==5.9.2 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook-shim==0.2.3 -numpy==1.26.2 +numpy==1.26.3 overrides==7.4.0 packaging==23.2 pandas==2.1.4 pandocfilters==1.5.0 parso==0.8.3 -pathspec==0.11.2 -pep517==0.13.1 +pathspec==0.12.1 pexpect==4.9.0 -pillow==10.1.0 -pip-api==0.0.30 -pipreqs==0.4.13 +pillow==10.2.0 platformdirs==4.1.0 -plette==0.4.4 pluggy==1.3.0 -pre-commit==3.5.0 +pre-commit==3.6.0 prometheus-client==0.19.0 -prompt-toolkit==3.0.41 -psutil==5.9.6 +prompt-toolkit==3.0.43 +psutil==5.9.7 ptyprocess==0.7.0 pure-eval==0.2.2 pycparser==2.21 -pydantic==2.5.2 -pydantic-core==2.14.5 -pydata-sphinx-theme==0.14.4 +pydata-sphinx-theme==0.15.1 pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.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-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.0 +python-lsp-ruff==2.0.1 python-lsp-server==1.9.0 pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.2 -referencing==0.32.0 +referencing==0.32.1 requests==2.31.0 -requirementslib==3.0.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 -rpds-py==0.13.2 -ruff==0.1.7 +rpds-py==0.16.2 +ruff==0.1.11 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 sniffio==1.3.0 snowballstemmer==2.2.0 soupsieve==2.5 -sphinx==6.2.1 -sphinx-api-relink==0.0.7 +sphinx==7.2.6 +sphinx-api-relink==0.0.8 sphinx-autobuild==2021.3.14 -sphinx-book-theme==1.0.1 +sphinx-book-theme==1.1.0 sphinx-codeautolink==0.15.0 sphinx-copybutton==0.5.2 sphinx-thebe==0.3.0 @@ -173,33 +164,30 @@ sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.23 +sqlalchemy==2.0.25 stack-data==0.6.3 tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 -tomlkit==0.12.3 tornado==6.4 tox==4.11.4 -traitlets==5.14.0 -types-python-dateutil==2.8.19.14 -typing-extensions==4.8.0 -tzdata==2023.3 -ujson==5.8.0 -uproot==5.1.2 +traitlets==5.14.1 +types-python-dateutil==2.8.19.20240106 +typing-extensions==4.9.0 +tzdata==2023.4 +ujson==5.9.0 +uproot==5.2.1 uri-template==1.3.0 urllib3==2.1.0 virtualenv==20.25.0 -wcwidth==0.2.12 +wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.7.0 wheel==0.42.0 widgetsnbextension==4.0.9 -yarg==0.1.9 zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: # pawian-tools -# pip # setuptools diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt index ec94920..26016e7 100644 --- a/.constraints/py3.12.txt +++ b/.constraints/py3.12.txt @@ -6,23 +6,21 @@ # accessible-pygments==0.0.4 alabaster==0.7.13 -annotated-types==0.6.0 -anyio==4.1.0 +anyio==4.2.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 -awkward==2.5.0 -awkward-cpp==26 -babel==2.13.1 +attrs==23.2.0 +awkward==2.5.1 +awkward-cpp==27 +babel==2.14.0 beautifulsoup4==4.12.2 -black==23.11.0 +black==23.12.1 bleach==6.1.0 cachetools==5.3.2 cattrs==23.2.3 -cerberus==1.3.5 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 @@ -30,52 +28,52 @@ chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.2.0 +comm==0.2.1 contourpy==1.2.0 -coverage==7.3.2 +coverage==7.4.0 cycler==0.12.1 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 -distlib==0.3.7 -docopt==0.6.2 +distlib==0.3.8 docstring-to-markdown==0.13 -docutils==0.19 +docutils==0.20.1 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.19.0 +fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.46.0 +fonttools==4.47.0 fqdn==1.5.1 +fsspec==2023.12.2 gitdb==4.0.11 gitpython==3.1.40 gprof2dot==2022.7.29 -greenlet==3.0.2 +greenlet==3.0.3 identify==2.5.33 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.0 +importlib-metadata==7.0.1 iniconfig==2.0.0 -ipykernel==6.27.1 -ipython==8.18.1 +ipykernel==6.28.0 +ipython==8.19.0 ipywidgets==8.1.1 isoduration==20.11.0 -isort==5.13.0 +isort==5.13.2 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 -jsonschema-specifications==2023.11.2 +jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 jupyter-client==8.6.0 -jupyter-core==5.5.0 +jupyter-core==5.7.0 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.1 +jupyter-server==2.12.2 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.4.4 -jupyterlab==4.0.9 +jupyter-server-terminals==0.5.1 +jupyterlab==4.0.10 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 jupyterlab-lsp==5.0.1 @@ -93,76 +91,69 @@ matplotlib-inline==0.1.6 mdit-py-plugins==0.4.0 mdurl==0.1.2 mistune==3.0.2 -mypy==1.7.1 +mypy==1.8.0 mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.9.0 -nbconvert==7.12.0 +nbconvert==7.14.0 nbdime==4.0.1 nbformat==5.9.2 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook-shim==0.2.3 -numpy==1.26.2 +numpy==1.26.3 overrides==7.4.0 packaging==23.2 pandas==2.1.4 pandocfilters==1.5.0 parso==0.8.3 -pathspec==0.11.2 -pep517==0.13.1 +pathspec==0.12.1 pexpect==4.9.0 -pillow==10.1.0 -pip-api==0.0.30 -pipreqs==0.4.13 +pillow==10.2.0 platformdirs==4.1.0 -plette==0.4.4 pluggy==1.3.0 -pre-commit==3.5.0 +pre-commit==3.6.0 prometheus-client==0.19.0 -prompt-toolkit==3.0.41 -psutil==5.9.6 +prompt-toolkit==3.0.43 +psutil==5.9.7 ptyprocess==0.7.0 pure-eval==0.2.2 pycparser==2.21 -pydantic==2.5.2 -pydantic-core==2.14.5 -pydata-sphinx-theme==0.14.4 +pydata-sphinx-theme==0.15.1 pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.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-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.0 +python-lsp-ruff==2.0.1 python-lsp-server==1.9.0 pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.2 -referencing==0.32.0 +referencing==0.32.1 requests==2.31.0 -requirementslib==3.0.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 -rpds-py==0.13.2 -ruff==0.1.7 +rpds-py==0.16.2 +ruff==0.1.11 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 sniffio==1.3.0 snowballstemmer==2.2.0 soupsieve==2.5 -sphinx==6.2.1 -sphinx-api-relink==0.0.7 +sphinx==7.2.6 +sphinx-api-relink==0.0.8 sphinx-autobuild==2021.3.14 -sphinx-book-theme==1.0.1 +sphinx-book-theme==1.1.0 sphinx-codeautolink==0.15.0 sphinx-copybutton==0.5.2 sphinx-thebe==0.3.0 @@ -173,33 +164,30 @@ sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.23 +sqlalchemy==2.0.25 stack-data==0.6.3 tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 -tomlkit==0.12.3 tornado==6.4 tox==4.11.4 -traitlets==5.14.0 -types-python-dateutil==2.8.19.14 -typing-extensions==4.8.0 -tzdata==2023.3 -ujson==5.8.0 -uproot==5.1.2 +traitlets==5.14.1 +types-python-dateutil==2.8.19.20240106 +typing-extensions==4.9.0 +tzdata==2023.4 +ujson==5.9.0 +uproot==5.2.1 uri-template==1.3.0 urllib3==2.1.0 virtualenv==20.25.0 -wcwidth==0.2.12 +wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.7.0 wheel==0.42.0 widgetsnbextension==4.0.9 -yarg==0.1.9 zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: # pawian-tools -# pip # setuptools diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index 0c53021..4c513f0 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -12,10 +12,10 @@ anyio==3.7.1 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.2.3 -attrs==23.1.0 +attrs==23.2.0 awkward==2.2.4 awkward-cpp==17 -babel==2.13.1 +babel==2.14.0 backcall==0.2.0 beautifulsoup4==4.12.2 black==23.3.0 @@ -36,20 +36,20 @@ cycler==0.11.0 debugpy==1.7.0 decorator==5.1.1 defusedxml==0.7.1 -distlib==0.3.7 +distlib==0.3.8 docstring-to-markdown==0.13 docutils==0.19 entrypoints==0.4 exceptiongroup==1.2.0 execnet==2.0.2 -fastjsonschema==2.19.0 +fastjsonschema==2.19.1 filelock==3.12.2 fonttools==4.38.0 fqdn==1.5.1 gitdb==4.0.11 gitpython==3.1.40 gprof2dot==2022.7.29 -greenlet==3.0.2 +greenlet==3.0.3 identify==2.5.24 idna==3.6 imagesize==1.4.1 @@ -73,7 +73,7 @@ jupyter-core==4.12.0 jupyter-events==0.6.3 jupyter-lsp==1.5.1 jupyter-server==1.24.0 -jupyter-server-fileid==0.9.0 +jupyter-server-fileid==0.9.1 jupyter-server-mathjax==0.2.6 jupyter-server-ydoc==0.8.0 jupyter-ydoc==0.2.5 @@ -122,8 +122,8 @@ platformdirs==4.0.0 pluggy==1.2.0 pre-commit==2.21.0 prometheus-client==0.17.1 -prompt-toolkit==3.0.41 -psutil==5.9.6 +prompt-toolkit==3.0.43 +psutil==5.9.7 ptyprocess==0.7.0 pycparser==2.21 pydata-sphinx-theme==0.13.3 @@ -131,7 +131,7 @@ pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.5.3 pyrsistent==0.19.3 -pytest==7.4.3 +pytest==7.4.4 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 @@ -148,7 +148,7 @@ requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.9.0 -ruff==0.1.7 +ruff==0.1.11 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 @@ -156,7 +156,7 @@ sniffio==1.3.0 snowballstemmer==2.2.0 soupsieve==2.4.1 sphinx==5.3.0 -sphinx-api-relink==0.0.7 +sphinx-api-relink==0.0.8 sphinx-autobuild==2021.3.14 sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 @@ -169,7 +169,7 @@ sphinxcontrib-htmlhelp==2.0.0 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 -sqlalchemy==1.4.50 +sqlalchemy==1.4.51 tabulate==0.9.0 terminado==0.17.1 tinycss2==1.2.1 @@ -184,7 +184,7 @@ uproot==5.0.13 uri-template==1.3.0 urllib3==2.0.7 virtualenv==20.25.0 -wcwidth==0.2.12 +wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.1 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 8cc8436..6bf7c16 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -6,24 +6,22 @@ # accessible-pygments==0.0.4 alabaster==0.7.13 -annotated-types==0.6.0 -anyio==4.1.0 +anyio==4.2.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 -awkward==2.5.0 -awkward-cpp==26 -babel==2.13.1 +attrs==23.2.0 +awkward==2.5.1 +awkward-cpp==27 +babel==2.14.0 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.11.0 +black==23.12.1 bleach==6.1.0 cachetools==5.3.2 cattrs==23.2.3 -cerberus==1.3.5 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 @@ -31,54 +29,54 @@ chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.2.0 +comm==0.2.1 contourpy==1.1.1 -coverage==7.3.2 +coverage==7.4.0 cycler==0.12.1 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 -distlib==0.3.7 -docopt==0.6.2 +distlib==0.3.8 docstring-to-markdown==0.13 docutils==0.19 exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.19.0 +fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.46.0 +fonttools==4.47.0 fqdn==1.5.1 +fsspec==2023.12.2 gitdb==4.0.11 gitpython==3.1.40 gprof2dot==2022.7.29 -greenlet==3.0.2 +greenlet==3.0.3 identify==2.5.33 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.0 +importlib-metadata==7.0.1 importlib-resources==6.1.1 iniconfig==2.0.0 -ipykernel==6.27.1 +ipykernel==6.28.0 ipython==8.12.3 ipywidgets==8.1.1 isoduration==20.11.0 -isort==5.13.0 +isort==5.13.2 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 -jsonschema-specifications==2023.11.2 +jsonschema-specifications==2023.12.1 jupyter-cache==0.6.1 jupyter-client==8.6.0 -jupyter-core==5.5.0 +jupyter-core==5.7.0 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.1 +jupyter-server==2.12.2 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.4.4 -jupyterlab==4.0.9 +jupyter-server-terminals==0.5.1 +jupyterlab==4.0.10 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 jupyterlab-lsp==5.0.1 @@ -96,12 +94,12 @@ matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 mistune==3.0.2 -mypy==1.7.1 +mypy==1.8.0 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.7.4 -nbconvert==7.12.0 +nbconvert==7.14.0 nbdime==4.0.1 nbformat==5.9.2 nest-asyncio==1.5.8 @@ -113,51 +111,44 @@ packaging==23.2 pandas==2.0.3 pandocfilters==1.5.0 parso==0.8.3 -pathspec==0.11.2 -pep517==0.13.1 +pathspec==0.12.1 pexpect==4.9.0 pickleshare==0.7.5 -pillow==10.1.0 -pip-api==0.0.30 -pipreqs==0.4.13 +pillow==10.2.0 pkgutil-resolve-name==1.3.10 platformdirs==4.1.0 -plette==0.4.4 pluggy==1.3.0 pre-commit==3.5.0 prometheus-client==0.19.0 -prompt-toolkit==3.0.41 -psutil==5.9.6 +prompt-toolkit==3.0.43 +psutil==5.9.7 ptyprocess==0.7.0 pure-eval==0.2.2 pycparser==2.21 -pydantic==2.5.2 -pydantic-core==2.14.5 pydata-sphinx-theme==0.14.4 pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.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-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.0 +python-lsp-ruff==2.0.1 python-lsp-server==1.9.0 pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.2 -referencing==0.32.0 +referencing==0.32.1 requests==2.31.0 -requirementslib==3.0.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 -rpds-py==0.13.2 -ruff==0.1.7 +rpds-py==0.16.2 +ruff==0.1.11 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 @@ -165,7 +156,7 @@ sniffio==1.3.0 snowballstemmer==2.2.0 soupsieve==2.5 sphinx==5.3.0 -sphinx-api-relink==0.0.7 +sphinx-api-relink==0.0.8 sphinx-autobuild==2021.3.14 sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 @@ -178,34 +169,31 @@ sphinxcontrib-htmlhelp==2.0.1 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 -sqlalchemy==2.0.23 +sqlalchemy==2.0.25 stack-data==0.6.3 tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 -tomlkit==0.12.3 tornado==6.4 tox==4.11.4 -traitlets==5.14.0 -types-python-dateutil==2.8.19.14 -typing-extensions==4.8.0 -tzdata==2023.3 -ujson==5.8.0 -uproot==5.1.2 +traitlets==5.14.1 +types-python-dateutil==2.8.19.20240106 +typing-extensions==4.9.0 +tzdata==2023.4 +ujson==5.9.0 +uproot==5.2.1 uri-template==1.3.0 urllib3==2.1.0 virtualenv==20.25.0 -wcwidth==0.2.12 +wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.7.0 wheel==0.42.0 widgetsnbextension==4.0.9 -yarg==0.1.9 zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: # pawian-tools -# pip # setuptools diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index ce93860..ea967d4 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -6,23 +6,21 @@ # accessible-pygments==0.0.4 alabaster==0.7.13 -annotated-types==0.6.0 -anyio==4.1.0 +anyio==4.2.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 -awkward==2.5.0 -awkward-cpp==26 -babel==2.13.1 +attrs==23.2.0 +awkward==2.5.1 +awkward-cpp==27 +babel==2.14.0 beautifulsoup4==4.12.2 -black==23.11.0 +black==23.12.1 bleach==6.1.0 cachetools==5.3.2 cattrs==23.2.3 -cerberus==1.3.5 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 @@ -30,54 +28,54 @@ chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.2.0 +comm==0.2.1 contourpy==1.2.0 -coverage==7.3.2 +coverage==7.4.0 cycler==0.12.1 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 -distlib==0.3.7 -docopt==0.6.2 +distlib==0.3.8 docstring-to-markdown==0.13 -docutils==0.19 +docutils==0.20.1 exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.19.0 +fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.46.0 +fonttools==4.47.0 fqdn==1.5.1 +fsspec==2023.12.2 gitdb==4.0.11 gitpython==3.1.40 gprof2dot==2022.7.29 -greenlet==3.0.2 +greenlet==3.0.3 identify==2.5.33 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.0 +importlib-metadata==7.0.1 importlib-resources==6.1.1 iniconfig==2.0.0 -ipykernel==6.27.1 +ipykernel==6.28.0 ipython==8.18.1 ipywidgets==8.1.1 isoduration==20.11.0 -isort==5.13.0 +isort==5.13.2 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 -jsonschema-specifications==2023.11.2 +jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 jupyter-client==8.6.0 -jupyter-core==5.5.0 +jupyter-core==5.7.0 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.1 +jupyter-server==2.12.2 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.4.4 -jupyterlab==4.0.9 +jupyter-server-terminals==0.5.1 +jupyterlab==4.0.10 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 jupyterlab-lsp==5.0.1 @@ -95,76 +93,69 @@ matplotlib-inline==0.1.6 mdit-py-plugins==0.4.0 mdurl==0.1.2 mistune==3.0.2 -mypy==1.7.1 +mypy==1.8.0 mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.9.0 -nbconvert==7.12.0 +nbconvert==7.14.0 nbdime==4.0.1 nbformat==5.9.2 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook-shim==0.2.3 -numpy==1.26.2 +numpy==1.26.3 overrides==7.4.0 packaging==23.2 pandas==2.1.4 pandocfilters==1.5.0 parso==0.8.3 -pathspec==0.11.2 -pep517==0.13.1 +pathspec==0.12.1 pexpect==4.9.0 -pillow==10.1.0 -pip-api==0.0.30 -pipreqs==0.4.13 +pillow==10.2.0 platformdirs==4.1.0 -plette==0.4.4 pluggy==1.3.0 -pre-commit==3.5.0 +pre-commit==3.6.0 prometheus-client==0.19.0 -prompt-toolkit==3.0.41 -psutil==5.9.6 +prompt-toolkit==3.0.43 +psutil==5.9.7 ptyprocess==0.7.0 pure-eval==0.2.2 pycparser==2.21 -pydantic==2.5.2 -pydantic-core==2.14.5 -pydata-sphinx-theme==0.14.4 +pydata-sphinx-theme==0.15.1 pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.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-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.0 +python-lsp-ruff==2.0.1 python-lsp-server==1.9.0 pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.2 -referencing==0.32.0 +referencing==0.32.1 requests==2.31.0 -requirementslib==3.0.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 -rpds-py==0.13.2 -ruff==0.1.7 +rpds-py==0.16.2 +ruff==0.1.11 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 sniffio==1.3.0 snowballstemmer==2.2.0 soupsieve==2.5 -sphinx==6.2.1 -sphinx-api-relink==0.0.7 +sphinx==7.2.6 +sphinx-api-relink==0.0.8 sphinx-autobuild==2021.3.14 -sphinx-book-theme==1.0.1 +sphinx-book-theme==1.1.0 sphinx-codeautolink==0.15.0 sphinx-copybutton==0.5.2 sphinx-thebe==0.3.0 @@ -175,34 +166,31 @@ sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.23 +sqlalchemy==2.0.25 stack-data==0.6.3 tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 -tomlkit==0.12.3 tornado==6.4 tox==4.11.4 -traitlets==5.14.0 -types-python-dateutil==2.8.19.14 -typing-extensions==4.8.0 -tzdata==2023.3 -ujson==5.8.0 -uproot==5.1.2 +traitlets==5.14.1 +types-python-dateutil==2.8.19.20240106 +typing-extensions==4.9.0 +tzdata==2023.4 +ujson==5.9.0 +uproot==5.2.1 uri-template==1.3.0 urllib3==2.1.0 virtualenv==20.25.0 -wcwidth==0.2.12 +wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.7.0 wheel==0.42.0 widgetsnbextension==4.0.9 -yarg==0.1.9 zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: # pawian-tools -# pip # setuptools diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0332037..d550285 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.11.0 + rev: 23.12.1 hooks: - id: black - id: black-jupyter @@ -42,7 +42,7 @@ repos: - jupyter - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.9 + rev: 0.1.11 hooks: - id: check-dev-files args: @@ -52,7 +52,7 @@ repos: - --repo-title=Pawian Tools - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v8.1.1 + rev: v8.3.0 hooks: - id: cspell @@ -103,17 +103,17 @@ repos: metadata.vscode - repo: https://github.com/pre-commit/mirrors-prettier - rev: v4.0.0-alpha.3-1 + rev: v4.0.0-alpha.8 hooks: - id: prettier - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.339 + rev: v1.1.344 hooks: - id: pyright - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.7 + rev: v0.1.11 hooks: - id: ruff args: [--fix] From f91a4bc5a1b54d4f39ac2b8cd56745014a0edda9 Mon Sep 17 00:00:00 2001 From: GitHub Date: Tue, 9 Jan 2024 15:01:14 +0000 Subject: [PATCH 02/10] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 6 +++--- .constraints/py3.11.txt | 6 +++--- .constraints/py3.12.txt | 6 +++--- .constraints/py3.8.txt | 2 +- .constraints/py3.9.txt | 4 ++-- .pre-commit-config.yaml | 4 ++-- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 4a4fd2d..66ac4fb 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -5,7 +5,7 @@ # 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 # accessible-pygments==0.0.4 -alabaster==0.7.13 +alabaster==0.7.15 anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 @@ -56,7 +56,7 @@ imagesize==1.4.1 importlib-metadata==7.0.1 iniconfig==2.0.0 ipykernel==6.28.0 -ipython==8.19.0 +ipython==8.20.0 ipywidgets==8.1.1 isoduration==20.11.0 isort==5.13.2 @@ -68,7 +68,7 @@ jsonschema==4.20.0 jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 jupyter-client==8.6.0 -jupyter-core==5.7.0 +jupyter-core==5.7.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 jupyter-server==2.12.2 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 9a14702..b310b82 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -5,7 +5,7 @@ # 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 # accessible-pygments==0.0.4 -alabaster==0.7.13 +alabaster==0.7.15 anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 @@ -55,7 +55,7 @@ imagesize==1.4.1 importlib-metadata==7.0.1 iniconfig==2.0.0 ipykernel==6.28.0 -ipython==8.19.0 +ipython==8.20.0 ipywidgets==8.1.1 isoduration==20.11.0 isort==5.13.2 @@ -67,7 +67,7 @@ jsonschema==4.20.0 jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 jupyter-client==8.6.0 -jupyter-core==5.7.0 +jupyter-core==5.7.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 jupyter-server==2.12.2 diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt index 26016e7..76b3143 100644 --- a/.constraints/py3.12.txt +++ b/.constraints/py3.12.txt @@ -5,7 +5,7 @@ # 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 # accessible-pygments==0.0.4 -alabaster==0.7.13 +alabaster==0.7.15 anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 @@ -55,7 +55,7 @@ imagesize==1.4.1 importlib-metadata==7.0.1 iniconfig==2.0.0 ipykernel==6.28.0 -ipython==8.19.0 +ipython==8.20.0 ipywidgets==8.1.1 isoduration==20.11.0 isort==5.13.2 @@ -67,7 +67,7 @@ jsonschema==4.20.0 jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 jupyter-client==8.6.0 -jupyter-core==5.7.0 +jupyter-core==5.7.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 jupyter-server==2.12.2 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 6bf7c16..f646c89 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -70,7 +70,7 @@ jsonschema==4.20.0 jsonschema-specifications==2023.12.1 jupyter-cache==0.6.1 jupyter-client==8.6.0 -jupyter-core==5.7.0 +jupyter-core==5.7.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 jupyter-server==2.12.2 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index ea967d4..051a352 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -5,7 +5,7 @@ # 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 # accessible-pygments==0.0.4 -alabaster==0.7.13 +alabaster==0.7.15 anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 @@ -69,7 +69,7 @@ jsonschema==4.20.0 jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 jupyter-client==8.6.0 -jupyter-core==5.7.0 +jupyter-core==5.7.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 jupyter-server==2.12.2 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d550285..8ac8557 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -42,7 +42,7 @@ repos: - jupyter - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.11 + rev: 0.1.13a0 hooks: - id: check-dev-files args: @@ -108,7 +108,7 @@ repos: - id: prettier - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.344 + rev: v1.1.345 hooks: - id: pyright From 5f5fce6d17a7b6ca48df9b47e6750d9009ac3e87 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 9 Jan 2024 15:01:32 +0000 Subject: [PATCH 03/10] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .gitpod.yml | 2 +- .vscode/extensions.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index db8f90f..3aab122 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -20,7 +20,6 @@ vscode: - editorconfig.editorconfig - esbenp.prettier-vscode - executablebookproject.myst-highlight - - garaioag.garaio-vscode-unwanted-recommendations - github.vscode-github-actions - github.vscode-pull-request-github - ms-python.black-formatter @@ -32,6 +31,7 @@ vscode: - ms-vsliveshare.vsliveshare - redhat.vscode-yaml - ryanluker.vscode-coverage-gutters + - Soulcode.vscode-unwanted-extensions - stkb.rewrap - streetsidesoftware.code-spell-checker - tamasfe.even-better-toml diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 84ae1d8..65d9a54 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -6,7 +6,6 @@ "editorconfig.editorconfig", "esbenp.prettier-vscode", "executablebookproject.myst-highlight", - "garaioag.garaio-vscode-unwanted-recommendations", "github.vscode-github-actions", "github.vscode-pull-request-github", "ms-python.black-formatter", @@ -18,6 +17,7 @@ "ms-vsliveshare.vsliveshare", "redhat.vscode-yaml", "ryanluker.vscode-coverage-gutters", + "Soulcode.vscode-unwanted-extensions", "stkb.rewrap", "streetsidesoftware.code-spell-checker", "tamasfe.even-better-toml", @@ -28,6 +28,7 @@ "unwantedRecommendations": [ "bungcip.better-toml", "davidanson.vscode-markdownlint", + "garaioag.garaio-vscode-unwanted-recommendations", "ms-python.flake8", "ms-python.isort", "ms-python.pylint", From 9da9c7048f1a9ae138a80380f7d31db25ba63002 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 9 Jan 2024 17:26:52 +0100 Subject: [PATCH 04/10] DX: define `nb` job in `tox.ini` (#45) --- pyproject.toml | 1 + tox.ini | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 16090f1..4064200 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -97,6 +97,7 @@ sty = [ "pre-commit", ] test = [ + "nbmake", "pytest", "pytest-cov", "pytest-profiling", diff --git a/tox.ini b/tox.ini index e795088..db456cd 100644 --- a/tox.ini +++ b/tox.ini @@ -108,6 +108,15 @@ passenv = * setenv = FORCE_COLOR = yes +[testenv:nb] +allowlist_externals = + pytest +commands = + pytest --nbmake {posargs:docs} +description = + Run all notebooks with pytest +passenv = * + [testenv:sty] allowlist_externals = pre-commit From bf1e371cf07750103212dd9273fc6d604c9d5ca1 Mon Sep 17 00:00:00 2001 From: GitHub Date: Tue, 9 Jan 2024 16:28:23 +0000 Subject: [PATCH 05/10] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 3 ++- .constraints/py3.11.txt | 3 ++- .constraints/py3.12.txt | 3 ++- .constraints/py3.7.txt | 2 ++ .constraints/py3.8.txt | 3 ++- .constraints/py3.9.txt | 3 ++- 6 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 66ac4fb..4cc7fee 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -96,10 +96,11 @@ mypy==1.8.0 mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 -nbclient==0.9.0 +nbclient==0.6.8 nbconvert==7.14.0 nbdime==4.0.1 nbformat==5.9.2 +nbmake==1.4.6 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook-shim==0.2.3 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index b310b82..ceefd2c 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -95,10 +95,11 @@ mypy==1.8.0 mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 -nbclient==0.9.0 +nbclient==0.6.8 nbconvert==7.14.0 nbdime==4.0.1 nbformat==5.9.2 +nbmake==1.4.6 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook-shim==0.2.3 diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt index 76b3143..5b01d6a 100644 --- a/.constraints/py3.12.txt +++ b/.constraints/py3.12.txt @@ -95,10 +95,11 @@ mypy==1.8.0 mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 -nbclient==0.9.0 +nbclient==0.6.8 nbconvert==7.14.0 nbdime==4.0.1 nbformat==5.9.2 +nbmake==1.4.6 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook-shim==0.2.3 diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index 4c513f0..099d5de 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -104,6 +104,7 @@ nbclient==0.5.13 nbconvert==7.6.0 nbdime==3.2.1 nbformat==5.8.0 +nbmake==1.3.0 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook==6.5.6 @@ -126,6 +127,7 @@ prompt-toolkit==3.0.43 psutil==5.9.7 ptyprocess==0.7.0 pycparser==2.21 +pydantic==1.10.13 pydata-sphinx-theme==0.13.3 pygments==2.17.2 pyparsing==3.1.1 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index f646c89..733390d 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -98,10 +98,11 @@ mypy==1.8.0 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 -nbclient==0.7.4 +nbclient==0.6.8 nbconvert==7.14.0 nbdime==4.0.1 nbformat==5.9.2 +nbmake==1.4.6 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook-shim==0.2.3 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 051a352..a0c1899 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -97,10 +97,11 @@ mypy==1.8.0 mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 -nbclient==0.9.0 +nbclient==0.6.8 nbconvert==7.14.0 nbdime==4.0.1 nbformat==5.9.2 +nbmake==1.4.6 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook-shim==0.2.3 From 0a75790cad758febc523f4487c8b04597b0b8cb2 Mon Sep 17 00:00:00 2001 From: GitHub Date: Thu, 11 Jan 2024 18:16:54 +0000 Subject: [PATCH 06/10] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 16 ++++++++-------- .constraints/py3.11.txt | 16 ++++++++-------- .constraints/py3.12.txt | 16 ++++++++-------- .constraints/py3.7.txt | 8 ++++---- .constraints/py3.8.txt | 14 +++++++------- .constraints/py3.9.txt | 16 ++++++++-------- .pre-commit-config.yaml | 2 +- 7 files changed, 44 insertions(+), 44 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 4cc7fee..cc510e5 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -5,7 +5,7 @@ # 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 # accessible-pygments==0.0.4 -alabaster==0.7.15 +alabaster==0.7.16 anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 @@ -43,11 +43,11 @@ execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.47.0 +fonttools==4.47.2 fqdn==1.5.1 fsspec==2023.12.2 gitdb==4.0.11 -gitpython==3.1.40 +gitpython==3.1.41 gprof2dot==2022.7.29 greenlet==3.0.3 identify==2.5.33 @@ -61,7 +61,7 @@ ipywidgets==8.1.1 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 -jinja2==3.1.2 +jinja2==3.1.3 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 @@ -71,7 +71,7 @@ jupyter-client==8.6.0 jupyter-core==5.7.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.2 +jupyter-server==2.12.4 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.1 jupyterlab==4.0.10 @@ -84,7 +84,7 @@ jupyterlab-server==2.25.2 jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 livereload==2.6.3 -lsprotocol==2023.0.0 +lsprotocol==2023.0.1 markdown-it-py==3.0.0 markupsafe==2.1.3 matplotlib==3.8.2 @@ -97,7 +97,7 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.14.0 +nbconvert==7.14.1 nbdime==4.0.1 nbformat==5.9.2 nbmake==1.4.6 @@ -135,7 +135,7 @@ python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 python-lsp-ruff==2.0.1 python-lsp-server==1.9.0 -pytoolconfig==1.2.6 +pytoolconfig==1.3.1 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.2 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index ceefd2c..c7167c7 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -5,7 +5,7 @@ # 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 # accessible-pygments==0.0.4 -alabaster==0.7.15 +alabaster==0.7.16 anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 @@ -42,11 +42,11 @@ execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.47.0 +fonttools==4.47.2 fqdn==1.5.1 fsspec==2023.12.2 gitdb==4.0.11 -gitpython==3.1.40 +gitpython==3.1.41 gprof2dot==2022.7.29 greenlet==3.0.3 identify==2.5.33 @@ -60,7 +60,7 @@ ipywidgets==8.1.1 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 -jinja2==3.1.2 +jinja2==3.1.3 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 @@ -70,7 +70,7 @@ jupyter-client==8.6.0 jupyter-core==5.7.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.2 +jupyter-server==2.12.4 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.1 jupyterlab==4.0.10 @@ -83,7 +83,7 @@ jupyterlab-server==2.25.2 jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 livereload==2.6.3 -lsprotocol==2023.0.0 +lsprotocol==2023.0.1 markdown-it-py==3.0.0 markupsafe==2.1.3 matplotlib==3.8.2 @@ -96,7 +96,7 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.14.0 +nbconvert==7.14.1 nbdime==4.0.1 nbformat==5.9.2 nbmake==1.4.6 @@ -134,7 +134,7 @@ python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 python-lsp-ruff==2.0.1 python-lsp-server==1.9.0 -pytoolconfig==1.2.6 +pytoolconfig==1.3.1 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.2 diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt index 5b01d6a..c01e735 100644 --- a/.constraints/py3.12.txt +++ b/.constraints/py3.12.txt @@ -5,7 +5,7 @@ # 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 # accessible-pygments==0.0.4 -alabaster==0.7.15 +alabaster==0.7.16 anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 @@ -42,11 +42,11 @@ execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.47.0 +fonttools==4.47.2 fqdn==1.5.1 fsspec==2023.12.2 gitdb==4.0.11 -gitpython==3.1.40 +gitpython==3.1.41 gprof2dot==2022.7.29 greenlet==3.0.3 identify==2.5.33 @@ -60,7 +60,7 @@ ipywidgets==8.1.1 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 -jinja2==3.1.2 +jinja2==3.1.3 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 @@ -70,7 +70,7 @@ jupyter-client==8.6.0 jupyter-core==5.7.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.2 +jupyter-server==2.12.4 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.1 jupyterlab==4.0.10 @@ -83,7 +83,7 @@ jupyterlab-server==2.25.2 jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 livereload==2.6.3 -lsprotocol==2023.0.0 +lsprotocol==2023.0.1 markdown-it-py==3.0.0 markupsafe==2.1.3 matplotlib==3.8.2 @@ -96,7 +96,7 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.14.0 +nbconvert==7.14.1 nbdime==4.0.1 nbformat==5.9.2 nbmake==1.4.6 @@ -134,7 +134,7 @@ python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 python-lsp-ruff==2.0.1 python-lsp-server==1.9.0 -pytoolconfig==1.2.6 +pytoolconfig==1.3.1 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.2 diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index 099d5de..35643ae 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -47,7 +47,7 @@ filelock==3.12.2 fonttools==4.38.0 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.40 +gitpython==3.1.41 gprof2dot==2022.7.29 greenlet==3.0.3 identify==2.5.24 @@ -63,7 +63,7 @@ ipywidgets==8.1.1 isoduration==20.11.0 isort==5.11.5 jedi==0.18.2 -jinja2==3.1.2 +jinja2==3.1.3 json5==0.9.14 jsonpointer==2.4 jsonschema==4.17.3 @@ -87,7 +87,7 @@ jupyterlab-server==2.24.0 jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 livereload==2.6.3 -lsprotocol==2023.0.0 +lsprotocol==2023.0.1 markdown-it-py==2.2.0 markupsafe==2.1.3 matplotlib==3.5.3 @@ -142,7 +142,7 @@ 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.2.6 +pytoolconfig==1.3.0 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==24.0.1 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 733390d..222bfd3 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -44,11 +44,11 @@ execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.47.0 +fonttools==4.47.2 fqdn==1.5.1 fsspec==2023.12.2 gitdb==4.0.11 -gitpython==3.1.40 +gitpython==3.1.41 gprof2dot==2022.7.29 greenlet==3.0.3 identify==2.5.33 @@ -63,7 +63,7 @@ ipywidgets==8.1.1 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 -jinja2==3.1.2 +jinja2==3.1.3 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 @@ -73,7 +73,7 @@ jupyter-client==8.6.0 jupyter-core==5.7.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.2 +jupyter-server==2.12.4 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.1 jupyterlab==4.0.10 @@ -86,7 +86,7 @@ jupyterlab-server==2.25.2 jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 livereload==2.6.3 -lsprotocol==2023.0.0 +lsprotocol==2023.0.1 markdown-it-py==2.2.0 markupsafe==2.1.3 matplotlib==3.7.4 @@ -99,7 +99,7 @@ mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.6.8 -nbconvert==7.14.0 +nbconvert==7.14.1 nbdime==4.0.1 nbformat==5.9.2 nbmake==1.4.6 @@ -139,7 +139,7 @@ python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 python-lsp-ruff==2.0.1 python-lsp-server==1.9.0 -pytoolconfig==1.2.6 +pytoolconfig==1.3.1 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.2 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index a0c1899..9b07268 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -5,7 +5,7 @@ # 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 # accessible-pygments==0.0.4 -alabaster==0.7.15 +alabaster==0.7.16 anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 @@ -43,11 +43,11 @@ execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.47.0 +fonttools==4.47.2 fqdn==1.5.1 fsspec==2023.12.2 gitdb==4.0.11 -gitpython==3.1.40 +gitpython==3.1.41 gprof2dot==2022.7.29 greenlet==3.0.3 identify==2.5.33 @@ -62,7 +62,7 @@ ipywidgets==8.1.1 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 -jinja2==3.1.2 +jinja2==3.1.3 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 @@ -72,7 +72,7 @@ jupyter-client==8.6.0 jupyter-core==5.7.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.2 +jupyter-server==2.12.4 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.1 jupyterlab==4.0.10 @@ -85,7 +85,7 @@ jupyterlab-server==2.25.2 jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 livereload==2.6.3 -lsprotocol==2023.0.0 +lsprotocol==2023.0.1 markdown-it-py==3.0.0 markupsafe==2.1.3 matplotlib==3.8.2 @@ -98,7 +98,7 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.14.0 +nbconvert==7.14.1 nbdime==4.0.1 nbformat==5.9.2 nbmake==1.4.6 @@ -136,7 +136,7 @@ python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 python-lsp-ruff==2.0.1 python-lsp-server==1.9.0 -pytoolconfig==1.2.6 +pytoolconfig==1.3.1 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.2 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8ac8557..c0f6074 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -42,7 +42,7 @@ repos: - jupyter - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.13a0 + rev: 0.1.13a6 hooks: - id: check-dev-files args: From 78c26dea08c1f5e8a0083d8c162d113b6aeb17f3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 11 Jan 2024 18:17:47 +0000 Subject: [PATCH 07/10] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4064200..6f3b3de 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -220,13 +220,14 @@ reportUnusedVariable = true typeCheckingMode = "strict" [tool.pytest.ini_options] -addopts = ''' +addopts = """ --color=yes --doctest-continue-on-failure --doctest-modules --durations=3 --ignore=docs/conf.py --m "not slow"''' +-m "not slow" +""" filterwarnings = [ "error", "ignore:.*Consider switching from .* to .*:DeprecationWarning", @@ -330,6 +331,7 @@ task-tags = ["cspell"] ] "docs/conf.py" = [ "A001", + "D100", "PLW2901", ] "setup.py" = ["D100"] From eb206f16b72e2a2bcf71194e5b8064ad876f03dd Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Fri, 12 Jan 2024 18:07:42 +0100 Subject: [PATCH 08/10] MAINT: autoupdate pre-commit hooks and apply --- .github/workflows/requirements.yml | 1 - .pre-commit-config.yaml | 6 +++--- pyproject.toml | 16 ++++++++-------- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/workflows/requirements.yml b/.github/workflows/requirements.yml index 7f62c35..b2562f2 100644 --- a/.github/workflows/requirements.yml +++ b/.github/workflows/requirements.yml @@ -12,7 +12,6 @@ on: paths: - .constraints/py3.*.txt - .pre-commit-config.yaml - - setup.cfg schedule: - cron: "0 3 7 */2 *" workflow_dispatch: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c0f6074..80fa6d9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,8 +41,8 @@ repos: types_or: - jupyter - - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.13a6 + - repo: https://github.com/ComPWA/policy + rev: 0.2.0 hooks: - id: check-dev-files args: @@ -113,7 +113,7 @@ repos: - id: pyright - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.11 + rev: v0.1.13 hooks: - id: ruff args: [--fix] diff --git a/pyproject.toml b/pyproject.toml index 6f3b3de..d515add 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -220,14 +220,14 @@ reportUnusedVariable = true typeCheckingMode = "strict" [tool.pytest.ini_options] -addopts = """ ---color=yes ---doctest-continue-on-failure ---doctest-modules ---durations=3 ---ignore=docs/conf.py --m "not slow" -""" +addopts = [ + "--color=yes", + "--doctest-continue-on-failure", + "--doctest-modules", + "--durations=3", + "--ignore=docs/conf.py", + '-m "not slow"', +] filterwarnings = [ "error", "ignore:.*Consider switching from .* to .*:DeprecationWarning", From db5702e66352859cb44732f869b222abfbc08d2f Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 12 Jan 2024 17:13:29 +0000 Subject: [PATCH 09/10] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 6 +++--- .constraints/py3.11.txt | 6 +++--- .constraints/py3.12.txt | 6 +++--- .constraints/py3.7.txt | 2 +- .constraints/py3.8.txt | 6 +++--- .constraints/py3.9.txt | 6 +++--- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index cc510e5..8a36170 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -133,7 +133,7 @@ pytest-xdist==3.5.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.1 +python-lsp-ruff==2.0.2 python-lsp-server==1.9.0 pytoolconfig==1.3.1 pytz==2023.3.post1 @@ -145,7 +145,7 @@ rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 rpds-py==0.16.2 -ruff==0.1.11 +ruff==0.1.13 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 @@ -173,7 +173,7 @@ terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 tornado==6.4 -tox==4.11.4 +tox==4.12.0 traitlets==5.14.1 types-python-dateutil==2.8.19.20240106 typing-extensions==4.9.0 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index c7167c7..1264f2f 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -132,7 +132,7 @@ pytest-xdist==3.5.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.1 +python-lsp-ruff==2.0.2 python-lsp-server==1.9.0 pytoolconfig==1.3.1 pytz==2023.3.post1 @@ -144,7 +144,7 @@ rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 rpds-py==0.16.2 -ruff==0.1.11 +ruff==0.1.13 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 @@ -171,7 +171,7 @@ tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 tornado==6.4 -tox==4.11.4 +tox==4.12.0 traitlets==5.14.1 types-python-dateutil==2.8.19.20240106 typing-extensions==4.9.0 diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt index c01e735..7464b72 100644 --- a/.constraints/py3.12.txt +++ b/.constraints/py3.12.txt @@ -132,7 +132,7 @@ pytest-xdist==3.5.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.1 +python-lsp-ruff==2.0.2 python-lsp-server==1.9.0 pytoolconfig==1.3.1 pytz==2023.3.post1 @@ -144,7 +144,7 @@ rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 rpds-py==0.16.2 -ruff==0.1.11 +ruff==0.1.13 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 @@ -171,7 +171,7 @@ tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 tornado==6.4 -tox==4.11.4 +tox==4.12.0 traitlets==5.14.1 types-python-dateutil==2.8.19.20240106 typing-extensions==4.9.0 diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index 35643ae..04fc1f4 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -150,7 +150,7 @@ requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.9.0 -ruff==0.1.11 +ruff==0.1.13 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 222bfd3..7a82560 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -137,7 +137,7 @@ pytest-xdist==3.5.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.1 +python-lsp-ruff==2.0.2 python-lsp-server==1.9.0 pytoolconfig==1.3.1 pytz==2023.3.post1 @@ -149,7 +149,7 @@ rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 rpds-py==0.16.2 -ruff==0.1.11 +ruff==0.1.13 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 @@ -177,7 +177,7 @@ terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 tornado==6.4 -tox==4.11.4 +tox==4.12.0 traitlets==5.14.1 types-python-dateutil==2.8.19.20240106 typing-extensions==4.9.0 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 9b07268..8563c59 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -134,7 +134,7 @@ pytest-xdist==3.5.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.1 +python-lsp-ruff==2.0.2 python-lsp-server==1.9.0 pytoolconfig==1.3.1 pytz==2023.3.post1 @@ -146,7 +146,7 @@ rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 rpds-py==0.16.2 -ruff==0.1.11 +ruff==0.1.13 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 @@ -174,7 +174,7 @@ terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 tornado==6.4 -tox==4.11.4 +tox==4.12.0 traitlets==5.14.1 types-python-dateutil==2.8.19.20240106 typing-extensions==4.9.0 From f061e2690ca4d479dadaab7dc28fc49be051a3d6 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Fri, 12 Jan 2024 18:40:06 +0100 Subject: [PATCH 10/10] FIX: use correct `pytest` `addopts` syntax --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d515add..21d5d58 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -226,7 +226,7 @@ addopts = [ "--doctest-modules", "--durations=3", "--ignore=docs/conf.py", - '-m "not slow"', + "-m not slow", ] filterwarnings = [ "error",