From 61fb615ab350565c5b191bc8f3ec5ce1ac514c09 Mon Sep 17 00:00:00 2001 From: GitHub Date: Sun, 1 Oct 2023 13:09:40 +0000 Subject: [PATCH 01/11] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 91 ++++++++++++++++++++-------------------- .constraints/py3.11.txt | 91 ++++++++++++++++++++-------------------- .constraints/py3.6.txt | 10 ++--- .constraints/py3.7.txt | 26 ++++++------ .constraints/py3.8.txt | 89 ++++++++++++++++++++------------------- .constraints/py3.9.txt | 93 +++++++++++++++++++++-------------------- .pre-commit-config.yaml | 14 +++---- 7 files changed, 209 insertions(+), 205 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 8e40169..8146a2b 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -11,29 +11,29 @@ alabaster==0.7.13 anyio==4.0.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 -arrow==1.2.3 +arrow==1.3.0 asttokens==2.4.0 attrs==23.1.0 -awkward==2.4.2 -awkward-cpp==23 +awkward==2.4.4 +awkward-cpp==24 babel==2.12.1 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.9.0 +black==23.9.1 bleach==6.0.0 cachetools==5.3.1 certifi==2023.7.22 -cffi==1.15.1 +cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 -charset-normalizer==3.2.0 +charset-normalizer==3.3.0 click==8.1.7 colorama==0.4.6 comm==0.1.4 -contourpy==1.1.0 +contourpy==1.1.1 coverage==7.3.1 -cycler==0.11.0 -debugpy==1.7.0 +cycler==0.12.0 +debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.7 @@ -42,32 +42,32 @@ docutils==0.19 entrypoints==0.4 exceptiongroup==1.1.3 execnet==2.0.2 -executing==1.2.0 -fastjsonschema==2.18.0 -filelock==3.12.3 -fonttools==4.42.1 +executing==2.0.0 +fastjsonschema==2.18.1 +filelock==3.12.4 +fonttools==4.43.0 fqdn==1.5.1 gprof2dot==2022.7.29 greenlet==2.0.2 -identify==2.5.27 +identify==2.5.30 idna==3.4 imagesize==1.4.1 importlib-metadata==6.8.0 iniconfig==2.0.0 ipykernel==6.25.2 -ipython==8.15.0 +ipython==8.16.0 ipython-genutils==0.2.0 -ipywidgets==8.1.0 +ipywidgets==8.1.1 isoduration==20.11.0 jedi==0.19.0 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.0 +jsonschema==4.19.1 jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 jupyter-client==7.4.9 -jupyter-core==5.3.1 +jupyter-core==5.3.2 jupyter-events==0.7.0 jupyter-lsp==2.2.0 jupyter-server==2.7.3 @@ -75,22 +75,22 @@ jupyter-server-fileid==0.9.0 jupyter-server-terminals==0.4.4 jupyter-server-ydoc==0.8.0 jupyter-ydoc==0.2.4 -jupyterlab==3.6.5 +jupyterlab==3.6.6 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==4.2.0 +jupyterlab-lsp==4.3.0 jupyterlab-myst==2.0.2 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 -jupyterlab-server==2.24.0 -jupyterlab-widgets==3.0.8 +jupyterlab-server==2.25.0 +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.2 +matplotlib==3.8.0 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 -mistune==3.0.1 +mistune==3.0.2 mypy==1.5.1 mypy-extensions==1.0.0 myst-nb==0.17.2 @@ -99,20 +99,20 @@ nbclassic==1.0.0 nbclient==0.7.4 nbconvert==7.8.0 nbformat==5.9.2 -nest-asyncio==1.5.7 +nest-asyncio==1.5.8 nodeenv==1.8.0 -notebook==6.5.5 +notebook==6.5.6 notebook-shim==0.2.3 -numpy==1.25.2 +numpy==1.26.0 overrides==7.4.0 packaging==23.1 -pandas==2.1.0 +pandas==2.1.1 pandocfilters==1.5.0 parso==0.8.3 pathspec==0.11.2 pexpect==4.8.0 pickleshare==0.7.5 -pillow==10.0.0 +pillow==10.0.1 platformdirs==3.10.0 pluggy==1.3.0 pre-commit==3.4.0 @@ -122,10 +122,10 @@ psutil==5.9.5 ptyprocess==0.7.0 pure-eval==0.2.2 pycparser==2.21 -pydata-sphinx-theme==0.13.3 +pydata-sphinx-theme==0.14.1 pydeps==1.12.17 pygments==2.16.1 -pyparsing==3.0.9 +pyparsing==3.1.1 pyproject-api==1.6.1 pytest==7.4.2 pytest-cov==4.1.0 @@ -133,7 +133,7 @@ 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.0 +python-lsp-jsonrpc==1.1.2 python-lsp-server==1.8.0 pytoolconfig==1.2.5 pytz==2023.3.post1 @@ -143,9 +143,9 @@ referencing==0.30.2 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.9.0 -rpds-py==0.10.2 -ruff==0.0.287 ; python_version >= "3.7.0" +rope==1.10.0 +rpds-py==0.10.3 +ruff==0.0.291 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -164,8 +164,8 @@ sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.20 -stack-data==0.6.2 +sqlalchemy==2.0.21 +stack-data==0.6.3 stdlib-list==0.9.0 tabulate==0.9.0 terminado==0.17.1 @@ -173,24 +173,25 @@ tinycss2==1.2.1 tomli==2.0.1 tornado==6.3.3 tox==4.11.3 -traitlets==5.9.0 +traitlets==5.10.1 +types-python-dateutil==2.8.19.14 types-setuptools==68.2.0.0 -typing-extensions==4.7.1 +typing-extensions==4.8.0 tzdata==2023.3 ujson==5.8.0 -uproot==5.0.11 +uproot==5.0.12 uri-template==1.3.0 -urllib3==2.0.4 +urllib3==2.0.5 virtualenv==20.24.5 -wcwidth==0.2.6 +wcwidth==0.2.8 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.2 +websocket-client==1.6.3 wheel==0.41.2 -widgetsnbextension==4.0.8 +widgetsnbextension==4.0.9 y-py==0.5.9 ypy-websocket==0.8.2 ; python_version >= "3.7.0" -zipp==3.16.2 +zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 24a4b62..41de4e4 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -11,29 +11,29 @@ alabaster==0.7.13 anyio==4.0.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 -arrow==1.2.3 +arrow==1.3.0 asttokens==2.4.0 attrs==23.1.0 -awkward==2.4.2 -awkward-cpp==23 +awkward==2.4.4 +awkward-cpp==24 babel==2.12.1 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.9.0 +black==23.9.1 bleach==6.0.0 cachetools==5.3.1 certifi==2023.7.22 -cffi==1.15.1 +cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 -charset-normalizer==3.2.0 +charset-normalizer==3.3.0 click==8.1.7 colorama==0.4.6 comm==0.1.4 -contourpy==1.1.0 +contourpy==1.1.1 coverage==7.3.1 -cycler==0.11.0 -debugpy==1.7.0 +cycler==0.12.0 +debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.7 @@ -41,32 +41,32 @@ docstring-to-markdown==0.12 docutils==0.19 entrypoints==0.4 execnet==2.0.2 -executing==1.2.0 -fastjsonschema==2.18.0 -filelock==3.12.3 -fonttools==4.42.1 +executing==2.0.0 +fastjsonschema==2.18.1 +filelock==3.12.4 +fonttools==4.43.0 fqdn==1.5.1 gprof2dot==2022.7.29 greenlet==2.0.2 -identify==2.5.27 +identify==2.5.30 idna==3.4 imagesize==1.4.1 importlib-metadata==6.8.0 iniconfig==2.0.0 ipykernel==6.25.2 -ipython==8.15.0 +ipython==8.16.0 ipython-genutils==0.2.0 -ipywidgets==8.1.0 +ipywidgets==8.1.1 isoduration==20.11.0 jedi==0.19.0 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.0 +jsonschema==4.19.1 jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 jupyter-client==7.4.9 -jupyter-core==5.3.1 +jupyter-core==5.3.2 jupyter-events==0.7.0 jupyter-lsp==2.2.0 jupyter-server==2.7.3 @@ -74,22 +74,22 @@ jupyter-server-fileid==0.9.0 jupyter-server-terminals==0.4.4 jupyter-server-ydoc==0.8.0 jupyter-ydoc==0.2.4 -jupyterlab==3.6.5 +jupyterlab==3.6.6 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==4.2.0 +jupyterlab-lsp==4.3.0 jupyterlab-myst==2.0.2 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 -jupyterlab-server==2.24.0 -jupyterlab-widgets==3.0.8 +jupyterlab-server==2.25.0 +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.2 +matplotlib==3.8.0 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 -mistune==3.0.1 +mistune==3.0.2 mypy==1.5.1 mypy-extensions==1.0.0 myst-nb==0.17.2 @@ -98,20 +98,20 @@ nbclassic==1.0.0 nbclient==0.7.4 nbconvert==7.8.0 nbformat==5.9.2 -nest-asyncio==1.5.7 +nest-asyncio==1.5.8 nodeenv==1.8.0 -notebook==6.5.5 +notebook==6.5.6 notebook-shim==0.2.3 -numpy==1.25.2 +numpy==1.26.0 overrides==7.4.0 packaging==23.1 -pandas==2.1.0 +pandas==2.1.1 pandocfilters==1.5.0 parso==0.8.3 pathspec==0.11.2 pexpect==4.8.0 pickleshare==0.7.5 -pillow==10.0.0 +pillow==10.0.1 platformdirs==3.10.0 pluggy==1.3.0 pre-commit==3.4.0 @@ -121,10 +121,10 @@ psutil==5.9.5 ptyprocess==0.7.0 pure-eval==0.2.2 pycparser==2.21 -pydata-sphinx-theme==0.13.3 +pydata-sphinx-theme==0.14.1 pydeps==1.12.17 pygments==2.16.1 -pyparsing==3.0.9 +pyparsing==3.1.1 pyproject-api==1.6.1 pytest==7.4.2 pytest-cov==4.1.0 @@ -132,7 +132,7 @@ 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.0 +python-lsp-jsonrpc==1.1.2 python-lsp-server==1.8.0 pytoolconfig==1.2.5 pytz==2023.3.post1 @@ -142,9 +142,9 @@ referencing==0.30.2 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.9.0 -rpds-py==0.10.2 -ruff==0.0.287 ; python_version >= "3.7.0" +rope==1.10.0 +rpds-py==0.10.3 +ruff==0.0.291 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -163,32 +163,33 @@ sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.20 -stack-data==0.6.2 +sqlalchemy==2.0.21 +stack-data==0.6.3 stdlib-list==0.9.0 tabulate==0.9.0 terminado==0.17.1 tinycss2==1.2.1 tornado==6.3.3 tox==4.11.3 -traitlets==5.9.0 +traitlets==5.10.1 +types-python-dateutil==2.8.19.14 types-setuptools==68.2.0.0 -typing-extensions==4.7.1 +typing-extensions==4.8.0 tzdata==2023.3 ujson==5.8.0 -uproot==5.0.11 +uproot==5.0.12 uri-template==1.3.0 -urllib3==2.0.4 +urllib3==2.0.5 virtualenv==20.24.5 -wcwidth==0.2.6 +wcwidth==0.2.8 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.2 +websocket-client==1.6.3 wheel==0.41.2 -widgetsnbextension==4.0.8 +widgetsnbextension==4.0.9 y-py==0.5.9 ypy-websocket==0.8.2 ; python_version >= "3.7.0" -zipp==3.16.2 +zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/.constraints/py3.6.txt b/.constraints/py3.6.txt index 3c44038..6f815e0 100644 --- a/.constraints/py3.6.txt +++ b/.constraints/py3.6.txt @@ -48,7 +48,7 @@ iniconfig==1.1.1 ipykernel==5.5.6 ipython==7.16.3 ipython-genutils==0.2.0 -ipywidgets==7.8.0 +ipywidgets==7.8.1 jedi==0.17.2 jinja2==3.0.3 json5==0.9.14 @@ -65,7 +65,7 @@ jupyterlab-code-formatter==1.6.1 jupyterlab-lsp==3.9.2 jupyterlab-pygments==0.1.2 jupyterlab-server==2.10.3 -jupyterlab-widgets==1.1.5 +jupyterlab-widgets==1.1.7 kiwisolver==1.3.1 livereload==2.6.3 markdown-it-py==1.1.0 @@ -82,7 +82,7 @@ nbclient==0.5.9 nbconvert==6.0.7 nbdime==3.2.1 nbformat==5.1.3 -nest-asyncio==1.5.7 +nest-asyncio==1.5.8 nodeenv==1.6.0 notebook==6.4.10 numpy==1.19.5 @@ -154,11 +154,11 @@ ujson==4.3.0 uproot==4.3.7 urllib3==1.26.16 virtualenv==20.15.1 ; python_version < "3.8.0" -wcwidth==0.2.6 +wcwidth==0.2.8 webencodings==0.5.1 websocket-client==1.3.1 wheel==0.37.1 -widgetsnbextension==3.6.5 +widgetsnbextension==3.6.6 zipp==3.6.0 # The following packages are considered to be unsafe in a requirements file: diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index 0cb9ed9..6142bbe 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -24,7 +24,7 @@ cached-property==1.5.2 certifi==2023.7.22 cffi==1.15.1 cfgv==3.3.1 -charset-normalizer==3.2.0 +charset-normalizer==3.3.0 click==8.1.7 colorama==0.4.6 comm==0.1.4 @@ -39,7 +39,7 @@ docutils==0.17.1 entrypoints==0.4 exceptiongroup==1.1.3 execnet==2.0.2 -fastjsonschema==2.18.0 +fastjsonschema==2.18.1 filelock==3.12.2 fonttools==4.38.0 fqdn==1.5.1 @@ -54,7 +54,7 @@ iniconfig==2.0.0 ipykernel==6.16.2 ipython==7.34.0 ipython-genutils==0.2.0 -ipywidgets==8.1.0 +ipywidgets==8.1.1 isoduration==20.11.0 jedi==0.18.2 jinja2==3.1.2 @@ -70,13 +70,13 @@ jupyter-server==1.24.0 jupyter-server-fileid==0.9.0 jupyter-server-ydoc==0.8.0 jupyter-ydoc==0.2.4 -jupyterlab==3.6.5 +jupyterlab==3.6.6 jupyterlab-code-formatter==2.2.1 jupyterlab-lsp==3.10.2 jupyterlab-myst==1.2.0 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 jupyterlab-server==2.24.0 -jupyterlab-widgets==3.0.8 +jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 livereload==2.6.3 markdown-it-py==2.2.0 @@ -85,7 +85,7 @@ matplotlib==3.5.3 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 -mistune==3.0.1 +mistune==3.0.2 mypy==1.4.1 mypy-extensions==1.0.0 myst-nb==0.17.2 @@ -94,9 +94,9 @@ nbclassic==1.0.0 nbclient==0.5.13 nbconvert==7.6.0 nbformat==5.8.0 -nest-asyncio==1.5.7 +nest-asyncio==1.5.8 nodeenv==1.8.0 -notebook==6.5.5 +notebook==6.5.6 notebook-shim==0.2.3 numpy==1.21.6 packaging==23.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.287 ; python_version >= "3.7.0" +ruff==0.0.291 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -170,16 +170,16 @@ typed-ast==1.5.5 types-setuptools==68.2.0.0 typing-extensions==4.7.1 ujson==5.7.0 -uproot==5.0.11 +uproot==5.0.12 uri-template==1.3.0 -urllib3==2.0.4 +urllib3==2.0.5 virtualenv==20.21.1 ; python_version < "3.8.0" -wcwidth==0.2.6 +wcwidth==0.2.8 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.1 wheel==0.41.2 -widgetsnbextension==4.0.8 +widgetsnbextension==4.0.9 y-py==0.5.9 ypy-websocket==0.8.2 ; python_version >= "3.7.0" zipp==3.15.0 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index ec9cd1e..f2614fe 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -11,29 +11,29 @@ alabaster==0.7.13 anyio==4.0.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 -arrow==1.2.3 +arrow==1.3.0 asttokens==2.4.0 attrs==23.1.0 -awkward==2.4.2 -awkward-cpp==23 +awkward==2.4.4 +awkward-cpp==24 babel==2.12.1 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.9.0 +black==23.9.1 bleach==6.0.0 cachetools==5.3.1 certifi==2023.7.22 -cffi==1.15.1 +cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 -charset-normalizer==3.2.0 +charset-normalizer==3.3.0 click==8.1.7 colorama==0.4.6 comm==0.1.4 -contourpy==1.1.0 +contourpy==1.1.1 coverage==7.3.1 -cycler==0.11.0 -debugpy==1.7.0 +cycler==0.12.0 +debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.7 @@ -42,33 +42,33 @@ docutils==0.19 entrypoints==0.4 exceptiongroup==1.1.3 execnet==2.0.2 -executing==1.2.0 -fastjsonschema==2.18.0 -filelock==3.12.3 -fonttools==4.42.1 +executing==2.0.0 +fastjsonschema==2.18.1 +filelock==3.12.4 +fonttools==4.43.0 fqdn==1.5.1 gprof2dot==2022.7.29 greenlet==2.0.2 -identify==2.5.27 +identify==2.5.30 idna==3.4 imagesize==1.4.1 importlib-metadata==6.8.0 -importlib-resources==6.0.1 +importlib-resources==6.1.0 iniconfig==2.0.0 ipykernel==6.25.2 -ipython==8.12.2 +ipython==8.12.3 ipython-genutils==0.2.0 -ipywidgets==8.1.0 +ipywidgets==8.1.1 isoduration==20.11.0 jedi==0.19.0 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.0 +jsonschema==4.19.1 jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 jupyter-client==7.4.9 -jupyter-core==5.3.1 +jupyter-core==5.3.2 jupyter-events==0.7.0 jupyter-lsp==2.2.0 jupyter-server==2.7.3 @@ -76,22 +76,22 @@ jupyter-server-fileid==0.9.0 jupyter-server-terminals==0.4.4 jupyter-server-ydoc==0.8.0 jupyter-ydoc==0.2.4 -jupyterlab==3.6.5 +jupyterlab==3.6.6 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==4.2.0 +jupyterlab-lsp==4.3.0 jupyterlab-myst==2.0.2 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 -jupyterlab-server==2.24.0 -jupyterlab-widgets==3.0.8 +jupyterlab-server==2.25.0 +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.2 +matplotlib==3.7.3 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 -mistune==3.0.1 +mistune==3.0.2 mypy==1.5.1 mypy-extensions==1.0.0 myst-nb==0.17.2 @@ -100,9 +100,9 @@ nbclassic==1.0.0 nbclient==0.7.4 nbconvert==7.8.0 nbformat==5.9.2 -nest-asyncio==1.5.7 +nest-asyncio==1.5.8 nodeenv==1.8.0 -notebook==6.5.5 +notebook==6.5.6 notebook-shim==0.2.3 numpy==1.24.4 overrides==7.4.0 @@ -113,7 +113,7 @@ parso==0.8.3 pathspec==0.11.2 pexpect==4.8.0 pickleshare==0.7.5 -pillow==10.0.0 +pillow==10.0.1 pkgutil-resolve-name==1.3.10 platformdirs==3.10.0 pluggy==1.3.0 @@ -124,10 +124,10 @@ psutil==5.9.5 ptyprocess==0.7.0 pure-eval==0.2.2 pycparser==2.21 -pydata-sphinx-theme==0.13.3 +pydata-sphinx-theme==0.14.1 pydeps==1.12.17 pygments==2.16.1 -pyparsing==3.0.9 +pyparsing==3.1.1 pyproject-api==1.6.1 pytest==7.4.2 pytest-cov==4.1.0 @@ -135,7 +135,7 @@ 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.0 +python-lsp-jsonrpc==1.1.2 python-lsp-server==1.8.0 pytoolconfig==1.2.5 pytz==2023.3.post1 @@ -145,9 +145,9 @@ referencing==0.30.2 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.9.0 -rpds-py==0.10.2 -ruff==0.0.287 ; python_version >= "3.7.0" +rope==1.10.0 +rpds-py==0.10.3 +ruff==0.0.291 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -166,8 +166,8 @@ sphinxcontrib-htmlhelp==2.0.1 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 -sqlalchemy==2.0.20 -stack-data==0.6.2 +sqlalchemy==2.0.21 +stack-data==0.6.3 stdlib-list==0.9.0 tabulate==0.9.0 terminado==0.17.1 @@ -175,24 +175,25 @@ tinycss2==1.2.1 tomli==2.0.1 tornado==6.3.3 tox==4.11.3 -traitlets==5.9.0 +traitlets==5.10.1 +types-python-dateutil==2.8.19.14 types-setuptools==68.2.0.0 -typing-extensions==4.7.1 +typing-extensions==4.8.0 tzdata==2023.3 ujson==5.8.0 -uproot==5.0.11 +uproot==5.0.12 uri-template==1.3.0 -urllib3==2.0.4 +urllib3==2.0.5 virtualenv==20.24.5 -wcwidth==0.2.6 +wcwidth==0.2.8 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.2 +websocket-client==1.6.3 wheel==0.41.2 -widgetsnbextension==4.0.8 +widgetsnbextension==4.0.9 y-py==0.5.9 ypy-websocket==0.8.2 ; python_version >= "3.7.0" -zipp==3.16.2 +zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index f8a4a39..c92f182 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -11,29 +11,29 @@ alabaster==0.7.13 anyio==4.0.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 -arrow==1.2.3 +arrow==1.3.0 asttokens==2.4.0 attrs==23.1.0 -awkward==2.4.2 -awkward-cpp==23 +awkward==2.4.4 +awkward-cpp==24 babel==2.12.1 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.9.0 +black==23.9.1 bleach==6.0.0 cachetools==5.3.1 certifi==2023.7.22 -cffi==1.15.1 +cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 -charset-normalizer==3.2.0 +charset-normalizer==3.3.0 click==8.1.7 colorama==0.4.6 comm==0.1.4 -contourpy==1.1.0 +contourpy==1.1.1 coverage==7.3.1 -cycler==0.11.0 -debugpy==1.7.0 +cycler==0.12.0 +debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 distlib==0.3.7 @@ -42,33 +42,33 @@ docutils==0.19 entrypoints==0.4 exceptiongroup==1.1.3 execnet==2.0.2 -executing==1.2.0 -fastjsonschema==2.18.0 -filelock==3.12.3 -fonttools==4.42.1 +executing==2.0.0 +fastjsonschema==2.18.1 +filelock==3.12.4 +fonttools==4.43.0 fqdn==1.5.1 gprof2dot==2022.7.29 greenlet==2.0.2 -identify==2.5.27 +identify==2.5.30 idna==3.4 imagesize==1.4.1 importlib-metadata==6.8.0 -importlib-resources==6.0.1 +importlib-resources==6.1.0 iniconfig==2.0.0 ipykernel==6.25.2 -ipython==8.15.0 +ipython==8.16.0 ipython-genutils==0.2.0 -ipywidgets==8.1.0 +ipywidgets==8.1.1 isoduration==20.11.0 jedi==0.19.0 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 -jsonschema==4.19.0 +jsonschema==4.19.1 jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 jupyter-client==7.4.9 -jupyter-core==5.3.1 +jupyter-core==5.3.2 jupyter-events==0.7.0 jupyter-lsp==2.2.0 jupyter-server==2.7.3 @@ -76,22 +76,22 @@ jupyter-server-fileid==0.9.0 jupyter-server-terminals==0.4.4 jupyter-server-ydoc==0.8.0 jupyter-ydoc==0.2.4 -jupyterlab==3.6.5 +jupyterlab==3.6.6 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==4.2.0 +jupyterlab-lsp==4.3.0 jupyterlab-myst==2.0.2 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 -jupyterlab-server==2.24.0 -jupyterlab-widgets==3.0.8 +jupyterlab-server==2.25.0 +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.2 +matplotlib==3.8.0 matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 -mistune==3.0.1 +mistune==3.0.2 mypy==1.5.1 mypy-extensions==1.0.0 myst-nb==0.17.2 @@ -100,20 +100,20 @@ nbclassic==1.0.0 nbclient==0.7.4 nbconvert==7.8.0 nbformat==5.9.2 -nest-asyncio==1.5.7 +nest-asyncio==1.5.8 nodeenv==1.8.0 -notebook==6.5.5 +notebook==6.5.6 notebook-shim==0.2.3 -numpy==1.25.2 +numpy==1.26.0 overrides==7.4.0 packaging==23.1 -pandas==2.1.0 +pandas==2.1.1 pandocfilters==1.5.0 parso==0.8.3 pathspec==0.11.2 pexpect==4.8.0 pickleshare==0.7.5 -pillow==10.0.0 +pillow==10.0.1 platformdirs==3.10.0 pluggy==1.3.0 pre-commit==3.4.0 @@ -123,10 +123,10 @@ psutil==5.9.5 ptyprocess==0.7.0 pure-eval==0.2.2 pycparser==2.21 -pydata-sphinx-theme==0.13.3 +pydata-sphinx-theme==0.14.1 pydeps==1.12.17 pygments==2.16.1 -pyparsing==3.0.9 +pyparsing==3.1.1 pyproject-api==1.6.1 pytest==7.4.2 pytest-cov==4.1.0 @@ -134,7 +134,7 @@ 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.0 +python-lsp-jsonrpc==1.1.2 python-lsp-server==1.8.0 pytoolconfig==1.2.5 pytz==2023.3.post1 @@ -144,9 +144,9 @@ referencing==0.30.2 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 -rope==1.9.0 -rpds-py==0.10.2 -ruff==0.0.287 ; python_version >= "3.7.0" +rope==1.10.0 +rpds-py==0.10.3 +ruff==0.0.291 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -165,8 +165,8 @@ sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.20 -stack-data==0.6.2 +sqlalchemy==2.0.21 +stack-data==0.6.3 stdlib-list==0.9.0 tabulate==0.9.0 terminado==0.17.1 @@ -174,24 +174,25 @@ tinycss2==1.2.1 tomli==2.0.1 tornado==6.3.3 tox==4.11.3 -traitlets==5.9.0 +traitlets==5.10.1 +types-python-dateutil==2.8.19.14 types-setuptools==68.2.0.0 -typing-extensions==4.7.1 +typing-extensions==4.8.0 tzdata==2023.3 ujson==5.8.0 -uproot==5.0.11 +uproot==5.0.12 uri-template==1.3.0 -urllib3==2.0.4 +urllib3==2.0.5 virtualenv==20.24.5 -wcwidth==0.2.6 +wcwidth==0.2.8 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.2 +websocket-client==1.6.3 wheel==0.41.2 -widgetsnbextension==4.0.8 +widgetsnbextension==4.0.9 y-py==0.5.9 ypy-websocket==0.8.2 ; python_version >= "3.7.0" -zipp==3.16.2 +zipp==3.17.0 # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8f79cae..01f9d01 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.0.197 + rev: 0.0.201 hooks: - id: check-dev-files args: @@ -41,12 +41,12 @@ repos: - id: format-setup-cfg - repo: https://github.com/psf/black - rev: 23.9.0 + rev: 23.9.1 hooks: - id: black - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v7.3.0 + rev: v7.3.1 hooks: - id: cspell @@ -62,7 +62,7 @@ repos: )$ - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.36.0 + rev: v0.37.0 hooks: - id: markdownlint @@ -106,19 +106,19 @@ repos: - id: prettier - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.326 + rev: v1.1.329 hooks: - id: pyright - repo: https://github.com/asottile/pyupgrade - rev: v3.10.1 + rev: v3.13.0 hooks: - id: pyupgrade args: - --py36-plus - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.287 + rev: v0.0.291 hooks: - id: ruff args: From 84a37fd9875a8db6eec0de31914fd7597d231fe9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 1 Oct 2023 13:10:02 +0000 Subject: [PATCH 02/11] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .github/ISSUE_TEMPLATE/bug_report.md | 32 ----------------------- .github/ISSUE_TEMPLATE/feature_request.md | 22 ---------------- .github/pull_request_template.md | 11 -------- .gitignore | 1 - .gitpod.yml | 1 - .markdownlint.json | 7 ----- .pre-commit-config.yaml | 11 ++++---- .vscode/extensions.json | 2 +- .vscode/settings.json | 3 +-- pyproject.toml | 1 - 10 files changed, 8 insertions(+), 83 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md delete mode 100644 .github/pull_request_template.md delete mode 100644 .markdownlint.json diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index d0cc61c..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: "" -labels: Bug -assignees: "" ---- - -## Bug description - - - - - -## How to reproduce? - -Steps to reproduce the behavior: - -1. - -## Expected behavior - - - -## System info - -Bug resulted on the following system: - -- OS: -- Version -- Python version: -- Virtual environment: diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 049eb32..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: "" -labels: "✨ Enhancement" -assignees: "" ---- - -## Problem description - - - -## Proposed solution - - - - - - - diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md deleted file mode 100644 index 14b8085..0000000 --- a/.github/pull_request_template.md +++ /dev/null @@ -1,11 +0,0 @@ - - - - - diff --git a/.gitignore b/.gitignore index 89442d9..6d76ca0 100644 --- a/.gitignore +++ b/.gitignore @@ -51,7 +51,6 @@ pyvenv*/ !.github/*.yml !.github/*/*.yml !.gitpod.yml -!.markdownlint.json !.pre-commit-config.yaml !.readthedocs.yml !.vscode/*.json diff --git a/.gitpod.yml b/.gitpod.yml index f159979..63f1485 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -15,7 +15,6 @@ vscode: extensions: - charliermarsh.ruff - christian-kohler.path-intellisense - - davidanson.vscode-markdownlint - eamodio.gitlens - editorconfig.editorconfig - esbenp.prettier-vscode diff --git a/.markdownlint.json b/.markdownlint.json deleted file mode 100644 index 23bb7fa..0000000 --- a/.markdownlint.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "MD013": { "line_length": 88 }, - "MD026": { "punctuation": ".,;:。,;:!" }, - "MD033": { - "allowed_elements": ["br"] - } -} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 01f9d01..9eaa2a8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -44,6 +44,11 @@ repos: rev: 23.9.1 hooks: - id: black + - id: black-jupyter + args: + - --line-length=85 + types_or: + - jupyter - repo: https://github.com/streetsidesoftware/cspell-cli rev: v7.3.1 @@ -61,11 +66,6 @@ repos: .*\.py )$ - - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.37.0 - hooks: - - id: markdownlint - - repo: local hooks: - id: mypy @@ -86,6 +86,7 @@ repos: cell.attachments cell.metadata.code_folding cell.metadata.id + cell.metadata.pycharm cell.metadata.user_expressions metadata.celltoolbar metadata.colab.name diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 837c581..84ae1d8 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -2,7 +2,6 @@ "recommendations": [ "charliermarsh.ruff", "christian-kohler.path-intellisense", - "davidanson.vscode-markdownlint", "eamodio.gitlens", "editorconfig.editorconfig", "esbenp.prettier-vscode", @@ -28,6 +27,7 @@ ], "unwantedRecommendations": [ "bungcip.better-toml", + "davidanson.vscode-markdownlint", "ms-python.flake8", "ms-python.isort", "ms-python.pylint", diff --git a/.vscode/settings.json b/.vscode/settings.json index e254d52..5518fe3 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -25,11 +25,11 @@ "editor.defaultFormatter": "esbenp.prettier-vscode" }, "black-formatter.importStrategy": "fromEnvironment", + "cSpell.enabled": true, "coverage-gutters.coverageFileNames": ["coverage.xml"], "coverage-gutters.coverageReportFileName": "**/htmlcov/index.html", "coverage-gutters.showGutterCoverage": false, "coverage-gutters.showLineCoverage": true, - "cSpell.enabled": true, "editor.formatOnSave": true, "editor.rulers": [88], "git.rebaseWhenSync": true, @@ -54,7 +54,6 @@ "tests/**/__init__.py": true }, "telemetry.enableCrashReporter": false, - "telemetry.enableTelemetry": false, "yaml.schemas": { "https://json.schemastore.org/github-workflow.json": "file:///home/redeboer/dev/redeboer/PawianTools/.github/workflows/requirements.yml" } diff --git a/pyproject.toml b/pyproject.toml index fa5e715..7c9f6d2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,7 +38,6 @@ branch = true source = ["src"] [tool.nbqa.addopts] -black = ["--line-length=85"] [tool.mypy] disallow_incomplete_defs = true From 9d502a0f385c05cbae4319a018fff26fa76b55ba Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 1 Oct 2023 15:10:42 +0200 Subject: [PATCH 03/11] build(deps): bump actions/checkout from 3 to 4 (#39) Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/pr-linting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-linting.yml b/.github/workflows/pr-linting.yml index f2e7129..42cd7f8 100644 --- a/.github/workflows/pr-linting.yml +++ b/.github/workflows/pr-linting.yml @@ -26,7 +26,7 @@ jobs: name: Check title runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Dependencies run: npm install @commitlint/config-conventional - uses: JulienKode/pull-request-name-linter-action@v0.5.0 From c86d12ebf4bc6a73b00d934eb845d55171b88909 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Mon, 9 Oct 2023 16:30:44 +0200 Subject: [PATCH 04/11] MAINT: autoupdate pre-commit config --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9eaa2a8..9cd74de 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ repos: - id: check-useless-excludes - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: check-ast - id: check-case-conflict @@ -31,7 +31,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.0.201 + rev: 0.1.0rc5 hooks: - id: check-dev-files args: @@ -107,19 +107,19 @@ repos: - id: prettier - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.329 + rev: v1.1.330 hooks: - id: pyright - repo: https://github.com/asottile/pyupgrade - rev: v3.13.0 + rev: v3.15.0 hooks: - id: pyupgrade args: - --py36-plus - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.291 + rev: v0.0.292 hooks: - id: ruff args: From 05ab0f2ad6699a44c50600199207e592d0876947 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Mon, 9 Oct 2023 16:44:04 +0200 Subject: [PATCH 05/11] DX: synchronize ComPWA developer setup --- .cspell.json | 22 +--------------------- .github/workflows/pr-linting.yml | 21 +++++++++++---------- .github/workflows/release-drafter.yml | 2 +- .pre-commit-config.yaml | 9 ++++++++- .taplo.toml | 10 +++------- .vscode/settings.json | 10 ++++++---- commitlint.config.js | 11 ----------- pyproject.toml | 17 +++++++++++++++-- 8 files changed, 45 insertions(+), 57 deletions(-) delete mode 100644 commitlint.config.js diff --git a/.cspell.json b/.cspell.json index ed7a4b8..84dc62c 100644 --- a/.cspell.json +++ b/.cspell.json @@ -14,40 +14,20 @@ ], "ignorePaths": [ "**/.cspell.json", - "*.bib", - "*.ico", - "*.root", - "*.rst_t", - "*.svg", - "*particle*.*ml", ".constraints/*.txt", ".editorconfig", ".gitignore", ".gitpod.*", - ".mypy.ini", ".pre-commit-config.yaml", ".prettierignore", - ".readthedocs.yml", ".vscode/*", - ".vscode/.gitignore", - "CITATION.cff", "codecov.yml", - "Dockerfile", "docs/_templates/*", - "docs/adr/*/*", "docs/conf.py", - "labels.toml", - "Makefile", - "Manifest.toml", - "Project.toml", "pyproject.toml", - "pyrightconfig.json", - "pytest.ini", - "requirements*.txt", "setup.cfg", "setup.py", - "tox.ini", - "typings" + "tox.ini" ], "ignoreWords": [ "MAINT", diff --git a/.github/workflows/pr-linting.yml b/.github/workflows/pr-linting.yml index 42cd7f8..cd3bb74 100644 --- a/.github/workflows/pr-linting.yml +++ b/.github/workflows/pr-linting.yml @@ -1,5 +1,3 @@ -# cspell:ignore agilepathway commitlint kode - name: PR linting on: pull_request: @@ -14,19 +12,22 @@ on: jobs: check-labels: name: Check labels - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - - uses: docker://agilepathway/pull-request-label-checker:latest + - uses: docker://agilepathway/pull-request-label-checker:latest # cspell:ignore agilepathway with: - any_of: Bug,✨ Feature,⚠️ Interface,📝 Docs,🔨 Maintenance,🖱️ DX,📖 Physics - none_of: Epic,❌ Won't fix,💫 Good first issue + any_of: >- + 🐛 Bug,✨ Feature,⚙️ Enhancement,⚠️ Interface,❗ Behavior,📝 Docs,🔨 Maintenance,🖱️ DX + none_of: Epic,💫 Good first issue repo_token: ${{ secrets.GITHUB_TOKEN }} check-title: name: Check title - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - - name: Install Dependencies - run: npm install @commitlint/config-conventional - - uses: JulienKode/pull-request-name-linter-action@v0.5.0 + - run: npm install @compwa/commitlint-config + - name: Create commitlint config + run: | + echo "module.exports = {extends: ['@compwa/commitlint-config']}" > commitlint.config.js + - uses: JulienKode/pull-request-name-linter-action@v0.5.0 # cspell:ignore kode diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index d54187d..d64f197 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -9,7 +9,7 @@ on: jobs: update_release_draft: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: release-drafter/release-drafter@v5 env: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9cd74de..4d2e1c8 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.0rc5 + rev: 0.1.0rc6 hooks: - id: check-dev-files args: @@ -129,3 +129,10 @@ repos: rev: v0.8.1 hooks: - id: taplo + + - repo: https://github.com/pappasam/toml-sort + rev: v0.23.1 + hooks: + - id: toml-sort + args: + - --in-place diff --git a/.taplo.toml b/.taplo.toml index f5caabe..0db1df7 100644 --- a/.taplo.toml +++ b/.taplo.toml @@ -1,16 +1,12 @@ -exclude = [ - "**/Cargo.toml", - "**/Manifest.toml", - "**/Project.toml", - "labels*.toml", -] - [formatting] +align_comments = false align_entries = false +allowed_blank_lines = 1 array_auto_collapse = false array_auto_expand = true array_trailing_comma = true column_width = 88 +compact_inline_tables = true indent_string = " " reorder_arrays = true reorder_keys = true diff --git a/.vscode/settings.json b/.vscode/settings.json index 5518fe3..ab5ab0e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,6 @@ { "[git-commit]": { + "editor.rulers": [72], "rewrap.wrappingColumn": 72 }, "[ipynb]": { @@ -19,25 +20,26 @@ "editor.codeActionsOnSave": { "source.organizeImports": true }, - "editor.defaultFormatter": "ms-python.black-formatter" + "editor.defaultFormatter": "ms-python.black-formatter", + "editor.rulers": [88] }, "[yaml]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "black-formatter.importStrategy": "fromEnvironment", - "cSpell.enabled": true, "coverage-gutters.coverageFileNames": ["coverage.xml"], "coverage-gutters.coverageReportFileName": "**/htmlcov/index.html", "coverage-gutters.showGutterCoverage": false, "coverage-gutters.showLineCoverage": true, + "cSpell.enabled": true, "editor.formatOnSave": true, - "editor.rulers": [88], "git.rebaseWhenSync": true, "github-actions.workflows.pinned.workflows": [".github/workflows/ci.yml"], "gitlens.telemetry.enabled": false, "livePreview.defaultPreviewPath": "docs/_build/html", - "mypy-type-checker.args": ["--config-file", "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", diff --git a/commitlint.config.js b/commitlint.config.js deleted file mode 100644 index d8b6bdc..0000000 --- a/commitlint.config.js +++ /dev/null @@ -1,11 +0,0 @@ -module.exports = { - extends: ["@commitlint/config-conventional"], - rules: { - "type-case": [2, "always", ["upper-case"]], - "type-enum": [ - 2, - "always", - ["BEHAVIOR", "BREAK", "DOC", "DX", "ENH", "FEAT", "FIX", "MAINT"], - ], - }, -}; diff --git a/pyproject.toml b/pyproject.toml index 7c9f6d2..da70be0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,8 +37,6 @@ target-version = [ branch = true source = ["src"] -[tool.nbqa.addopts] - [tool.mypy] disallow_incomplete_defs = true disallow_untyped_defs = true @@ -167,6 +165,7 @@ ignore = [ "D416", "E501", "SIM108", + "UP036", ] show-fixes = true src = [ @@ -200,3 +199,17 @@ task-tags = ["cspell"] [tool.ruff.pydocstyle] convention = "google" + +[tool.tomlsort] +all = false +ignore_case = true +in_place = true +sort_first = [ + "build-system", + "project", + "tool.setuptools", + "tool.setuptools_scm", +] +sort_table_keys = true +spaces_indent_inline_array = 4 +trailing_comma_inline_array = true From 8b69a08aae30cb39e7bc90e7ee68237763e1e0db Mon Sep 17 00:00:00 2001 From: GitHub Date: Mon, 9 Oct 2023 14:53:39 +0000 Subject: [PATCH 06/11] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 52 ++++++++++++++++++----------------------- .constraints/py3.11.txt | 52 ++++++++++++++++++----------------------- .constraints/py3.6.txt | 2 +- .constraints/py3.7.txt | 12 +++++----- .constraints/py3.8.txt | 50 +++++++++++++++++---------------------- .constraints/py3.9.txt | 52 ++++++++++++++++++----------------------- 6 files changed, 98 insertions(+), 122 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 8146a2b..f8c3ffc 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -13,14 +13,15 @@ argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.0 +async-lru==2.0.4 attrs==23.1.0 -awkward==2.4.4 +awkward==2.4.5 awkward-cpp==24 -babel==2.12.1 +babel==2.13.0 backcall==0.2.0 beautifulsoup4==4.12.2 black==23.9.1 -bleach==6.0.0 +bleach==6.1.0 cachetools==5.3.1 certifi==2023.7.22 cffi==1.16.0 @@ -31,53 +32,48 @@ click==8.1.7 colorama==0.4.6 comm==0.1.4 contourpy==1.1.1 -coverage==7.3.1 -cycler==0.12.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 docutils==0.19 -entrypoints==0.4 exceptiongroup==1.1.3 execnet==2.0.2 executing==2.0.0 fastjsonschema==2.18.1 filelock==3.12.4 -fonttools==4.43.0 +fonttools==4.43.1 fqdn==1.5.1 gprof2dot==2022.7.29 -greenlet==2.0.2 +greenlet==3.0.0 identify==2.5.30 idna==3.4 imagesize==1.4.1 importlib-metadata==6.8.0 iniconfig==2.0.0 ipykernel==6.25.2 -ipython==8.16.0 -ipython-genutils==0.2.0 +ipython==8.16.1 ipywidgets==8.1.1 isoduration==20.11.0 -jedi==0.19.0 +jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 jsonschema==4.19.1 jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 -jupyter-client==7.4.9 +jupyter-client==8.3.1 jupyter-core==5.3.2 jupyter-events==0.7.0 jupyter-lsp==2.2.0 jupyter-server==2.7.3 -jupyter-server-fileid==0.9.0 jupyter-server-terminals==0.4.4 -jupyter-server-ydoc==0.8.0 -jupyter-ydoc==0.2.4 -jupyterlab==3.6.6 +jupyterlab==4.0.6 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==4.3.0 +jupyterlab-lsp==5.0.0 jupyterlab-myst==2.0.2 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 jupyterlab-server==2.25.0 @@ -95,17 +91,15 @@ mypy==1.5.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 -nbclassic==1.0.0 nbclient==0.7.4 -nbconvert==7.8.0 +nbconvert==7.9.2 nbformat==5.9.2 nest-asyncio==1.5.8 nodeenv==1.8.0 -notebook==6.5.6 notebook-shim==0.2.3 numpy==1.26.0 overrides==7.4.0 -packaging==23.1 +packaging==23.2 pandas==2.1.1 pandocfilters==1.5.0 parso==0.8.3 @@ -113,7 +107,7 @@ pathspec==0.11.2 pexpect==4.8.0 pickleshare==0.7.5 pillow==10.0.1 -platformdirs==3.10.0 +platformdirs==3.11.0 pluggy==1.3.0 pre-commit==3.4.0 prometheus-client==0.17.1 @@ -134,18 +128,18 @@ 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.0 +python-lsp-server==1.8.1 pytoolconfig==1.2.5 pytz==2023.3.post1 pyyaml==6.0.1 -pyzmq==24.0.1 +pyzmq==25.1.1 referencing==0.30.2 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.10.0 -rpds-py==0.10.3 -ruff==0.0.291 ; python_version >= "3.7.0" +rpds-py==0.10.4 +ruff==0.0.292 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -173,7 +167,7 @@ tinycss2==1.2.1 tomli==2.0.1 tornado==6.3.3 tox==4.11.3 -traitlets==5.10.1 +traitlets==5.11.2 types-python-dateutil==2.8.19.14 types-setuptools==68.2.0.0 typing-extensions==4.8.0 @@ -181,12 +175,12 @@ tzdata==2023.3 ujson==5.8.0 uproot==5.0.12 uri-template==1.3.0 -urllib3==2.0.5 +urllib3==2.0.6 virtualenv==20.24.5 wcwidth==0.2.8 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.3 +websocket-client==1.6.4 wheel==0.41.2 widgetsnbextension==4.0.9 y-py==0.5.9 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 41de4e4..662a203 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -13,14 +13,15 @@ argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.0 +async-lru==2.0.4 attrs==23.1.0 -awkward==2.4.4 +awkward==2.4.5 awkward-cpp==24 -babel==2.12.1 +babel==2.13.0 backcall==0.2.0 beautifulsoup4==4.12.2 black==23.9.1 -bleach==6.0.0 +bleach==6.1.0 cachetools==5.3.1 certifi==2023.7.22 cffi==1.16.0 @@ -31,52 +32,47 @@ click==8.1.7 colorama==0.4.6 comm==0.1.4 contourpy==1.1.1 -coverage==7.3.1 -cycler==0.12.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 docutils==0.19 -entrypoints==0.4 execnet==2.0.2 executing==2.0.0 fastjsonschema==2.18.1 filelock==3.12.4 -fonttools==4.43.0 +fonttools==4.43.1 fqdn==1.5.1 gprof2dot==2022.7.29 -greenlet==2.0.2 +greenlet==3.0.0 identify==2.5.30 idna==3.4 imagesize==1.4.1 importlib-metadata==6.8.0 iniconfig==2.0.0 ipykernel==6.25.2 -ipython==8.16.0 -ipython-genutils==0.2.0 +ipython==8.16.1 ipywidgets==8.1.1 isoduration==20.11.0 -jedi==0.19.0 +jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 jsonschema==4.19.1 jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 -jupyter-client==7.4.9 +jupyter-client==8.3.1 jupyter-core==5.3.2 jupyter-events==0.7.0 jupyter-lsp==2.2.0 jupyter-server==2.7.3 -jupyter-server-fileid==0.9.0 jupyter-server-terminals==0.4.4 -jupyter-server-ydoc==0.8.0 -jupyter-ydoc==0.2.4 -jupyterlab==3.6.6 +jupyterlab==4.0.6 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==4.3.0 +jupyterlab-lsp==5.0.0 jupyterlab-myst==2.0.2 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 jupyterlab-server==2.25.0 @@ -94,17 +90,15 @@ mypy==1.5.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 -nbclassic==1.0.0 nbclient==0.7.4 -nbconvert==7.8.0 +nbconvert==7.9.2 nbformat==5.9.2 nest-asyncio==1.5.8 nodeenv==1.8.0 -notebook==6.5.6 notebook-shim==0.2.3 numpy==1.26.0 overrides==7.4.0 -packaging==23.1 +packaging==23.2 pandas==2.1.1 pandocfilters==1.5.0 parso==0.8.3 @@ -112,7 +106,7 @@ pathspec==0.11.2 pexpect==4.8.0 pickleshare==0.7.5 pillow==10.0.1 -platformdirs==3.10.0 +platformdirs==3.11.0 pluggy==1.3.0 pre-commit==3.4.0 prometheus-client==0.17.1 @@ -133,18 +127,18 @@ 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.0 +python-lsp-server==1.8.1 pytoolconfig==1.2.5 pytz==2023.3.post1 pyyaml==6.0.1 -pyzmq==24.0.1 +pyzmq==25.1.1 referencing==0.30.2 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.10.0 -rpds-py==0.10.3 -ruff==0.0.291 ; python_version >= "3.7.0" +rpds-py==0.10.4 +ruff==0.0.292 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -171,7 +165,7 @@ terminado==0.17.1 tinycss2==1.2.1 tornado==6.3.3 tox==4.11.3 -traitlets==5.10.1 +traitlets==5.11.2 types-python-dateutil==2.8.19.14 types-setuptools==68.2.0.0 typing-extensions==4.8.0 @@ -179,12 +173,12 @@ tzdata==2023.3 ujson==5.8.0 uproot==5.0.12 uri-template==1.3.0 -urllib3==2.0.5 +urllib3==2.0.6 virtualenv==20.24.5 wcwidth==0.2.8 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.3 +websocket-client==1.6.4 wheel==0.41.2 widgetsnbextension==4.0.9 y-py==0.5.9 diff --git a/.constraints/py3.6.txt b/.constraints/py3.6.txt index 6f815e0..2f192f1 100644 --- a/.constraints/py3.6.txt +++ b/.constraints/py3.6.txt @@ -152,7 +152,7 @@ types-setuptools==68.2.0.0 typing-extensions==4.1.1 ujson==4.3.0 uproot==4.3.7 -urllib3==1.26.16 +urllib3==1.26.17 virtualenv==20.15.1 ; python_version < "3.8.0" wcwidth==0.2.8 webencodings==0.5.1 diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index 6142bbe..d73ebd9 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.12.1 +babel==2.13.0 backcall==0.2.0 beautifulsoup4==4.12.2 black==23.3.0 @@ -44,7 +44,7 @@ filelock==3.12.2 fonttools==4.38.0 fqdn==1.5.1 gprof2dot==2022.7.29 -greenlet==2.0.2 +greenlet==3.0.0 identify==2.5.24 idna==3.4 imagesize==1.4.1 @@ -99,7 +99,7 @@ nodeenv==1.8.0 notebook==6.5.6 notebook-shim==0.2.3 numpy==1.21.6 -packaging==23.1 +packaging==23.2 pandas==1.3.5 pandocfilters==1.5.0 parso==0.8.3 @@ -108,7 +108,7 @@ pexpect==4.8.0 pickleshare==0.7.5 pillow==9.5.0 pkgutil-resolve-name==1.3.10 -platformdirs==3.10.0 +platformdirs==3.11.0 pluggy==1.2.0 pre-commit==2.21.0 prometheus-client==0.17.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.291 ; python_version >= "3.7.0" +ruff==0.0.292 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -172,7 +172,7 @@ typing-extensions==4.7.1 ujson==5.7.0 uproot==5.0.12 uri-template==1.3.0 -urllib3==2.0.5 +urllib3==2.0.6 virtualenv==20.21.1 ; python_version < "3.8.0" wcwidth==0.2.8 webcolors==1.13 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index f2614fe..6114d46 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -13,14 +13,15 @@ argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.0 +async-lru==2.0.4 attrs==23.1.0 -awkward==2.4.4 +awkward==2.4.5 awkward-cpp==24 -babel==2.12.1 +babel==2.13.0 backcall==0.2.0 beautifulsoup4==4.12.2 black==23.9.1 -bleach==6.0.0 +bleach==6.1.0 cachetools==5.3.1 certifi==2023.7.22 cffi==1.16.0 @@ -31,24 +32,23 @@ click==8.1.7 colorama==0.4.6 comm==0.1.4 contourpy==1.1.1 -coverage==7.3.1 -cycler==0.12.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 docutils==0.19 -entrypoints==0.4 exceptiongroup==1.1.3 execnet==2.0.2 executing==2.0.0 fastjsonschema==2.18.1 filelock==3.12.4 -fonttools==4.43.0 +fonttools==4.43.1 fqdn==1.5.1 gprof2dot==2022.7.29 -greenlet==2.0.2 +greenlet==3.0.0 identify==2.5.30 idna==3.4 imagesize==1.4.1 @@ -57,28 +57,24 @@ importlib-resources==6.1.0 iniconfig==2.0.0 ipykernel==6.25.2 ipython==8.12.3 -ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 -jedi==0.19.0 +jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 jsonschema==4.19.1 jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 -jupyter-client==7.4.9 +jupyter-client==8.3.1 jupyter-core==5.3.2 jupyter-events==0.7.0 jupyter-lsp==2.2.0 jupyter-server==2.7.3 -jupyter-server-fileid==0.9.0 jupyter-server-terminals==0.4.4 -jupyter-server-ydoc==0.8.0 -jupyter-ydoc==0.2.4 -jupyterlab==3.6.6 +jupyterlab==4.0.6 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==4.3.0 +jupyterlab-lsp==5.0.0 jupyterlab-myst==2.0.2 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 jupyterlab-server==2.25.0 @@ -96,17 +92,15 @@ mypy==1.5.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 -nbclassic==1.0.0 nbclient==0.7.4 -nbconvert==7.8.0 +nbconvert==7.9.2 nbformat==5.9.2 nest-asyncio==1.5.8 nodeenv==1.8.0 -notebook==6.5.6 notebook-shim==0.2.3 numpy==1.24.4 overrides==7.4.0 -packaging==23.1 +packaging==23.2 pandas==2.0.3 pandocfilters==1.5.0 parso==0.8.3 @@ -115,7 +109,7 @@ pexpect==4.8.0 pickleshare==0.7.5 pillow==10.0.1 pkgutil-resolve-name==1.3.10 -platformdirs==3.10.0 +platformdirs==3.11.0 pluggy==1.3.0 pre-commit==3.4.0 prometheus-client==0.17.1 @@ -136,18 +130,18 @@ 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.0 +python-lsp-server==1.8.1 pytoolconfig==1.2.5 pytz==2023.3.post1 pyyaml==6.0.1 -pyzmq==24.0.1 +pyzmq==25.1.1 referencing==0.30.2 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.10.0 -rpds-py==0.10.3 -ruff==0.0.291 ; python_version >= "3.7.0" +rpds-py==0.10.4 +ruff==0.0.292 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -175,7 +169,7 @@ tinycss2==1.2.1 tomli==2.0.1 tornado==6.3.3 tox==4.11.3 -traitlets==5.10.1 +traitlets==5.11.2 types-python-dateutil==2.8.19.14 types-setuptools==68.2.0.0 typing-extensions==4.8.0 @@ -183,12 +177,12 @@ tzdata==2023.3 ujson==5.8.0 uproot==5.0.12 uri-template==1.3.0 -urllib3==2.0.5 +urllib3==2.0.6 virtualenv==20.24.5 wcwidth==0.2.8 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.3 +websocket-client==1.6.4 wheel==0.41.2 widgetsnbextension==4.0.9 y-py==0.5.9 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index c92f182..cd78856 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -13,14 +13,15 @@ argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.0 +async-lru==2.0.4 attrs==23.1.0 -awkward==2.4.4 +awkward==2.4.5 awkward-cpp==24 -babel==2.12.1 +babel==2.13.0 backcall==0.2.0 beautifulsoup4==4.12.2 black==23.9.1 -bleach==6.0.0 +bleach==6.1.0 cachetools==5.3.1 certifi==2023.7.22 cffi==1.16.0 @@ -31,24 +32,23 @@ click==8.1.7 colorama==0.4.6 comm==0.1.4 contourpy==1.1.1 -coverage==7.3.1 -cycler==0.12.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 docutils==0.19 -entrypoints==0.4 exceptiongroup==1.1.3 execnet==2.0.2 executing==2.0.0 fastjsonschema==2.18.1 filelock==3.12.4 -fonttools==4.43.0 +fonttools==4.43.1 fqdn==1.5.1 gprof2dot==2022.7.29 -greenlet==2.0.2 +greenlet==3.0.0 identify==2.5.30 idna==3.4 imagesize==1.4.1 @@ -56,29 +56,25 @@ importlib-metadata==6.8.0 importlib-resources==6.1.0 iniconfig==2.0.0 ipykernel==6.25.2 -ipython==8.16.0 -ipython-genutils==0.2.0 +ipython==8.16.1 ipywidgets==8.1.1 isoduration==20.11.0 -jedi==0.19.0 +jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 jsonschema==4.19.1 jsonschema-specifications==2023.7.1 jupyter-cache==0.6.1 -jupyter-client==7.4.9 +jupyter-client==8.3.1 jupyter-core==5.3.2 jupyter-events==0.7.0 jupyter-lsp==2.2.0 jupyter-server==2.7.3 -jupyter-server-fileid==0.9.0 jupyter-server-terminals==0.4.4 -jupyter-server-ydoc==0.8.0 -jupyter-ydoc==0.2.4 -jupyterlab==3.6.6 +jupyterlab==4.0.6 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==4.3.0 +jupyterlab-lsp==5.0.0 jupyterlab-myst==2.0.2 ; python_version >= "3.7.0" jupyterlab-pygments==0.2.2 jupyterlab-server==2.25.0 @@ -96,17 +92,15 @@ mypy==1.5.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 -nbclassic==1.0.0 nbclient==0.7.4 -nbconvert==7.8.0 +nbconvert==7.9.2 nbformat==5.9.2 nest-asyncio==1.5.8 nodeenv==1.8.0 -notebook==6.5.6 notebook-shim==0.2.3 numpy==1.26.0 overrides==7.4.0 -packaging==23.1 +packaging==23.2 pandas==2.1.1 pandocfilters==1.5.0 parso==0.8.3 @@ -114,7 +108,7 @@ pathspec==0.11.2 pexpect==4.8.0 pickleshare==0.7.5 pillow==10.0.1 -platformdirs==3.10.0 +platformdirs==3.11.0 pluggy==1.3.0 pre-commit==3.4.0 prometheus-client==0.17.1 @@ -135,18 +129,18 @@ 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.0 +python-lsp-server==1.8.1 pytoolconfig==1.2.5 pytz==2023.3.post1 pyyaml==6.0.1 -pyzmq==24.0.1 +pyzmq==25.1.1 referencing==0.30.2 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.10.0 -rpds-py==0.10.3 -ruff==0.0.291 ; python_version >= "3.7.0" +rpds-py==0.10.4 +ruff==0.0.292 ; python_version >= "3.7.0" send2trash==1.8.2 six==1.16.0 sniffio==1.3.0 @@ -174,7 +168,7 @@ tinycss2==1.2.1 tomli==2.0.1 tornado==6.3.3 tox==4.11.3 -traitlets==5.10.1 +traitlets==5.11.2 types-python-dateutil==2.8.19.14 types-setuptools==68.2.0.0 typing-extensions==4.8.0 @@ -182,12 +176,12 @@ tzdata==2023.3 ujson==5.8.0 uproot==5.0.12 uri-template==1.3.0 -urllib3==2.0.5 +urllib3==2.0.6 virtualenv==20.24.5 wcwidth==0.2.8 webcolors==1.13 webencodings==0.5.1 -websocket-client==1.6.3 +websocket-client==1.6.4 wheel==0.41.2 widgetsnbextension==4.0.9 y-py==0.5.9 From 5499a4ddbdd044cc7f3cac42acf74a86fa8d9a8b Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Mon, 9 Oct 2023 17:10:19 +0200 Subject: [PATCH 07/11] DX: remove `.prettierrc` --- .pre-commit-config.yaml | 1 + .prettierrc | 1 - .vscode/settings.json | 3 +-- 3 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 .prettierrc diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4d2e1c8..75bb348 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -35,6 +35,7 @@ repos: hooks: - id: check-dev-files args: + - --no-prettierrc - --pin-requirements=bimonthly - --repo-name=PawianTools - --repo-title=Pawian Tools diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index ca09957..0000000 --- a/.prettierrc +++ /dev/null @@ -1 +0,0 @@ -printWidth: 88 diff --git a/.vscode/settings.json b/.vscode/settings.json index ab5ab0e..9132578 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -13,8 +13,7 @@ "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[markdown]": { - "editor.defaultFormatter": "esbenp.prettier-vscode", - "editor.wordWrap": "off" + "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[python]": { "editor.codeActionsOnSave": { From 82eef6c1a69569c6bac540e3da03ed9f48823481 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Oct 2023 15:12:14 +0000 Subject: [PATCH 08/11] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/_templates/genindex.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/_templates/genindex.html b/docs/_templates/genindex.html index abea27f..21849ec 100644 --- a/docs/_templates/genindex.html +++ b/docs/_templates/genindex.html @@ -7,11 +7,12 @@ {%- for ismain, link in links[1:] -%} , {% if ismain %}{% endif -%} [{{ loop.index }}] {%- if ismain %}{% - endif -%} + >{% if ismain %}{% endif -%} [{{ loop.index }}] {%- if ismain %}{% endif -%} -{%- endfor %} {%- else %} {{ firstname|e }} {%- endif %} {% endmacro %} {%- extends -"layout.html" %} {% set title = _('Index') %} {% block body %} +{%- endfor %} {%- else %} {{ firstname|e }} {%- endif %} {% endmacro %} {%- +extends "layout.html" %} {% set title = _('Index') %} {% block body %}

