From fbb774d0bf5e2ab6528d6c58a3d1aa6d93426dde Mon Sep 17 00:00:00 2001 From: GitHub Date: Tue, 7 Nov 2023 03:15:05 +0000 Subject: [PATCH 1/9] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 98 +++++++++++++++++++-------------------- .constraints/py3.11.txt | 98 +++++++++++++++++++-------------------- .constraints/py3.6.txt | 6 +-- .constraints/py3.7.txt | 26 +++++------ .constraints/py3.8.txt | 88 +++++++++++++++++------------------ .constraints/py3.9.txt | 100 ++++++++++++++++++++-------------------- .pre-commit-config.yaml | 10 ++-- 7 files changed, 210 insertions(+), 216 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index bf7b64f..f7ca886 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -12,69 +12,68 @@ anyio==4.0.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 -asttokens==2.4.0 +asttokens==2.4.1 async-lru==2.0.4 attrs==23.1.0 -awkward==2.4.5 -awkward-cpp==24 -babel==2.13.0 -backcall==0.2.0 +awkward==2.4.9 +awkward-cpp==25 +babel==2.13.1 beautifulsoup4==4.12.2 -black==23.9.1 +black==23.10.1 bleach==6.1.0 -cachetools==5.3.1 +cachetools==5.3.2 certifi==2023.7.22 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 -charset-normalizer==3.3.0 +charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.1.4 -contourpy==1.1.1 +comm==0.2.0 +contourpy==1.2.0 coverage==7.3.2 cycler==0.12.1 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.7 -docstring-to-markdown==0.12 +docstring-to-markdown==0.13 docutils==0.19 exceptiongroup==1.1.3 execnet==2.0.2 -executing==2.0.0 +executing==2.0.1 fastjsonschema==2.18.1 -filelock==3.12.4 -fonttools==4.43.1 +filelock==3.13.1 +fonttools==4.44.0 fqdn==1.5.1 gprof2dot==2022.7.29 -greenlet==3.0.0 -identify==2.5.30 +greenlet==3.0.1 +identify==2.5.31 idna==3.4 imagesize==1.4.1 importlib-metadata==6.8.0 iniconfig==2.0.0 -ipykernel==6.25.2 -ipython==8.16.1 +ipykernel==6.26.0 +ipython==8.17.2 ipywidgets==8.1.1 isoduration==20.11.0 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.1 +jsonschema==4.19.2 jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 -jupyter-client==8.3.1 -jupyter-core==5.3.2 -jupyter-events==0.7.0 +jupyter-client==8.6.0 +jupyter-core==5.5.0 +jupyter-events==0.9.0 jupyter-lsp==2.2.0 -jupyter-server==2.7.3 +jupyter-server==2.10.0 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.6 +jupyterlab==4.0.8 jupyterlab-code-formatter==2.2.1 jupyterlab-lsp==5.0.0 -jupyterlab-myst==2.0.2 ; python_version >= "3.7.0" +jupyterlab-myst==2.1.0 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 jupyterlab-server==2.25.0 jupyterlab-widgets==3.0.9 @@ -82,54 +81,53 @@ kiwisolver==1.4.5 livereload==2.6.3 markdown-it-py==2.2.0 markupsafe==2.1.3 -matplotlib==3.8.0 +matplotlib==3.8.1 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 mistune==3.0.2 -mypy==1.5.1 +mypy==1.6.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.7.4 -nbconvert==7.9.2 +nbconvert==7.11.0 nbformat==5.9.2 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook-shim==0.2.3 -numpy==1.26.0 +numpy==1.26.1 overrides==7.4.0 packaging==23.2 -pandas==2.1.1 +pandas==2.1.2 pandocfilters==1.5.0 parso==0.8.3 pathspec==0.11.2 pexpect==4.8.0 -pickleshare==0.7.5 -pillow==10.0.1 +pillow==10.1.0 platformdirs==3.11.0 pluggy==1.3.0 -pre-commit==3.4.0 -prometheus-client==0.17.1 +pre-commit==3.5.0 +prometheus-client==0.18.0 prompt-toolkit==3.0.39 -psutil==5.9.5 +psutil==5.9.6 ptyprocess==0.7.0 pure-eval==0.2.2 pycparser==2.21 -pydata-sphinx-theme==0.14.1 +pydata-sphinx-theme==0.14.3 pydeps==1.12.17 pygments==2.16.1 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.2 +pytest==7.4.3 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.3.1 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-server==1.8.2 -pytoolconfig==1.2.5 +python-lsp-server==1.9.0 +pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.1 @@ -137,9 +135,9 @@ referencing==0.30.2 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.10.0 -rpds-py==0.10.4 -ruff==0.0.292 ; python_version >= "3.7.0" +rope==1.11.0 +rpds-py==0.12.0 +ruff==0.1.4 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -150,7 +148,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.2.1 +sphinx-thebe==0.3.0 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.7 sphinxcontrib-devhelp==1.0.5 @@ -158,7 +156,7 @@ sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.21 +sqlalchemy==2.0.23 stack-data==0.6.3 stdlib-list==0.9.0 tabulate==0.9.0 @@ -167,21 +165,21 @@ tinycss2==1.2.1 tomli==2.0.1 tornado==6.3.3 tox==4.11.3 -traitlets==5.11.2 +traitlets==5.13.0 types-python-dateutil==2.8.19.14 types-setuptools==68.2.0.0 typing-extensions==4.8.0 tzdata==2023.3 ujson==5.8.0 -uproot==5.0.12 +uproot==5.1.2 uri-template==1.3.0 -urllib3==2.0.6 -virtualenv==20.24.5 -wcwidth==0.2.8 +urllib3==2.0.7 +virtualenv==20.24.6 +wcwidth==0.2.9 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.4 -wheel==0.41.2 +wheel==0.41.3 widgetsnbextension==4.0.9 y-py==0.5.9 ypy-websocket==0.8.2 ; python_version >= "3.7.0" diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 8781953..9116771 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -12,68 +12,67 @@ anyio==4.0.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 -asttokens==2.4.0 +asttokens==2.4.1 async-lru==2.0.4 attrs==23.1.0 -awkward==2.4.5 -awkward-cpp==24 -babel==2.13.0 -backcall==0.2.0 +awkward==2.4.9 +awkward-cpp==25 +babel==2.13.1 beautifulsoup4==4.12.2 -black==23.9.1 +black==23.10.1 bleach==6.1.0 -cachetools==5.3.1 +cachetools==5.3.2 certifi==2023.7.22 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 -charset-normalizer==3.3.0 +charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.1.4 -contourpy==1.1.1 +comm==0.2.0 +contourpy==1.2.0 coverage==7.3.2 cycler==0.12.1 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.7 -docstring-to-markdown==0.12 +docstring-to-markdown==0.13 docutils==0.19 execnet==2.0.2 -executing==2.0.0 +executing==2.0.1 fastjsonschema==2.18.1 -filelock==3.12.4 -fonttools==4.43.1 +filelock==3.13.1 +fonttools==4.44.0 fqdn==1.5.1 gprof2dot==2022.7.29 -greenlet==3.0.0 -identify==2.5.30 +greenlet==3.0.1 +identify==2.5.31 idna==3.4 imagesize==1.4.1 importlib-metadata==6.8.0 iniconfig==2.0.0 -ipykernel==6.25.2 -ipython==8.16.1 +ipykernel==6.26.0 +ipython==8.17.2 ipywidgets==8.1.1 isoduration==20.11.0 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.1 +jsonschema==4.19.2 jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 -jupyter-client==8.3.1 -jupyter-core==5.3.2 -jupyter-events==0.7.0 +jupyter-client==8.6.0 +jupyter-core==5.5.0 +jupyter-events==0.9.0 jupyter-lsp==2.2.0 -jupyter-server==2.7.3 +jupyter-server==2.10.0 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.6 +jupyterlab==4.0.8 jupyterlab-code-formatter==2.2.1 jupyterlab-lsp==5.0.0 -jupyterlab-myst==2.0.2 ; python_version >= "3.7.0" +jupyterlab-myst==2.1.0 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 jupyterlab-server==2.25.0 jupyterlab-widgets==3.0.9 @@ -81,54 +80,53 @@ kiwisolver==1.4.5 livereload==2.6.3 markdown-it-py==2.2.0 markupsafe==2.1.3 -matplotlib==3.8.0 +matplotlib==3.8.1 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 mistune==3.0.2 -mypy==1.5.1 +mypy==1.6.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.7.4 -nbconvert==7.9.2 +nbconvert==7.11.0 nbformat==5.9.2 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook-shim==0.2.3 -numpy==1.26.0 +numpy==1.26.1 overrides==7.4.0 packaging==23.2 -pandas==2.1.1 +pandas==2.1.2 pandocfilters==1.5.0 parso==0.8.3 pathspec==0.11.2 pexpect==4.8.0 -pickleshare==0.7.5 -pillow==10.0.1 +pillow==10.1.0 platformdirs==3.11.0 pluggy==1.3.0 -pre-commit==3.4.0 -prometheus-client==0.17.1 +pre-commit==3.5.0 +prometheus-client==0.18.0 prompt-toolkit==3.0.39 -psutil==5.9.5 +psutil==5.9.6 ptyprocess==0.7.0 pure-eval==0.2.2 pycparser==2.21 -pydata-sphinx-theme==0.14.1 +pydata-sphinx-theme==0.14.3 pydeps==1.12.17 pygments==2.16.1 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.2 +pytest==7.4.3 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.3.1 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-server==1.8.2 -pytoolconfig==1.2.5 +python-lsp-server==1.9.0 +pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.1 @@ -136,9 +134,9 @@ referencing==0.30.2 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.10.0 -rpds-py==0.10.4 -ruff==0.0.292 ; python_version >= "3.7.0" +rope==1.11.0 +rpds-py==0.12.0 +ruff==0.1.4 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -149,7 +147,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.2.1 +sphinx-thebe==0.3.0 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.7 sphinxcontrib-devhelp==1.0.5 @@ -157,7 +155,7 @@ sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.21 +sqlalchemy==2.0.23 stack-data==0.6.3 stdlib-list==0.9.0 tabulate==0.9.0 @@ -165,21 +163,21 @@ terminado==0.17.1 tinycss2==1.2.1 tornado==6.3.3 tox==4.11.3 -traitlets==5.11.2 +traitlets==5.13.0 types-python-dateutil==2.8.19.14 types-setuptools==68.2.0.0 typing-extensions==4.8.0 tzdata==2023.3 ujson==5.8.0 -uproot==5.0.12 +uproot==5.1.2 uri-template==1.3.0 -urllib3==2.0.6 -virtualenv==20.24.5 -wcwidth==0.2.8 +urllib3==2.0.7 +virtualenv==20.24.6 +wcwidth==0.2.9 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.4 -wheel==0.41.2 +wheel==0.41.3 widgetsnbextension==4.0.9 y-py==0.5.9 ypy-websocket==0.8.2 ; python_version >= "3.7.0" diff --git a/.constraints/py3.6.txt b/.constraints/py3.6.txt index 2f192f1..3444837 100644 --- a/.constraints/py3.6.txt +++ b/.constraints/py3.6.txt @@ -138,7 +138,7 @@ sphinxcontrib-htmlhelp==2.0.0 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 -sqlalchemy==1.4.49 +sqlalchemy==1.4.50 stdlib-list==0.8.0 terminado==0.12.1 testpath==0.6.0 @@ -152,9 +152,9 @@ types-setuptools==68.2.0.0 typing-extensions==4.1.1 ujson==4.3.0 uproot==4.3.7 -urllib3==1.26.17 +urllib3==1.26.18 virtualenv==20.15.1 ; python_version < "3.8.0" -wcwidth==0.2.8 +wcwidth==0.2.9 webencodings==0.5.1 websocket-client==1.3.1 wheel==0.37.1 diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index d73ebd9..fdfd609 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -15,7 +15,7 @@ arrow==1.2.3 attrs==23.1.0 awkward==2.2.4 awkward-cpp==17 -babel==2.13.0 +babel==2.13.1 backcall==0.2.0 beautifulsoup4==4.12.2 black==23.3.0 @@ -24,7 +24,7 @@ cached-property==1.5.2 certifi==2023.7.22 cffi==1.15.1 cfgv==3.3.1 -charset-normalizer==3.3.0 +charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 comm==0.1.4 @@ -34,7 +34,7 @@ debugpy==1.7.0 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.7 -docstring-to-markdown==0.12 +docstring-to-markdown==0.13 docutils==0.17.1 entrypoints==0.4 exceptiongroup==1.1.3 @@ -44,7 +44,7 @@ filelock==3.12.2 fonttools==4.38.0 fqdn==1.5.1 gprof2dot==2022.7.29 -greenlet==3.0.0 +greenlet==3.0.1 identify==2.5.24 idna==3.4 imagesize==1.4.1 @@ -113,7 +113,7 @@ pluggy==1.2.0 pre-commit==2.21.0 prometheus-client==0.17.1 prompt-toolkit==3.0.39 -psutil==5.9.5 +psutil==5.9.6 ptyprocess==0.7.0 py==1.11.0 pycparser==2.21 @@ -122,7 +122,7 @@ pydeps==1.12.17 pygments==2.16.1 pyparsing==3.1.1 pyrsistent==0.19.3 -pytest==7.4.2 +pytest==7.4.3 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.3.1 @@ -130,7 +130,7 @@ python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.0.0 python-lsp-server==1.7.4 -pytoolconfig==1.2.5 +pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==24.0.1 @@ -138,7 +138,7 @@ requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.9.0 -ruff==0.0.292 ; python_version >= "3.7.0" +ruff==0.1.4 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -157,7 +157,7 @@ sphinxcontrib-htmlhelp==2.0.0 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 -sqlalchemy==1.4.49 +sqlalchemy==1.4.50 stdlib-list==0.9.0 tabulate==0.9.0 terminado==0.17.1 @@ -170,15 +170,15 @@ typed-ast==1.5.5 types-setuptools==68.2.0.0 typing-extensions==4.7.1 ujson==5.7.0 -uproot==5.0.12 +uproot==5.0.13 uri-template==1.3.0 -urllib3==2.0.6 +urllib3==2.0.7 virtualenv==20.21.1 ; python_version < "3.8.0" -wcwidth==0.2.8 +wcwidth==0.2.9 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.1 -wheel==0.41.2 +wheel==0.41.3 widgetsnbextension==4.0.9 y-py==0.5.9 ypy-websocket==0.8.2 ; python_version >= "3.7.0" diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 0a106c8..68ad863 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -12,25 +12,25 @@ anyio==4.0.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 -asttokens==2.4.0 +asttokens==2.4.1 async-lru==2.0.4 attrs==23.1.0 -awkward==2.4.5 -awkward-cpp==24 -babel==2.13.0 +awkward==2.4.9 +awkward-cpp==25 +babel==2.13.1 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.9.1 +black==23.10.1 bleach==6.1.0 -cachetools==5.3.1 +cachetools==5.3.2 certifi==2023.7.22 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 -charset-normalizer==3.3.0 +charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.1.4 +comm==0.2.0 contourpy==1.1.1 coverage==7.3.2 cycler==0.12.1 @@ -38,24 +38,24 @@ debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.7 -docstring-to-markdown==0.12 +docstring-to-markdown==0.13 docutils==0.19 exceptiongroup==1.1.3 execnet==2.0.2 -executing==2.0.0 +executing==2.0.1 fastjsonschema==2.18.1 -filelock==3.12.4 -fonttools==4.43.1 +filelock==3.13.1 +fonttools==4.44.0 fqdn==1.5.1 gprof2dot==2022.7.29 -greenlet==3.0.0 -identify==2.5.30 +greenlet==3.0.1 +identify==2.5.31 idna==3.4 imagesize==1.4.1 importlib-metadata==6.8.0 -importlib-resources==6.1.0 +importlib-resources==6.1.1 iniconfig==2.0.0 -ipykernel==6.25.2 +ipykernel==6.26.0 ipython==8.12.3 ipywidgets==8.1.1 isoduration==20.11.0 @@ -63,19 +63,19 @@ jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.1 +jsonschema==4.19.2 jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 -jupyter-client==8.3.1 -jupyter-core==5.3.2 -jupyter-events==0.7.0 +jupyter-client==8.6.0 +jupyter-core==5.5.0 +jupyter-events==0.9.0 jupyter-lsp==2.2.0 -jupyter-server==2.7.3 +jupyter-server==2.10.0 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.6 +jupyterlab==4.0.8 jupyterlab-code-formatter==2.2.1 jupyterlab-lsp==5.0.0 -jupyterlab-myst==2.0.2 ; python_version >= "3.7.0" +jupyterlab-myst==2.1.0 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 jupyterlab-server==2.25.0 jupyterlab-widgets==3.0.9 @@ -88,12 +88,12 @@ matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 mistune==3.0.2 -mypy==1.5.1 +mypy==1.6.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.7.4 -nbconvert==7.9.2 +nbconvert==7.11.0 nbformat==5.9.2 nest-asyncio==1.5.8 nodeenv==1.8.0 @@ -107,31 +107,31 @@ parso==0.8.3 pathspec==0.11.2 pexpect==4.8.0 pickleshare==0.7.5 -pillow==10.0.1 +pillow==10.1.0 pkgutil-resolve-name==1.3.10 platformdirs==3.11.0 pluggy==1.3.0 -pre-commit==3.4.0 -prometheus-client==0.17.1 +pre-commit==3.5.0 +prometheus-client==0.18.0 prompt-toolkit==3.0.39 -psutil==5.9.5 +psutil==5.9.6 ptyprocess==0.7.0 pure-eval==0.2.2 pycparser==2.21 -pydata-sphinx-theme==0.14.1 +pydata-sphinx-theme==0.14.3 pydeps==1.12.17 pygments==2.16.1 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.2 +pytest==7.4.3 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.3.1 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-server==1.8.2 -pytoolconfig==1.2.5 +python-lsp-server==1.9.0 +pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.1 @@ -139,9 +139,9 @@ referencing==0.30.2 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.10.0 -rpds-py==0.10.4 -ruff==0.0.292 ; python_version >= "3.7.0" +rope==1.11.0 +rpds-py==0.12.0 +ruff==0.1.4 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -152,7 +152,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.2.1 +sphinx-thebe==0.3.0 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.4 sphinxcontrib-devhelp==1.0.2 @@ -160,7 +160,7 @@ sphinxcontrib-htmlhelp==2.0.1 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 -sqlalchemy==2.0.21 +sqlalchemy==2.0.23 stack-data==0.6.3 stdlib-list==0.9.0 tabulate==0.9.0 @@ -169,21 +169,21 @@ tinycss2==1.2.1 tomli==2.0.1 tornado==6.3.3 tox==4.11.3 -traitlets==5.11.2 +traitlets==5.13.0 types-python-dateutil==2.8.19.14 types-setuptools==68.2.0.0 typing-extensions==4.8.0 tzdata==2023.3 ujson==5.8.0 -uproot==5.0.12 +uproot==5.1.2 uri-template==1.3.0 -urllib3==2.0.6 -virtualenv==20.24.5 -wcwidth==0.2.8 +urllib3==2.0.7 +virtualenv==20.24.6 +wcwidth==0.2.9 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.4 -wheel==0.41.2 +wheel==0.41.3 widgetsnbextension==4.0.9 y-py==0.5.9 ypy-websocket==0.8.2 ; python_version >= "3.7.0" diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 62d357c..86262c5 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -12,70 +12,69 @@ anyio==4.0.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 -asttokens==2.4.0 +asttokens==2.4.1 async-lru==2.0.4 attrs==23.1.0 -awkward==2.4.5 -awkward-cpp==24 -babel==2.13.0 -backcall==0.2.0 +awkward==2.4.9 +awkward-cpp==25 +babel==2.13.1 beautifulsoup4==4.12.2 -black==23.9.1 +black==23.10.1 bleach==6.1.0 -cachetools==5.3.1 +cachetools==5.3.2 certifi==2023.7.22 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 -charset-normalizer==3.3.0 +charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.1.4 -contourpy==1.1.1 +comm==0.2.0 +contourpy==1.2.0 coverage==7.3.2 cycler==0.12.1 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.7 -docstring-to-markdown==0.12 +docstring-to-markdown==0.13 docutils==0.19 exceptiongroup==1.1.3 execnet==2.0.2 -executing==2.0.0 +executing==2.0.1 fastjsonschema==2.18.1 -filelock==3.12.4 -fonttools==4.43.1 +filelock==3.13.1 +fonttools==4.44.0 fqdn==1.5.1 gprof2dot==2022.7.29 -greenlet==3.0.0 -identify==2.5.30 +greenlet==3.0.1 +identify==2.5.31 idna==3.4 imagesize==1.4.1 importlib-metadata==6.8.0 -importlib-resources==6.1.0 +importlib-resources==6.1.1 iniconfig==2.0.0 -ipykernel==6.25.2 -ipython==8.16.1 +ipykernel==6.26.0 +ipython==8.17.2 ipywidgets==8.1.1 isoduration==20.11.0 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.1 +jsonschema==4.19.2 jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 -jupyter-client==8.3.1 -jupyter-core==5.3.2 -jupyter-events==0.7.0 +jupyter-client==8.6.0 +jupyter-core==5.5.0 +jupyter-events==0.9.0 jupyter-lsp==2.2.0 -jupyter-server==2.7.3 +jupyter-server==2.10.0 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.6 +jupyterlab==4.0.8 jupyterlab-code-formatter==2.2.1 jupyterlab-lsp==5.0.0 -jupyterlab-myst==2.0.2 ; python_version >= "3.7.0" +jupyterlab-myst==2.1.0 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 jupyterlab-server==2.25.0 jupyterlab-widgets==3.0.9 @@ -83,54 +82,53 @@ kiwisolver==1.4.5 livereload==2.6.3 markdown-it-py==2.2.0 markupsafe==2.1.3 -matplotlib==3.8.0 +matplotlib==3.8.1 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 mistune==3.0.2 -mypy==1.5.1 +mypy==1.6.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.7.4 -nbconvert==7.9.2 +nbconvert==7.11.0 nbformat==5.9.2 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook-shim==0.2.3 -numpy==1.26.0 +numpy==1.26.1 overrides==7.4.0 packaging==23.2 -pandas==2.1.1 +pandas==2.1.2 pandocfilters==1.5.0 parso==0.8.3 pathspec==0.11.2 pexpect==4.8.0 -pickleshare==0.7.5 -pillow==10.0.1 +pillow==10.1.0 platformdirs==3.11.0 pluggy==1.3.0 -pre-commit==3.4.0 -prometheus-client==0.17.1 +pre-commit==3.5.0 +prometheus-client==0.18.0 prompt-toolkit==3.0.39 -psutil==5.9.5 +psutil==5.9.6 ptyprocess==0.7.0 pure-eval==0.2.2 pycparser==2.21 -pydata-sphinx-theme==0.14.1 +pydata-sphinx-theme==0.14.3 pydeps==1.12.17 pygments==2.16.1 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.2 +pytest==7.4.3 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.3.1 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-server==1.8.2 -pytoolconfig==1.2.5 +python-lsp-server==1.9.0 +pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.1 @@ -138,9 +136,9 @@ referencing==0.30.2 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.10.0 -rpds-py==0.10.4 -ruff==0.0.292 ; python_version >= "3.7.0" +rope==1.11.0 +rpds-py==0.12.0 +ruff==0.1.4 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -151,7 +149,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.2.1 +sphinx-thebe==0.3.0 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.7 sphinxcontrib-devhelp==1.0.5 @@ -159,7 +157,7 @@ sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.21 +sqlalchemy==2.0.23 stack-data==0.6.3 stdlib-list==0.9.0 tabulate==0.9.0 @@ -168,21 +166,21 @@ tinycss2==1.2.1 tomli==2.0.1 tornado==6.3.3 tox==4.11.3 -traitlets==5.11.2 +traitlets==5.13.0 types-python-dateutil==2.8.19.14 types-setuptools==68.2.0.0 typing-extensions==4.8.0 tzdata==2023.3 ujson==5.8.0 -uproot==5.0.12 +uproot==5.1.2 uri-template==1.3.0 -urllib3==2.0.6 -virtualenv==20.24.5 -wcwidth==0.2.8 +urllib3==2.0.7 +virtualenv==20.24.6 +wcwidth==0.2.9 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.4 -wheel==0.41.2 +wheel==0.41.3 widgetsnbextension==4.0.9 y-py==0.5.9 ypy-websocket==0.8.2 ; python_version >= "3.7.0" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 485a6a9..8b477ab 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -42,7 +42,7 @@ repos: - id: format-setup-cfg - repo: https://github.com/psf/black - rev: 23.9.1 + rev: 23.10.1 hooks: - id: black - id: black-jupyter @@ -52,12 +52,12 @@ repos: - jupyter - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v7.3.1 + rev: v7.3.2 hooks: - id: cspell - repo: https://github.com/editorconfig-checker/editorconfig-checker.python - rev: 2.7.2 + rev: 2.7.3 hooks: - id: editorconfig-checker name: editorconfig @@ -108,7 +108,7 @@ repos: - id: prettier - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.330 + rev: v1.1.334 hooks: - id: pyright @@ -120,7 +120,7 @@ repos: - --py36-plus - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.292 + rev: v0.1.4 hooks: - id: ruff args: From 61a1c3abee21833776b595f11a1479cb855fd9e6 Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 1 Dec 2023 11:17:10 +0000 Subject: [PATCH 2/9] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 102 ++++++++++++++++++++-------------------- .constraints/py3.11.txt | 100 +++++++++++++++++++-------------------- .constraints/py3.6.txt | 10 ++-- .constraints/py3.7.txt | 26 +++++----- .constraints/py3.8.txt | 82 ++++++++++++++++---------------- .constraints/py3.9.txt | 102 ++++++++++++++++++++-------------------- .pre-commit-config.yaml | 12 ++--- 7 files changed, 217 insertions(+), 217 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index f7ca886..53b0795 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -8,21 +8,21 @@ accessible-pygments==0.0.4 aiofiles==22.1.0 aiosqlite==0.19.0 alabaster==0.7.13 -anyio==4.0.0 +anyio==4.1.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.4.9 -awkward-cpp==25 +awkward==2.5.0 +awkward-cpp==26 babel==2.13.1 beautifulsoup4==4.12.2 -black==23.10.1 +black==23.11.0 bleach==6.1.0 cachetools==5.3.2 -certifi==2023.7.22 +certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 @@ -39,90 +39,90 @@ defusedxml==0.7.1 distlib==0.3.7 docstring-to-markdown==0.13 docutils==0.19 -exceptiongroup==1.1.3 +exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.18.1 +fastjsonschema==2.19.0 filelock==3.13.1 -fonttools==4.44.0 +fonttools==4.45.1 fqdn==1.5.1 gprof2dot==2022.7.29 greenlet==3.0.1 -identify==2.5.31 -idna==3.4 +identify==2.5.32 +idna==3.6 imagesize==1.4.1 importlib-metadata==6.8.0 iniconfig==2.0.0 -ipykernel==6.26.0 -ipython==8.17.2 +ipykernel==6.27.1 +ipython==8.18.1 ipywidgets==8.1.1 isoduration==20.11.0 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.2 -jsonschema-specifications==2023.7.1 -jupyter-cache==0.6.1 +jsonschema==4.20.0 +jsonschema-specifications==2023.11.2 +jupyter-cache==1.0.0 jupyter-client==8.6.0 jupyter-core==5.5.0 jupyter-events==0.9.0 -jupyter-lsp==2.2.0 -jupyter-server==2.10.0 +jupyter-lsp==2.2.1 +jupyter-server==2.11.1 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.8 +jupyterlab==4.0.9 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==5.0.0 +jupyterlab-lsp==5.0.1 jupyterlab-myst==2.1.0 ; python_version >= "3.7.0" -jupyterlab-pygments==0.2.2 -jupyterlab-server==2.25.0 +jupyterlab-pygments==0.3.0 +jupyterlab-server==2.25.2 jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 livereload==2.6.3 -markdown-it-py==2.2.0 +markdown-it-py==3.0.0 markupsafe==2.1.3 -matplotlib==3.8.1 +matplotlib==3.8.2 matplotlib-inline==0.1.6 -mdit-py-plugins==0.3.5 +mdit-py-plugins==0.4.0 mdurl==0.1.2 mistune==3.0.2 -mypy==1.6.1 +mypy==1.7.1 mypy-extensions==1.0.0 -myst-nb==0.17.2 -myst-parser==0.18.1 -nbclient==0.7.4 +myst-nb==1.0.0 +myst-parser==2.0.0 +nbclient==0.9.0 nbconvert==7.11.0 nbformat==5.9.2 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook-shim==0.2.3 -numpy==1.26.1 +numpy==1.26.2 overrides==7.4.0 packaging==23.2 -pandas==2.1.2 +pandas==2.1.3 pandocfilters==1.5.0 parso==0.8.3 pathspec==0.11.2 -pexpect==4.8.0 +pexpect==4.9.0 pillow==10.1.0 -platformdirs==3.11.0 +platformdirs==4.0.0 pluggy==1.3.0 pre-commit==3.5.0 -prometheus-client==0.18.0 -prompt-toolkit==3.0.39 +prometheus-client==0.19.0 +prompt-toolkit==3.0.41 psutil==5.9.6 ptyprocess==0.7.0 pure-eval==0.2.2 pycparser==2.21 -pydata-sphinx-theme==0.14.3 +pydata-sphinx-theme==0.14.4 pydeps==1.12.17 -pygments==2.16.1 +pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 pytest==7.4.3 pytest-cov==4.1.0 pytest-profiling==1.7.0 -pytest-xdist==3.3.1 +pytest-xdist==3.5.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 @@ -131,19 +131,19 @@ pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.1 -referencing==0.30.2 +referencing==0.31.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 -rpds-py==0.12.0 -ruff==0.1.4 ; python_version >= "3.7.0" +rpds-py==0.13.2 +ruff==0.1.6 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 snowballstemmer==2.2.0 soupsieve==2.5 -sphinx==5.3.0 +sphinx==6.2.1 sphinx-autobuild==2021.3.14 sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 @@ -158,28 +158,28 @@ sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 sqlalchemy==2.0.23 stack-data==0.6.3 -stdlib-list==0.9.0 +stdlib-list==0.10.0 tabulate==0.9.0 -terminado==0.17.1 +terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 -tornado==6.3.3 -tox==4.11.3 -traitlets==5.13.0 +tornado==6.4 +tox==4.11.4 +traitlets==5.14.0 types-python-dateutil==2.8.19.14 -types-setuptools==68.2.0.0 +types-setuptools==69.0.0.0 typing-extensions==4.8.0 tzdata==2023.3 ujson==5.8.0 uproot==5.1.2 uri-template==1.3.0 -urllib3==2.0.7 -virtualenv==20.24.6 -wcwidth==0.2.9 +urllib3==2.1.0 +virtualenv==20.24.7 +wcwidth==0.2.12 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.4 -wheel==0.41.3 +wheel==0.42.0 widgetsnbextension==4.0.9 y-py==0.5.9 ypy-websocket==0.8.2 ; python_version >= "3.7.0" diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 9116771..72a44bd 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -8,21 +8,21 @@ accessible-pygments==0.0.4 aiofiles==22.1.0 aiosqlite==0.19.0 alabaster==0.7.13 -anyio==4.0.0 +anyio==4.1.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.4.9 -awkward-cpp==25 +awkward==2.5.0 +awkward-cpp==26 babel==2.13.1 beautifulsoup4==4.12.2 -black==23.10.1 +black==23.11.0 bleach==6.1.0 cachetools==5.3.2 -certifi==2023.7.22 +certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 @@ -41,87 +41,87 @@ docstring-to-markdown==0.13 docutils==0.19 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.18.1 +fastjsonschema==2.19.0 filelock==3.13.1 -fonttools==4.44.0 +fonttools==4.45.1 fqdn==1.5.1 gprof2dot==2022.7.29 greenlet==3.0.1 -identify==2.5.31 -idna==3.4 +identify==2.5.32 +idna==3.6 imagesize==1.4.1 importlib-metadata==6.8.0 iniconfig==2.0.0 -ipykernel==6.26.0 -ipython==8.17.2 +ipykernel==6.27.1 +ipython==8.18.1 ipywidgets==8.1.1 isoduration==20.11.0 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.2 -jsonschema-specifications==2023.7.1 -jupyter-cache==0.6.1 +jsonschema==4.20.0 +jsonschema-specifications==2023.11.2 +jupyter-cache==1.0.0 jupyter-client==8.6.0 jupyter-core==5.5.0 jupyter-events==0.9.0 -jupyter-lsp==2.2.0 -jupyter-server==2.10.0 +jupyter-lsp==2.2.1 +jupyter-server==2.11.1 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.8 +jupyterlab==4.0.9 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==5.0.0 +jupyterlab-lsp==5.0.1 jupyterlab-myst==2.1.0 ; python_version >= "3.7.0" -jupyterlab-pygments==0.2.2 -jupyterlab-server==2.25.0 +jupyterlab-pygments==0.3.0 +jupyterlab-server==2.25.2 jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 livereload==2.6.3 -markdown-it-py==2.2.0 +markdown-it-py==3.0.0 markupsafe==2.1.3 -matplotlib==3.8.1 +matplotlib==3.8.2 matplotlib-inline==0.1.6 -mdit-py-plugins==0.3.5 +mdit-py-plugins==0.4.0 mdurl==0.1.2 mistune==3.0.2 -mypy==1.6.1 +mypy==1.7.1 mypy-extensions==1.0.0 -myst-nb==0.17.2 -myst-parser==0.18.1 -nbclient==0.7.4 +myst-nb==1.0.0 +myst-parser==2.0.0 +nbclient==0.9.0 nbconvert==7.11.0 nbformat==5.9.2 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook-shim==0.2.3 -numpy==1.26.1 +numpy==1.26.2 overrides==7.4.0 packaging==23.2 -pandas==2.1.2 +pandas==2.1.3 pandocfilters==1.5.0 parso==0.8.3 pathspec==0.11.2 -pexpect==4.8.0 +pexpect==4.9.0 pillow==10.1.0 -platformdirs==3.11.0 +platformdirs==4.0.0 pluggy==1.3.0 pre-commit==3.5.0 -prometheus-client==0.18.0 -prompt-toolkit==3.0.39 +prometheus-client==0.19.0 +prompt-toolkit==3.0.41 psutil==5.9.6 ptyprocess==0.7.0 pure-eval==0.2.2 pycparser==2.21 -pydata-sphinx-theme==0.14.3 +pydata-sphinx-theme==0.14.4 pydeps==1.12.17 -pygments==2.16.1 +pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 pytest==7.4.3 pytest-cov==4.1.0 pytest-profiling==1.7.0 -pytest-xdist==3.3.1 +pytest-xdist==3.5.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 @@ -130,19 +130,19 @@ pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.1 -referencing==0.30.2 +referencing==0.31.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 -rpds-py==0.12.0 -ruff==0.1.4 ; python_version >= "3.7.0" +rpds-py==0.13.2 +ruff==0.1.6 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 snowballstemmer==2.2.0 soupsieve==2.5 -sphinx==5.3.0 +sphinx==6.2.1 sphinx-autobuild==2021.3.14 sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 @@ -157,27 +157,27 @@ sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 sqlalchemy==2.0.23 stack-data==0.6.3 -stdlib-list==0.9.0 +stdlib-list==0.10.0 tabulate==0.9.0 -terminado==0.17.1 +terminado==0.18.0 tinycss2==1.2.1 -tornado==6.3.3 -tox==4.11.3 -traitlets==5.13.0 +tornado==6.4 +tox==4.11.4 +traitlets==5.14.0 types-python-dateutil==2.8.19.14 -types-setuptools==68.2.0.0 +types-setuptools==69.0.0.0 typing-extensions==4.8.0 tzdata==2023.3 ujson==5.8.0 uproot==5.1.2 uri-template==1.3.0 -urllib3==2.0.7 -virtualenv==20.24.6 -wcwidth==0.2.9 +urllib3==2.1.0 +virtualenv==20.24.7 +wcwidth==0.2.12 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.4 -wheel==0.41.3 +wheel==0.42.0 widgetsnbextension==4.0.9 y-py==0.5.9 ypy-websocket==0.8.2 ; python_version >= "3.7.0" diff --git a/.constraints/py3.6.txt b/.constraints/py3.6.txt index 3444837..cba872e 100644 --- a/.constraints/py3.6.txt +++ b/.constraints/py3.6.txt @@ -16,7 +16,7 @@ backcall==0.2.0 beautifulsoup4==4.12.2 black==22.8.0 bleach==4.1.0 -certifi==2023.7.22 +certifi==2023.11.17 cffi==1.15.1 cfgv==3.3.1 charset-normalizer==2.0.12 @@ -39,7 +39,7 @@ gitpython==3.1.18 gprof2dot==2022.7.29 greenlet==2.0.2 identify==2.4.4 -idna==3.4 +idna==3.6 imagesize==1.4.1 immutables==0.19 importlib-metadata==4.8.3 ; python_version < "3.8.0" @@ -80,7 +80,7 @@ myst-parser==0.15.2 nbclassic==0.3.5 nbclient==0.5.9 nbconvert==6.0.7 -nbdime==3.2.1 +nbdime==4.0.1 nbformat==5.1.3 nest-asyncio==1.5.8 nodeenv==1.6.0 @@ -91,7 +91,7 @@ pandas==1.1.5 pandocfilters==1.5.0 parso==0.7.1 pathspec==0.9.0 -pexpect==4.8.0 +pexpect==4.9.0 pickleshare==0.7.5 pillow==8.4.0 platformdirs==2.4.0 @@ -154,7 +154,7 @@ ujson==4.3.0 uproot==4.3.7 urllib3==1.26.18 virtualenv==20.15.1 ; python_version < "3.8.0" -wcwidth==0.2.9 +wcwidth==0.2.12 webencodings==0.5.1 websocket-client==1.3.1 wheel==0.37.1 diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index fdfd609..5a2c72b 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -21,7 +21,7 @@ beautifulsoup4==4.12.2 black==23.3.0 bleach==6.0.0 cached-property==1.5.2 -certifi==2023.7.22 +certifi==2023.11.17 cffi==1.15.1 cfgv==3.3.1 charset-normalizer==3.3.2 @@ -37,16 +37,16 @@ distlib==0.3.7 docstring-to-markdown==0.13 docutils==0.17.1 entrypoints==0.4 -exceptiongroup==1.1.3 +exceptiongroup==1.2.0 execnet==2.0.2 -fastjsonschema==2.18.1 +fastjsonschema==2.19.0 filelock==3.12.2 fonttools==4.38.0 fqdn==1.5.1 gprof2dot==2022.7.29 greenlet==3.0.1 identify==2.5.24 -idna==3.4 +idna==3.6 imagesize==1.4.1 importlib-metadata==6.7.0 ; python_version < "3.8.0" importlib-resources==5.12.0 @@ -104,7 +104,7 @@ pandas==1.3.5 pandocfilters==1.5.0 parso==0.8.3 pathspec==0.11.2 -pexpect==4.8.0 +pexpect==4.9.0 pickleshare==0.7.5 pillow==9.5.0 pkgutil-resolve-name==1.3.10 @@ -112,20 +112,20 @@ platformdirs==3.11.0 pluggy==1.2.0 pre-commit==2.21.0 prometheus-client==0.17.1 -prompt-toolkit==3.0.39 +prompt-toolkit==3.0.41 psutil==5.9.6 ptyprocess==0.7.0 py==1.11.0 pycparser==2.21 pydata-sphinx-theme==0.13.3 pydeps==1.12.17 -pygments==2.16.1 +pygments==2.17.2 pyparsing==3.1.1 pyrsistent==0.19.3 pytest==7.4.3 pytest-cov==4.1.0 pytest-profiling==1.7.0 -pytest-xdist==3.3.1 +pytest-xdist==3.5.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.0.0 @@ -138,7 +138,7 @@ requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.9.0 -ruff==0.1.4 ; python_version >= "3.7.0" +ruff==0.1.6 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -158,7 +158,7 @@ sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 sqlalchemy==1.4.50 -stdlib-list==0.9.0 +stdlib-list==0.10.0 tabulate==0.9.0 terminado==0.17.1 tinycss2==1.2.1 @@ -167,18 +167,18 @@ tornado==6.2 tox==3.28.0 ; python_version < "3.8.0" traitlets==5.9.0 typed-ast==1.5.5 -types-setuptools==68.2.0.0 +types-setuptools==69.0.0.0 typing-extensions==4.7.1 ujson==5.7.0 uproot==5.0.13 uri-template==1.3.0 urllib3==2.0.7 virtualenv==20.21.1 ; python_version < "3.8.0" -wcwidth==0.2.9 +wcwidth==0.2.12 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.1 -wheel==0.41.3 +wheel==0.42.0 widgetsnbextension==4.0.9 y-py==0.5.9 ypy-websocket==0.8.2 ; python_version >= "3.7.0" diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 68ad863..03a784e 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -8,22 +8,22 @@ accessible-pygments==0.0.4 aiofiles==22.1.0 aiosqlite==0.19.0 alabaster==0.7.13 -anyio==4.0.0 +anyio==4.1.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.4.9 -awkward-cpp==25 +awkward==2.5.0 +awkward-cpp==26 babel==2.13.1 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.10.1 +black==23.11.0 bleach==6.1.0 cachetools==5.3.2 -certifi==2023.7.22 +certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 @@ -40,22 +40,22 @@ defusedxml==0.7.1 distlib==0.3.7 docstring-to-markdown==0.13 docutils==0.19 -exceptiongroup==1.1.3 +exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.18.1 +fastjsonschema==2.19.0 filelock==3.13.1 -fonttools==4.44.0 +fonttools==4.45.1 fqdn==1.5.1 gprof2dot==2022.7.29 greenlet==3.0.1 -identify==2.5.31 -idna==3.4 +identify==2.5.32 +idna==3.6 imagesize==1.4.1 importlib-metadata==6.8.0 importlib-resources==6.1.1 iniconfig==2.0.0 -ipykernel==6.26.0 +ipykernel==6.27.1 ipython==8.12.3 ipywidgets==8.1.1 isoduration==20.11.0 @@ -63,32 +63,32 @@ jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.2 -jsonschema-specifications==2023.7.1 +jsonschema==4.20.0 +jsonschema-specifications==2023.11.2 jupyter-cache==0.6.1 jupyter-client==8.6.0 jupyter-core==5.5.0 jupyter-events==0.9.0 -jupyter-lsp==2.2.0 -jupyter-server==2.10.0 +jupyter-lsp==2.2.1 +jupyter-server==2.11.1 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.8 +jupyterlab==4.0.9 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==5.0.0 +jupyterlab-lsp==5.0.1 jupyterlab-myst==2.1.0 ; python_version >= "3.7.0" -jupyterlab-pygments==0.2.2 -jupyterlab-server==2.25.0 +jupyterlab-pygments==0.3.0 +jupyterlab-server==2.25.2 jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 livereload==2.6.3 markdown-it-py==2.2.0 markupsafe==2.1.3 -matplotlib==3.7.3 +matplotlib==3.7.4 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 mistune==3.0.2 -mypy==1.6.1 +mypy==1.7.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 @@ -105,28 +105,28 @@ pandas==2.0.3 pandocfilters==1.5.0 parso==0.8.3 pathspec==0.11.2 -pexpect==4.8.0 +pexpect==4.9.0 pickleshare==0.7.5 pillow==10.1.0 pkgutil-resolve-name==1.3.10 -platformdirs==3.11.0 +platformdirs==4.0.0 pluggy==1.3.0 pre-commit==3.5.0 -prometheus-client==0.18.0 -prompt-toolkit==3.0.39 +prometheus-client==0.19.0 +prompt-toolkit==3.0.41 psutil==5.9.6 ptyprocess==0.7.0 pure-eval==0.2.2 pycparser==2.21 -pydata-sphinx-theme==0.14.3 +pydata-sphinx-theme==0.14.4 pydeps==1.12.17 -pygments==2.16.1 +pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 pytest==7.4.3 pytest-cov==4.1.0 pytest-profiling==1.7.0 -pytest-xdist==3.3.1 +pytest-xdist==3.5.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 @@ -135,13 +135,13 @@ pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.1 -referencing==0.30.2 +referencing==0.31.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 -rpds-py==0.12.0 -ruff==0.1.4 ; python_version >= "3.7.0" +rpds-py==0.13.2 +ruff==0.1.6 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -162,28 +162,28 @@ sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 sqlalchemy==2.0.23 stack-data==0.6.3 -stdlib-list==0.9.0 +stdlib-list==0.10.0 tabulate==0.9.0 -terminado==0.17.1 +terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 -tornado==6.3.3 -tox==4.11.3 -traitlets==5.13.0 +tornado==6.4 +tox==4.11.4 +traitlets==5.14.0 types-python-dateutil==2.8.19.14 -types-setuptools==68.2.0.0 +types-setuptools==69.0.0.0 typing-extensions==4.8.0 tzdata==2023.3 ujson==5.8.0 uproot==5.1.2 uri-template==1.3.0 -urllib3==2.0.7 -virtualenv==20.24.6 -wcwidth==0.2.9 +urllib3==2.1.0 +virtualenv==20.24.7 +wcwidth==0.2.12 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.4 -wheel==0.41.3 +wheel==0.42.0 widgetsnbextension==4.0.9 y-py==0.5.9 ypy-websocket==0.8.2 ; python_version >= "3.7.0" diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 86262c5..4a506df 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -8,21 +8,21 @@ accessible-pygments==0.0.4 aiofiles==22.1.0 aiosqlite==0.19.0 alabaster==0.7.13 -anyio==4.0.0 +anyio==4.1.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.4.9 -awkward-cpp==25 +awkward==2.5.0 +awkward-cpp==26 babel==2.13.1 beautifulsoup4==4.12.2 -black==23.10.1 +black==23.11.0 bleach==6.1.0 cachetools==5.3.2 -certifi==2023.7.22 +certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 @@ -39,91 +39,91 @@ defusedxml==0.7.1 distlib==0.3.7 docstring-to-markdown==0.13 docutils==0.19 -exceptiongroup==1.1.3 +exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.18.1 +fastjsonschema==2.19.0 filelock==3.13.1 -fonttools==4.44.0 +fonttools==4.45.1 fqdn==1.5.1 gprof2dot==2022.7.29 greenlet==3.0.1 -identify==2.5.31 -idna==3.4 +identify==2.5.32 +idna==3.6 imagesize==1.4.1 importlib-metadata==6.8.0 importlib-resources==6.1.1 iniconfig==2.0.0 -ipykernel==6.26.0 -ipython==8.17.2 +ipykernel==6.27.1 +ipython==8.18.1 ipywidgets==8.1.1 isoduration==20.11.0 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.2 -jsonschema-specifications==2023.7.1 -jupyter-cache==0.6.1 +jsonschema==4.20.0 +jsonschema-specifications==2023.11.2 +jupyter-cache==1.0.0 jupyter-client==8.6.0 jupyter-core==5.5.0 jupyter-events==0.9.0 -jupyter-lsp==2.2.0 -jupyter-server==2.10.0 +jupyter-lsp==2.2.1 +jupyter-server==2.11.1 jupyter-server-terminals==0.4.4 -jupyterlab==4.0.8 +jupyterlab==4.0.9 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==5.0.0 +jupyterlab-lsp==5.0.1 jupyterlab-myst==2.1.0 ; python_version >= "3.7.0" -jupyterlab-pygments==0.2.2 -jupyterlab-server==2.25.0 +jupyterlab-pygments==0.3.0 +jupyterlab-server==2.25.2 jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 livereload==2.6.3 -markdown-it-py==2.2.0 +markdown-it-py==3.0.0 markupsafe==2.1.3 -matplotlib==3.8.1 +matplotlib==3.8.2 matplotlib-inline==0.1.6 -mdit-py-plugins==0.3.5 +mdit-py-plugins==0.4.0 mdurl==0.1.2 mistune==3.0.2 -mypy==1.6.1 +mypy==1.7.1 mypy-extensions==1.0.0 -myst-nb==0.17.2 -myst-parser==0.18.1 -nbclient==0.7.4 +myst-nb==1.0.0 +myst-parser==2.0.0 +nbclient==0.9.0 nbconvert==7.11.0 nbformat==5.9.2 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook-shim==0.2.3 -numpy==1.26.1 +numpy==1.26.2 overrides==7.4.0 packaging==23.2 -pandas==2.1.2 +pandas==2.1.3 pandocfilters==1.5.0 parso==0.8.3 pathspec==0.11.2 -pexpect==4.8.0 +pexpect==4.9.0 pillow==10.1.0 -platformdirs==3.11.0 +platformdirs==4.0.0 pluggy==1.3.0 pre-commit==3.5.0 -prometheus-client==0.18.0 -prompt-toolkit==3.0.39 +prometheus-client==0.19.0 +prompt-toolkit==3.0.41 psutil==5.9.6 ptyprocess==0.7.0 pure-eval==0.2.2 pycparser==2.21 -pydata-sphinx-theme==0.14.3 +pydata-sphinx-theme==0.14.4 pydeps==1.12.17 -pygments==2.16.1 +pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 pytest==7.4.3 pytest-cov==4.1.0 pytest-profiling==1.7.0 -pytest-xdist==3.3.1 +pytest-xdist==3.5.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 @@ -132,19 +132,19 @@ pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.1 -referencing==0.30.2 +referencing==0.31.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 -rpds-py==0.12.0 -ruff==0.1.4 ; python_version >= "3.7.0" +rpds-py==0.13.2 +ruff==0.1.6 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 snowballstemmer==2.2.0 soupsieve==2.5 -sphinx==5.3.0 +sphinx==6.2.1 sphinx-autobuild==2021.3.14 sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 @@ -159,28 +159,28 @@ sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 sqlalchemy==2.0.23 stack-data==0.6.3 -stdlib-list==0.9.0 +stdlib-list==0.10.0 tabulate==0.9.0 -terminado==0.17.1 +terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 -tornado==6.3.3 -tox==4.11.3 -traitlets==5.13.0 +tornado==6.4 +tox==4.11.4 +traitlets==5.14.0 types-python-dateutil==2.8.19.14 -types-setuptools==68.2.0.0 +types-setuptools==69.0.0.0 typing-extensions==4.8.0 tzdata==2023.3 ujson==5.8.0 uproot==5.1.2 uri-template==1.3.0 -urllib3==2.0.7 -virtualenv==20.24.6 -wcwidth==0.2.9 +urllib3==2.1.0 +virtualenv==20.24.7 +wcwidth==0.2.12 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.4 -wheel==0.41.3 +wheel==0.42.0 widgetsnbextension==4.0.9 y-py==0.5.9 ypy-websocket==0.8.2 ; python_version >= "3.7.0" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8b477ab..dbadd70 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,7 +31,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.0 + rev: 0.1.3 hooks: - id: check-dev-files args: @@ -42,7 +42,7 @@ repos: - id: format-setup-cfg - repo: https://github.com/psf/black - rev: 23.10.1 + rev: 23.11.0 hooks: - id: black - id: black-jupyter @@ -52,7 +52,7 @@ repos: - jupyter - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v7.3.2 + rev: v8.0.0 hooks: - id: cspell @@ -103,12 +103,12 @@ repos: metadata.vscode - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.3 + rev: v4.0.0-alpha.3 hooks: - id: prettier - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.334 + rev: v1.1.338 hooks: - id: pyright @@ -120,7 +120,7 @@ repos: - --py36-plus - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.4 + rev: v0.1.6 hooks: - id: ruff args: From a215327b26a2472754bdbc0dae8750664965eb40 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 1 Dec 2023 11:17:26 +0000 Subject: [PATCH 3/9] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .cspell.json | 7 +++++- .pre-commit-config.yaml | 4 ++-- .vscode/settings.json | 26 ++++++++++++++++----- docs/conf.py | 50 ++++++++++++++++++----------------------- 4 files changed, 50 insertions(+), 37 deletions(-) diff --git a/.cspell.json b/.cspell.json index 84dc62c..acccb6e 100644 --- a/.cspell.json +++ b/.cspell.json @@ -119,5 +119,10 @@ "venv" ], "version": "0.2", - "enableFiletypes": ["git-commit", "julia", "jupyter"] + "enableFiletypes": [ + "git-commit", + "github-actions-workflow", + "julia", + "jupyter" + ] } diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dbadd70..885dc83 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,8 +41,8 @@ repos: - --repo-title=Pawian Tools - id: format-setup-cfg - - repo: https://github.com/psf/black - rev: 23.11.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: PLEASE-UPDATE hooks: - id: black - id: black-jupyter diff --git a/.vscode/settings.json b/.vscode/settings.json index 9132578..f100444 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]": { @@ -20,30 +22,42 @@ "source.organizeImports": true }, "editor.defaultFormatter": "ms-python.black-formatter", - "editor.rulers": [88] + "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, "cSpell.enabled": true, + "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", - "mypy-type-checker.args": ["--config-file=${workspaceFolder}/pyproject.toml"], + "mypy-type-checker.args": [ + "--config-file=${workspaceFolder}/pyproject.toml" + ], "mypy-type-checker.importStrategy": "fromEnvironment", "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, "rewrap.wrappingColumn": 88, diff --git a/docs/conf.py b/docs/conf.py index 0bbe819..9541bc8 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -34,17 +34,15 @@ # -- Generate API ------------------------------------------------------------ shutil.rmtree("api", ignore_errors=True) subprocess.call( - " ".join( - [ - "sphinx-apidoc", - "../src/", - "-o api/", - "--force", - "--no-toc", - "--templatedir _templates", - "--separate", - ] - ), + " ".join([ + "sphinx-apidoc", + "../src/", + "-o api/", + "--force", + "--no-toc", + "--templatedir _templates", + "--separate", + ]), shell=True, # noqa: S602 ) @@ -90,12 +88,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" @@ -252,17 +248,15 @@ def get_nb_execution_mode() -> str: if nb_execution_mode != "off": print("Generating module dependency tree...") subprocess.call( - " ".join( - [ - "HOME=.", # in case of calling through tox - "pydeps", - f"../src/{PACKAGE}", - "-o module_structure.svg", - "--exclude *._*", # hide private modules - "--max-bacon=1", # hide external dependencies - "--noshow", - ] - ), + " ".join([ + "HOME=.", # in case of calling through tox + "pydeps", + f"../src/{PACKAGE}", + "-o module_structure.svg", + "--exclude *._*", # hide private modules + "--max-bacon=1", # hide external dependencies + "--noshow", + ]), shell=True, # noqa: S602 ) if os.path.exists("module_structure.svg"): From 0ceca505e6e59349a0c3b592d0c7a98124130ecc Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 1 Dec 2023 11:18:48 +0000 Subject: [PATCH 4/9] MAINT: update pip constraints and pre-commit --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 885dc83..e18ea56 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -42,7 +42,7 @@ repos: - id: format-setup-cfg - repo: https://github.com/psf/black-pre-commit-mirror - rev: PLEASE-UPDATE + rev: 23.11.0 hooks: - id: black - id: black-jupyter From 825ae731fe14a5f41c7cd027000811bcbb4bae72 Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 1 Dec 2023 14:42:28 +0000 Subject: [PATCH 5/9] MAINT: update pip constraints and pre-commit --- .constraints/.gitignore | 1 + .pre-commit-config.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .constraints/.gitignore diff --git a/.constraints/.gitignore b/.constraints/.gitignore new file mode 100644 index 0000000..36a07ad --- /dev/null +++ b/.constraints/.gitignore @@ -0,0 +1 @@ +!py3.*.txt diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e18ea56..644f09a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,7 +31,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.3 + rev: 0.1.4 hooks: - id: check-dev-files args: From 3a4141729efd73cbe31aa00afb858ad69c68a56c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 1 Dec 2023 14:43:23 +0000 Subject: [PATCH 6/9] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .pre-commit-config.yaml | 1 + environment.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 644f09a..4acbba5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,6 +3,7 @@ ci: autoupdate_schedule: quarterly skip: - mypy + - prettier - pyright - taplo diff --git a/environment.yml b/environment.yml index 6c9964d..83ce4c8 100644 --- a/environment.yml +++ b/environment.yml @@ -9,3 +9,5 @@ dependencies: - | -c .constraints/py3.8.txt -e .[dev] +variables: + PRETTIER_LEGACY_CLI: "1" From bc038246edd07f091c1c02b28ffc5b10064cc59d Mon Sep 17 00:00:00 2001 From: GitHub Date: Sat, 2 Dec 2023 16:19:06 +0000 Subject: [PATCH 7/9] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 6 +++--- .constraints/py3.11.txt | 6 +++--- .constraints/py3.8.txt | 6 +++--- .constraints/py3.9.txt | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 53b0795..c50edd5 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -44,14 +44,14 @@ execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.0 filelock==3.13.1 -fonttools==4.45.1 +fonttools==4.46.0 fqdn==1.5.1 gprof2dot==2022.7.29 greenlet==3.0.1 identify==2.5.32 idna==3.6 imagesize==1.4.1 -importlib-metadata==6.8.0 +importlib-metadata==6.9.0 iniconfig==2.0.0 ipykernel==6.27.1 ipython==8.18.1 @@ -174,7 +174,7 @@ ujson==5.8.0 uproot==5.1.2 uri-template==1.3.0 urllib3==2.1.0 -virtualenv==20.24.7 +virtualenv==20.25.0 wcwidth==0.2.12 webcolors==1.13 webencodings==0.5.1 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 72a44bd..65ce44d 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -43,14 +43,14 @@ execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.0 filelock==3.13.1 -fonttools==4.45.1 +fonttools==4.46.0 fqdn==1.5.1 gprof2dot==2022.7.29 greenlet==3.0.1 identify==2.5.32 idna==3.6 imagesize==1.4.1 -importlib-metadata==6.8.0 +importlib-metadata==6.9.0 iniconfig==2.0.0 ipykernel==6.27.1 ipython==8.18.1 @@ -172,7 +172,7 @@ ujson==5.8.0 uproot==5.1.2 uri-template==1.3.0 urllib3==2.1.0 -virtualenv==20.24.7 +virtualenv==20.25.0 wcwidth==0.2.12 webcolors==1.13 webencodings==0.5.1 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 03a784e..53783ed 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -45,14 +45,14 @@ execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.0 filelock==3.13.1 -fonttools==4.45.1 +fonttools==4.46.0 fqdn==1.5.1 gprof2dot==2022.7.29 greenlet==3.0.1 identify==2.5.32 idna==3.6 imagesize==1.4.1 -importlib-metadata==6.8.0 +importlib-metadata==6.9.0 importlib-resources==6.1.1 iniconfig==2.0.0 ipykernel==6.27.1 @@ -178,7 +178,7 @@ ujson==5.8.0 uproot==5.1.2 uri-template==1.3.0 urllib3==2.1.0 -virtualenv==20.24.7 +virtualenv==20.25.0 wcwidth==0.2.12 webcolors==1.13 webencodings==0.5.1 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 4a506df..2903b41 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -44,14 +44,14 @@ execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.0 filelock==3.13.1 -fonttools==4.45.1 +fonttools==4.46.0 fqdn==1.5.1 gprof2dot==2022.7.29 greenlet==3.0.1 identify==2.5.32 idna==3.6 imagesize==1.4.1 -importlib-metadata==6.8.0 +importlib-metadata==6.9.0 importlib-resources==6.1.1 iniconfig==2.0.0 ipykernel==6.27.1 @@ -175,7 +175,7 @@ ujson==5.8.0 uproot==5.1.2 uri-template==1.3.0 urllib3==2.1.0 -virtualenv==20.24.7 +virtualenv==20.25.0 wcwidth==0.2.12 webcolors==1.13 webencodings==0.5.1 From 36e1289e6d6076f51dd683d63031cf6b39ea272a Mon Sep 17 00:00:00 2001 From: GitHub Date: Sat, 2 Dec 2023 16:20:36 +0000 Subject: [PATCH 8/9] MAINT: implement updates from pre-commit hooks --- .vscode/settings.json | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index f100444..b93c795 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,17 +20,13 @@ "source.organizeImports": true }, "editor.defaultFormatter": "ms-python.black-formatter", - "editor.rulers": [ - 88 - ] + "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, @@ -40,24 +34,17 @@ "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", - "mypy-type-checker.args": [ - "--config-file=${workspaceFolder}/pyproject.toml" - ], + "mypy-type-checker.args": ["--config-file=${workspaceFolder}/pyproject.toml"], "mypy-type-checker.importStrategy": "fromEnvironment", "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, "rewrap.wrappingColumn": 88, From 3ae2c33d97e6c6f4c0678791f81d72b6973b8925 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Sat, 2 Dec 2023 17:29:29 +0100 Subject: [PATCH 9/9] Kick CI