From d5ae82c6514dd663cfdb0d61069384e645ed4272 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Jan 2024 17:26:53 +0000 Subject: [PATCH 1/4] MAINT: update pip constraints and pre-commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black-pre-commit-mirror: 23.11.0 → 23.12.1](https://github.com/psf/black-pre-commit-mirror/compare/23.11.0...23.12.1) - [github.com/ComPWA/repo-maintenance: 0.1.9 → 0.1.11](https://github.com/ComPWA/repo-maintenance/compare/0.1.9...0.1.11) - [github.com/streetsidesoftware/cspell-cli: v8.1.1 → v8.2.1](https://github.com/streetsidesoftware/cspell-cli/compare/v8.1.1...v8.2.1) - [github.com/pre-commit/mirrors-prettier: v4.0.0-alpha.3-1 → v4.0.0-alpha.8](https://github.com/pre-commit/mirrors-prettier/compare/v4.0.0-alpha.3-1...v4.0.0-alpha.8) - [github.com/ComPWA/mirrors-pyright: v1.1.339 → v1.1.344](https://github.com/ComPWA/mirrors-pyright/compare/v1.1.339...v1.1.344) - [github.com/astral-sh/ruff-pre-commit: v0.1.7 → v0.1.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.7...v0.1.9) --- .pre-commit-config.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0332037..bc70979 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.2.1 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.9 hooks: - id: ruff args: [--fix] From 9503f097eb88359d76e2578563866f461a5f47bb Mon Sep 17 00:00:00 2001 From: GitHub Date: Mon, 1 Jan 2024 17:28:21 +0000 Subject: [PATCH 2/4] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 90 ++++++++++++++++++----------------------- .constraints/py3.11.txt | 90 ++++++++++++++++++----------------------- .constraints/py3.12.txt | 90 ++++++++++++++++++----------------------- .constraints/py3.7.txt | 22 +++++----- .constraints/py3.8.txt | 80 ++++++++++++++++-------------------- .constraints/py3.9.txt | 88 +++++++++++++++++----------------------- 6 files changed, 200 insertions(+), 260 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 6f0b7c0..b382adc 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 @@ -32,51 +30,51 @@ click==8.1.7 colorama==0.4.6 comm==0.2.0 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.5.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 jupyter-server==2.12.1 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,12 +92,12 @@ 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.13.1 nbdime==4.0.1 nbformat==5.9.2 nest-asyncio==1.5.8 @@ -111,36 +109,30 @@ 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 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 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 @@ -148,22 +140,21 @@ pyyaml==6.0.1 pyzmq==25.1.2 referencing==0.32.0 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.9 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,21 +165,20 @@ 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.24 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 +typing-extensions==4.9.0 +tzdata==2023.4 +ujson==5.9.0 +uproot==5.2.0 uri-template==1.3.0 urllib3==2.1.0 virtualenv==20.25.0 @@ -198,10 +188,8 @@ 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..2241142 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 @@ -32,50 +30,50 @@ click==8.1.7 colorama==0.4.6 comm==0.2.0 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.5.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 jupyter-server==2.12.1 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,12 +91,12 @@ 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.13.1 nbdime==4.0.1 nbformat==5.9.2 nest-asyncio==1.5.8 @@ -110,36 +108,30 @@ 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 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 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 @@ -147,22 +139,21 @@ pyyaml==6.0.1 pyzmq==25.1.2 referencing==0.32.0 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.9 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,20 +164,19 @@ 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.24 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 +typing-extensions==4.9.0 +tzdata==2023.4 +ujson==5.9.0 +uproot==5.2.0 uri-template==1.3.0 urllib3==2.1.0 virtualenv==20.25.0 @@ -196,10 +186,8 @@ 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..2848a05 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 @@ -32,50 +30,50 @@ click==8.1.7 colorama==0.4.6 comm==0.2.0 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.5.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 jupyter-server==2.12.1 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,12 +91,12 @@ 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.13.1 nbdime==4.0.1 nbformat==5.9.2 nest-asyncio==1.5.8 @@ -110,36 +108,30 @@ 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 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 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 @@ -147,22 +139,21 @@ pyyaml==6.0.1 pyzmq==25.1.2 referencing==0.32.0 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.9 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,20 +164,19 @@ 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.24 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 +typing-extensions==4.9.0 +tzdata==2023.4 +ujson==5.9.0 +uproot==5.2.0 uri-template==1.3.0 urllib3==2.1.0 virtualenv==20.25.0 @@ -196,10 +186,8 @@ 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..83ce8ba 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.9 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 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 8cc8436..10efe1f 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 @@ -33,52 +31,52 @@ click==8.1.7 colorama==0.4.6 comm==0.2.0 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.5.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 jupyter-server==2.12.1 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.13.1 nbdime==4.0.1 nbformat==5.9.2 nest-asyncio==1.5.8 @@ -113,38 +111,32 @@ 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 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 @@ -152,12 +144,11 @@ pyyaml==6.0.1 pyzmq==25.1.2 referencing==0.32.0 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.9 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,21 +169,20 @@ 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.24 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 +typing-extensions==4.9.0 +tzdata==2023.4 +ujson==5.9.0 +uproot==5.2.0 uri-template==1.3.0 urllib3==2.1.0 virtualenv==20.25.0 @@ -202,10 +192,8 @@ 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..719d4ad 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 @@ -32,52 +30,52 @@ click==8.1.7 colorama==0.4.6 comm==0.2.0 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.5.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 jupyter-server==2.12.1 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,12 +93,12 @@ 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.13.1 nbdime==4.0.1 nbformat==5.9.2 nest-asyncio==1.5.8 @@ -112,36 +110,30 @@ 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 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 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 @@ -149,22 +141,21 @@ pyyaml==6.0.1 pyzmq==25.1.2 referencing==0.32.0 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.9 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,21 +166,20 @@ 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.24 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 +typing-extensions==4.9.0 +tzdata==2023.4 +ujson==5.9.0 +uproot==5.2.0 uri-template==1.3.0 urllib3==2.1.0 virtualenv==20.25.0 @@ -199,10 +189,8 @@ 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 From ee1e8ba3cc54a5f83c33e3cee3e1ef74b6f5c932 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Tue, 9 Jan 2024 16:03:23 +0100 Subject: [PATCH 3/4] MAINT: autoupdate pre-commit hooks --- .gitpod.yml | 2 +- .pre-commit-config.yaml | 8 ++++---- .vscode/extensions.json | 3 ++- 3 files changed, 7 insertions(+), 6 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/.pre-commit-config.yaml b/.pre-commit-config.yaml index bc70979..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: @@ -52,7 +52,7 @@ repos: - --repo-title=Pawian Tools - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v8.2.1 + rev: v8.3.0 hooks: - id: cspell @@ -108,12 +108,12 @@ repos: - id: prettier - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.344 + rev: v1.1.345 hooks: - id: pyright - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.9 + rev: v0.1.11 hooks: - id: ruff args: [--fix] 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 82a77583b5d4ad9de31a731ee1ae849fc80152a3 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Tue, 9 Jan 2024 17:24:55 +0100 Subject: [PATCH 4/4] DX: define `nb` job in `tox.ini` --- 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