{{ _('Index') }}

From 93c1eb06613acd66a02de7c19ef4d5c51091d13d Mon Sep 17 00:00:00 2001 From: GitHub Date: Mon, 9 Oct 2023 15:14:23 +0000 Subject: [PATCH 09/11] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 2 +- .constraints/py3.11.txt | 2 +- .constraints/py3.8.txt | 2 +- .constraints/py3.9.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index f8c3ffc..bf7b64f 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -128,7 +128,7 @@ 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.1 +python-lsp-server==1.8.2 pytoolconfig==1.2.5 pytz==2023.3.post1 pyyaml==6.0.1 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 662a203..8781953 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -127,7 +127,7 @@ 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.1 +python-lsp-server==1.8.2 pytoolconfig==1.2.5 pytz==2023.3.post1 pyyaml==6.0.1 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 6114d46..0a106c8 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -130,7 +130,7 @@ 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.1 +python-lsp-server==1.8.2 pytoolconfig==1.2.5 pytz==2023.3.post1 pyyaml==6.0.1 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index cd78856..62d357c 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -129,7 +129,7 @@ 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.1 +python-lsp-server==1.8.2 pytoolconfig==1.2.5 pytz==2023.3.post1 pyyaml==6.0.1 From 823e0d260d852251a4ecb1975f7124e00e5a4e96 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Mon, 9 Oct 2023 17:20:32 +0200 Subject: [PATCH 10/11] FIX: relink IPython API --- docs/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 29c2081..0bbe819 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -148,7 +148,8 @@ # Intersphinx settings version_remapping: Dict[str, Dict[str, str]] = { "ipython": { - "8.12.2": "8.13.2", + "8.12.2": "8.12.1", + "8.12.3": "8.12.1", }, } From 7f0160f5a776b0c6dfea09b15eefc00bc33b0613 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Mon, 9 Oct 2023 18:02:45 +0200 Subject: [PATCH 11/11] MAINT: autoupdate pre-commit config --- .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 75bb348..485a6a9 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.0rc6 + rev: 0.1.0 hooks: - id: check-dev-files args: