From de28a8ad77a08396883197e0e9c9bfb669bf624d Mon Sep 17 00:00:00 2001 From: GitHub Date: Sun, 7 Jan 2024 03:11:16 +0000 Subject: [PATCH 01/17] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 92 ++++++++++++++++++++--------------------- .constraints/py3.11.txt | 92 ++++++++++++++++++++--------------------- .constraints/py3.12.txt | 92 ++++++++++++++++++++--------------------- .constraints/py3.7.txt | 26 ++++++------ .constraints/py3.8.txt | 72 ++++++++++++++++---------------- .constraints/py3.9.txt | 90 ++++++++++++++++++++-------------------- .pre-commit-config.yaml | 12 +++--- 7 files changed, 238 insertions(+), 238 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 671670e12..25d6406ba 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -6,16 +6,16 @@ # accessible-pygments==0.0.4 alabaster==0.7.13 -anyio==4.1.0 +anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.1 async-lru==2.0.4 -attrs==23.1.0 -babel==2.13.1 +attrs==23.2.0 +babel==2.14.0 beautifulsoup4==4.12.2 -black==23.11.0 +black==23.12.1 bleach==6.1.0 cachetools==5.3.2 cattrs==23.2.3 @@ -26,56 +26,56 @@ chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.2.0 +comm==0.2.1 contourpy==1.2.0 -coverage==7.3.2 +coverage==7.4.0 cycler==0.12.1 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 -distlib==0.3.7 +distlib==0.3.8 docstring-to-markdown==0.13 -docutils==0.17.1 +docutils==0.20.1 exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.19.0 +fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.46.0 +fonttools==4.47.0 fqdn==1.5.1 gitdb==4.0.11 gitpython==3.1.40 gprof2dot==2022.7.29 graphviz==0.20.1 -greenlet==3.0.2 +greenlet==3.0.3 hepunits==2.3.2 identify==2.5.33 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.0 +importlib-metadata==7.0.1 iniconfig==2.0.0 -ipykernel==6.27.1 +ipykernel==6.28.0 ipympl==0.9.3 -ipython==8.18.1 +ipython==8.19.0 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 -isort==5.12.0 +isort==5.13.2 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 -jsonschema-specifications==2023.11.2 +jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 jupyter-client==8.6.0 -jupyter-core==5.5.0 +jupyter-core==5.7.0 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.1 +jupyter-server==2.12.2 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.4.4 -jupyterlab==4.0.9 +jupyter-server-terminals==0.5.1 +jupyterlab==4.0.10 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 jupyterlab-lsp==5.0.1 @@ -87,52 +87,52 @@ kiwisolver==1.4.5 latexcodec==2.0.1 livereload==2.6.3 lsprotocol==2023.0.0 -markdown-it-py==2.2.0 +markdown-it-py==3.0.0 markupsafe==2.1.3 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 mpl-interactions==0.24.1 mpmath==1.3.0 -mypy==1.7.1 +mypy==1.8.0 mypy-extensions==1.0.0 myst-nb==1.0.0 -myst-parser==1.0.0 +myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.12.0 +nbconvert==7.14.0 nbdime==4.0.1 nbformat==5.9.2 nbmake==1.4.6 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook-shim==0.2.3 -numpy==1.26.2 +numpy==1.26.3 overrides==7.4.0 packaging==23.2 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.1 -pathspec==0.11.2 +pathspec==0.12.1 pexpect==4.9.0 -pillow==10.1.0 +pillow==10.2.0 platformdirs==4.1.0 pluggy==1.3.0 -pre-commit==3.5.0 +pre-commit==3.6.0 prometheus-client==0.19.0 -prompt-toolkit==3.0.41 -psutil==5.9.6 +prompt-toolkit==3.0.43 +psutil==5.9.7 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.14.4 +pydata-sphinx-theme==0.15.1 pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.3 +pytest==7.4.4 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 @@ -140,30 +140,30 @@ python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.0 +python-lsp-ruff==2.0.1 python-lsp-server==1.9.0 pytoolconfig==1.2.6 pyyaml==6.0.1 pyzmq==25.1.2 qrules==0.9.8 -referencing==0.32.0 +referencing==0.32.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rich==13.7.0 rope==1.11.0 -rpds-py==0.13.2 -ruff==0.1.7 +rpds-py==0.16.2 +ruff==0.1.11 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 sniffio==1.3.0 snowballstemmer==2.2.0 soupsieve==2.5 -sphinx==5.3.0 -sphinx-api-relink==0.0.6 +sphinx==7.2.6 +sphinx-api-relink==0.0.8 sphinx-autobuild==2021.3.14 -sphinx-book-theme==1.0.1 +sphinx-book-theme==1.1.0 sphinx-codeautolink==0.15.0 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 @@ -179,7 +179,7 @@ sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.23 +sqlalchemy==2.0.25 stack-data==0.6.3 sympy==1.12 tabulate==0.9.0 @@ -189,14 +189,14 @@ tomli==2.0.1 tornado==6.4 tox==4.11.4 tqdm==4.66.1 -traitlets==5.14.0 -types-python-dateutil==2.8.19.14 -typing-extensions==4.8.0 -ujson==5.8.0 +traitlets==5.14.1 +types-python-dateutil==2.8.19.20240106 +typing-extensions==4.9.0 +ujson==5.9.0 uri-template==1.3.0 urllib3==2.1.0 virtualenv==20.25.0 -wcwidth==0.2.12 +wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.7.0 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 22de0624a..ed359bd38 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -6,16 +6,16 @@ # accessible-pygments==0.0.4 alabaster==0.7.13 -anyio==4.1.0 +anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.1 async-lru==2.0.4 -attrs==23.1.0 -babel==2.13.1 +attrs==23.2.0 +babel==2.14.0 beautifulsoup4==4.12.2 -black==23.11.0 +black==23.12.1 bleach==6.1.0 cachetools==5.3.2 cattrs==23.2.3 @@ -26,55 +26,55 @@ chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.2.0 +comm==0.2.1 contourpy==1.2.0 -coverage==7.3.2 +coverage==7.4.0 cycler==0.12.1 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 -distlib==0.3.7 +distlib==0.3.8 docstring-to-markdown==0.13 -docutils==0.17.1 +docutils==0.20.1 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.19.0 +fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.46.0 +fonttools==4.47.0 fqdn==1.5.1 gitdb==4.0.11 gitpython==3.1.40 gprof2dot==2022.7.29 graphviz==0.20.1 -greenlet==3.0.2 +greenlet==3.0.3 hepunits==2.3.2 identify==2.5.33 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.0 +importlib-metadata==7.0.1 iniconfig==2.0.0 -ipykernel==6.27.1 +ipykernel==6.28.0 ipympl==0.9.3 -ipython==8.18.1 +ipython==8.19.0 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 -isort==5.12.0 +isort==5.13.2 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 -jsonschema-specifications==2023.11.2 +jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 jupyter-client==8.6.0 -jupyter-core==5.5.0 +jupyter-core==5.7.0 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.1 +jupyter-server==2.12.2 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.4.4 -jupyterlab==4.0.9 +jupyter-server-terminals==0.5.1 +jupyterlab==4.0.10 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 jupyterlab-lsp==5.0.1 @@ -86,52 +86,52 @@ kiwisolver==1.4.5 latexcodec==2.0.1 livereload==2.6.3 lsprotocol==2023.0.0 -markdown-it-py==2.2.0 +markdown-it-py==3.0.0 markupsafe==2.1.3 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 mpl-interactions==0.24.1 mpmath==1.3.0 -mypy==1.7.1 +mypy==1.8.0 mypy-extensions==1.0.0 myst-nb==1.0.0 -myst-parser==1.0.0 +myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.12.0 +nbconvert==7.14.0 nbdime==4.0.1 nbformat==5.9.2 nbmake==1.4.6 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook-shim==0.2.3 -numpy==1.26.2 +numpy==1.26.3 overrides==7.4.0 packaging==23.2 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.1 -pathspec==0.11.2 +pathspec==0.12.1 pexpect==4.9.0 -pillow==10.1.0 +pillow==10.2.0 platformdirs==4.1.0 pluggy==1.3.0 -pre-commit==3.5.0 +pre-commit==3.6.0 prometheus-client==0.19.0 -prompt-toolkit==3.0.41 -psutil==5.9.6 +prompt-toolkit==3.0.43 +psutil==5.9.7 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.14.4 +pydata-sphinx-theme==0.15.1 pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.3 +pytest==7.4.4 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 @@ -139,30 +139,30 @@ python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.0 +python-lsp-ruff==2.0.1 python-lsp-server==1.9.0 pytoolconfig==1.2.6 pyyaml==6.0.1 pyzmq==25.1.2 qrules==0.9.8 -referencing==0.32.0 +referencing==0.32.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rich==13.7.0 rope==1.11.0 -rpds-py==0.13.2 -ruff==0.1.7 +rpds-py==0.16.2 +ruff==0.1.11 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 sniffio==1.3.0 snowballstemmer==2.2.0 soupsieve==2.5 -sphinx==5.3.0 -sphinx-api-relink==0.0.6 +sphinx==7.2.6 +sphinx-api-relink==0.0.8 sphinx-autobuild==2021.3.14 -sphinx-book-theme==1.0.1 +sphinx-book-theme==1.1.0 sphinx-codeautolink==0.15.0 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 @@ -178,7 +178,7 @@ sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.23 +sqlalchemy==2.0.25 stack-data==0.6.3 sympy==1.12 tabulate==0.9.0 @@ -187,14 +187,14 @@ tinycss2==1.2.1 tornado==6.4 tox==4.11.4 tqdm==4.66.1 -traitlets==5.14.0 -types-python-dateutil==2.8.19.14 -typing-extensions==4.8.0 -ujson==5.8.0 +traitlets==5.14.1 +types-python-dateutil==2.8.19.20240106 +typing-extensions==4.9.0 +ujson==5.9.0 uri-template==1.3.0 urllib3==2.1.0 virtualenv==20.25.0 -wcwidth==0.2.12 +wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.7.0 diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt index b764adfa7..a62b68a8b 100644 --- a/.constraints/py3.12.txt +++ b/.constraints/py3.12.txt @@ -6,16 +6,16 @@ # accessible-pygments==0.0.4 alabaster==0.7.13 -anyio==4.1.0 +anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.1 async-lru==2.0.4 -attrs==23.1.0 -babel==2.13.1 +attrs==23.2.0 +babel==2.14.0 beautifulsoup4==4.12.2 -black==23.11.0 +black==23.12.1 bleach==6.1.0 cachetools==5.3.2 cattrs==23.2.3 @@ -26,55 +26,55 @@ chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.2.0 +comm==0.2.1 contourpy==1.2.0 -coverage==7.3.2 +coverage==7.4.0 cycler==0.12.1 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 -distlib==0.3.7 +distlib==0.3.8 docstring-to-markdown==0.13 -docutils==0.17.1 +docutils==0.20.1 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.19.0 +fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.46.0 +fonttools==4.47.0 fqdn==1.5.1 gitdb==4.0.11 gitpython==3.1.40 gprof2dot==2022.7.29 graphviz==0.20.1 -greenlet==3.0.2 +greenlet==3.0.3 hepunits==2.3.2 identify==2.5.33 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.0 +importlib-metadata==7.0.1 iniconfig==2.0.0 -ipykernel==6.27.1 +ipykernel==6.28.0 ipympl==0.9.3 -ipython==8.18.1 +ipython==8.19.0 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 -isort==5.12.0 +isort==5.13.2 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 -jsonschema-specifications==2023.11.2 +jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 jupyter-client==8.6.0 -jupyter-core==5.5.0 +jupyter-core==5.7.0 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.1 +jupyter-server==2.12.2 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.4.4 -jupyterlab==4.0.9 +jupyter-server-terminals==0.5.1 +jupyterlab==4.0.10 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 jupyterlab-lsp==5.0.1 @@ -86,52 +86,52 @@ kiwisolver==1.4.5 latexcodec==2.0.1 livereload==2.6.3 lsprotocol==2023.0.0 -markdown-it-py==2.2.0 +markdown-it-py==3.0.0 markupsafe==2.1.3 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 mpl-interactions==0.24.1 mpmath==1.3.0 -mypy==1.7.1 +mypy==1.8.0 mypy-extensions==1.0.0 myst-nb==1.0.0 -myst-parser==1.0.0 +myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.12.0 +nbconvert==7.14.0 nbdime==4.0.1 nbformat==5.9.2 nbmake==1.4.6 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook-shim==0.2.3 -numpy==1.26.2 +numpy==1.26.3 overrides==7.4.0 packaging==23.2 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.1 -pathspec==0.11.2 +pathspec==0.12.1 pexpect==4.9.0 -pillow==10.1.0 +pillow==10.2.0 platformdirs==4.1.0 pluggy==1.3.0 -pre-commit==3.5.0 +pre-commit==3.6.0 prometheus-client==0.19.0 -prompt-toolkit==3.0.41 -psutil==5.9.6 +prompt-toolkit==3.0.43 +psutil==5.9.7 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.14.4 +pydata-sphinx-theme==0.15.1 pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.3 +pytest==7.4.4 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 @@ -139,30 +139,30 @@ python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.0 +python-lsp-ruff==2.0.1 python-lsp-server==1.9.0 pytoolconfig==1.2.6 pyyaml==6.0.1 pyzmq==25.1.2 qrules==0.9.8 -referencing==0.32.0 +referencing==0.32.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rich==13.7.0 rope==1.11.0 -rpds-py==0.13.2 -ruff==0.1.7 +rpds-py==0.16.2 +ruff==0.1.11 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 sniffio==1.3.0 snowballstemmer==2.2.0 soupsieve==2.5 -sphinx==5.3.0 -sphinx-api-relink==0.0.6 +sphinx==7.2.6 +sphinx-api-relink==0.0.8 sphinx-autobuild==2021.3.14 -sphinx-book-theme==1.0.1 +sphinx-book-theme==1.1.0 sphinx-codeautolink==0.15.0 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 @@ -178,7 +178,7 @@ sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.23 +sqlalchemy==2.0.25 stack-data==0.6.3 sympy==1.12 tabulate==0.9.0 @@ -187,14 +187,14 @@ tinycss2==1.2.1 tornado==6.4 tox==4.11.4 tqdm==4.66.1 -traitlets==5.14.0 -types-python-dateutil==2.8.19.14 -typing-extensions==4.8.0 -ujson==5.8.0 +traitlets==5.14.1 +types-python-dateutil==2.8.19.20240106 +typing-extensions==4.9.0 +ujson==5.9.0 uri-template==1.3.0 urllib3==2.1.0 virtualenv==20.25.0 -wcwidth==0.2.12 +wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.7.0 diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index a2e0b6186..25b7b0872 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -12,8 +12,8 @@ anyio==3.7.1 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.2.3 -attrs==23.1.0 -babel==2.13.1 +attrs==23.2.0 +babel==2.14.0 backcall==0.2.0 beautifulsoup4==4.12.2 black==23.3.0 @@ -34,13 +34,13 @@ cycler==0.11.0 debugpy==1.7.0 decorator==5.1.1 defusedxml==0.7.1 -distlib==0.3.7 +distlib==0.3.8 docstring-to-markdown==0.13 docutils==0.17.1 entrypoints==0.4 exceptiongroup==1.2.0 execnet==2.0.2 -fastjsonschema==2.19.0 +fastjsonschema==2.19.1 filelock==3.12.2 fonttools==4.38.0 fqdn==1.5.1 @@ -48,7 +48,7 @@ gitdb==4.0.11 gitpython==3.1.40 gprof2dot==2022.7.29 graphviz==0.20.1 -greenlet==3.0.2 +greenlet==3.0.3 hepunits==2.3.2 identify==2.5.24 idna==3.6 @@ -74,7 +74,7 @@ jupyter-core==4.12.0 jupyter-events==0.6.3 jupyter-lsp==1.5.1 jupyter-server==1.24.0 -jupyter-server-fileid==0.9.0 +jupyter-server-fileid==0.9.1 jupyter-server-mathjax==0.2.6 jupyter-server-ydoc==0.8.0 jupyter-ydoc==0.2.5 @@ -127,8 +127,8 @@ platformdirs==4.0.0 pluggy==1.2.0 pre-commit==2.21.0 prometheus-client==0.17.1 -prompt-toolkit==3.0.41 -psutil==5.9.6 +prompt-toolkit==3.0.43 +psutil==5.9.7 ptyprocess==0.7.0 pybtex==0.24.0 pybtex-docutils==1.0.3 @@ -139,7 +139,7 @@ pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.5.3 pyrsistent==0.19.3 -pytest==7.4.3 +pytest==7.4.4 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 @@ -159,7 +159,7 @@ rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rich==13.7.0 rope==1.9.0 -ruff==0.1.7 +ruff==0.1.11 send2trash==1.8.2 singledispatchmethod==1.0 ; python_version < "3.8.0" six==1.16.0 @@ -168,7 +168,7 @@ sniffio==1.3.0 snowballstemmer==2.2.0 soupsieve==2.4.1 sphinx==5.3.0 -sphinx-api-relink==0.0.6 +sphinx-api-relink==0.0.8 sphinx-autobuild==2021.3.14 sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 @@ -186,7 +186,7 @@ sphinxcontrib-htmlhelp==2.0.0 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 -sqlalchemy==1.4.50 +sqlalchemy==1.4.51 sympy==1.10.1 tabulate==0.9.0 terminado==0.17.1 @@ -202,7 +202,7 @@ ujson==5.7.0 uri-template==1.3.0 urllib3==2.0.7 virtualenv==20.25.0 -wcwidth==0.2.12 +wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.1 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 9db64db4f..db0cbb721 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -6,17 +6,17 @@ # accessible-pygments==0.0.4 alabaster==0.7.13 -anyio==4.1.0 +anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.1 async-lru==2.0.4 -attrs==23.1.0 -babel==2.13.1 +attrs==23.2.0 +babel==2.14.0 backcall==0.2.0 beautifulsoup4==4.12.2 -black==23.11.0 +black==23.12.1 bleach==6.1.0 cachetools==5.3.2 cattrs==23.2.3 @@ -27,57 +27,57 @@ chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.2.0 +comm==0.2.1 contourpy==1.1.1 -coverage==7.3.2 +coverage==7.4.0 cycler==0.12.1 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 -distlib==0.3.7 +distlib==0.3.8 docstring-to-markdown==0.13 docutils==0.17.1 exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.19.0 +fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.46.0 +fonttools==4.47.0 fqdn==1.5.1 gitdb==4.0.11 gitpython==3.1.40 gprof2dot==2022.7.29 graphviz==0.20.1 -greenlet==3.0.2 +greenlet==3.0.3 hepunits==2.3.2 identify==2.5.33 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.0 +importlib-metadata==7.0.1 importlib-resources==6.1.1 iniconfig==2.0.0 -ipykernel==6.27.1 +ipykernel==6.28.0 ipympl==0.9.3 ipython==8.12.3 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 -isort==5.12.0 +isort==5.13.2 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 -jsonschema-specifications==2023.11.2 +jsonschema-specifications==2023.12.1 jupyter-cache==0.6.1 jupyter-client==8.6.0 -jupyter-core==5.5.0 +jupyter-core==5.7.0 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.1 +jupyter-server==2.12.2 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.4.4 -jupyterlab==4.0.9 +jupyter-server-terminals==0.5.1 +jupyterlab==4.0.10 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 jupyterlab-lsp==5.0.1 @@ -98,12 +98,12 @@ mdurl==0.1.2 mistune==3.0.2 mpl-interactions==0.24.1 mpmath==1.3.0 -mypy==1.7.1 +mypy==1.8.0 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.6.8 -nbconvert==7.12.0 +nbconvert==7.14.0 nbdime==4.0.1 nbformat==5.9.2 nbmake==1.4.6 @@ -116,17 +116,17 @@ packaging==23.2 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.1 -pathspec==0.11.2 +pathspec==0.12.1 pexpect==4.9.0 pickleshare==0.7.5 -pillow==10.1.0 +pillow==10.2.0 pkgutil-resolve-name==1.3.10 platformdirs==4.1.0 pluggy==1.3.0 pre-commit==3.5.0 prometheus-client==0.19.0 -prompt-toolkit==3.0.41 -psutil==5.9.6 +prompt-toolkit==3.0.43 +psutil==5.9.7 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 @@ -136,7 +136,7 @@ pydata-sphinx-theme==0.14.4 pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.3 +pytest==7.4.4 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 @@ -144,21 +144,21 @@ python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.0 +python-lsp-ruff==2.0.1 python-lsp-server==1.9.0 pytoolconfig==1.2.6 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.2 qrules==0.9.8 -referencing==0.32.0 +referencing==0.32.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rich==13.7.0 rope==1.11.0 -rpds-py==0.13.2 -ruff==0.1.7 +rpds-py==0.16.2 +ruff==0.1.11 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 @@ -166,7 +166,7 @@ sniffio==1.3.0 snowballstemmer==2.2.0 soupsieve==2.5 sphinx==5.3.0 -sphinx-api-relink==0.0.6 +sphinx-api-relink==0.0.8 sphinx-autobuild==2021.3.14 sphinx-book-theme==1.0.1 sphinx-codeautolink==0.15.0 @@ -184,7 +184,7 @@ sphinxcontrib-htmlhelp==2.0.1 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 -sqlalchemy==2.0.23 +sqlalchemy==2.0.25 stack-data==0.6.3 sympy==1.12 tabulate==0.9.0 @@ -194,14 +194,14 @@ tomli==2.0.1 tornado==6.4 tox==4.11.4 tqdm==4.66.1 -traitlets==5.14.0 -types-python-dateutil==2.8.19.14 -typing-extensions==4.8.0 -ujson==5.8.0 +traitlets==5.14.1 +types-python-dateutil==2.8.19.20240106 +typing-extensions==4.9.0 +ujson==5.9.0 uri-template==1.3.0 urllib3==2.1.0 virtualenv==20.25.0 -wcwidth==0.2.12 +wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.7.0 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index dcd3b990f..b889fb25b 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -6,16 +6,16 @@ # accessible-pygments==0.0.4 alabaster==0.7.13 -anyio==4.1.0 +anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==2.4.1 async-lru==2.0.4 -attrs==23.1.0 -babel==2.13.1 +attrs==23.2.0 +babel==2.14.0 beautifulsoup4==4.12.2 -black==23.11.0 +black==23.12.1 bleach==6.1.0 cachetools==5.3.2 cattrs==23.2.3 @@ -26,57 +26,57 @@ chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 -comm==0.2.0 +comm==0.2.1 contourpy==1.2.0 -coverage==7.3.2 +coverage==7.4.0 cycler==0.12.1 debugpy==1.8.0 decorator==5.1.1 defusedxml==0.7.1 -distlib==0.3.7 +distlib==0.3.8 docstring-to-markdown==0.13 -docutils==0.17.1 +docutils==0.20.1 exceptiongroup==1.2.0 execnet==2.0.2 executing==2.0.1 -fastjsonschema==2.19.0 +fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.46.0 +fonttools==4.47.0 fqdn==1.5.1 gitdb==4.0.11 gitpython==3.1.40 gprof2dot==2022.7.29 graphviz==0.20.1 -greenlet==3.0.2 +greenlet==3.0.3 hepunits==2.3.2 identify==2.5.33 idna==3.6 imagesize==1.4.1 -importlib-metadata==7.0.0 +importlib-metadata==7.0.1 importlib-resources==6.1.1 iniconfig==2.0.0 -ipykernel==6.27.1 +ipykernel==6.28.0 ipympl==0.9.3 ipython==8.18.1 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 -isort==5.12.0 +isort==5.13.2 jedi==0.19.1 jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 -jsonschema-specifications==2023.11.2 +jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 jupyter-client==8.6.0 -jupyter-core==5.5.0 +jupyter-core==5.7.0 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.1 +jupyter-server==2.12.2 jupyter-server-mathjax==0.2.6 -jupyter-server-terminals==0.4.4 -jupyterlab==4.0.9 +jupyter-server-terminals==0.5.1 +jupyterlab==4.0.10 jupyterlab-code-formatter==2.2.1 jupyterlab-git==0.50.0 jupyterlab-lsp==5.0.1 @@ -88,52 +88,52 @@ kiwisolver==1.4.5 latexcodec==2.0.1 livereload==2.6.3 lsprotocol==2023.0.0 -markdown-it-py==2.2.0 +markdown-it-py==3.0.0 markupsafe==2.1.3 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 mpl-interactions==0.24.1 mpmath==1.3.0 -mypy==1.7.1 +mypy==1.8.0 mypy-extensions==1.0.0 myst-nb==1.0.0 -myst-parser==1.0.0 +myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.12.0 +nbconvert==7.14.0 nbdime==4.0.1 nbformat==5.9.2 nbmake==1.4.6 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook-shim==0.2.3 -numpy==1.26.2 +numpy==1.26.3 overrides==7.4.0 packaging==23.2 pandocfilters==1.5.0 parso==0.8.3 particle==0.23.1 -pathspec==0.11.2 +pathspec==0.12.1 pexpect==4.9.0 -pillow==10.1.0 +pillow==10.2.0 platformdirs==4.1.0 pluggy==1.3.0 -pre-commit==3.5.0 +pre-commit==3.6.0 prometheus-client==0.19.0 -prompt-toolkit==3.0.41 -psutil==5.9.6 +prompt-toolkit==3.0.43 +psutil==5.9.7 ptyprocess==0.7.0 pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.14.4 +pydata-sphinx-theme==0.15.1 pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 -pytest==7.4.3 +pytest==7.4.4 pytest-cov==4.1.0 pytest-profiling==1.7.0 pytest-xdist==3.5.0 @@ -141,30 +141,30 @@ python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.0 +python-lsp-ruff==2.0.1 python-lsp-server==1.9.0 pytoolconfig==1.2.6 pyyaml==6.0.1 pyzmq==25.1.2 qrules==0.9.8 -referencing==0.32.0 +referencing==0.32.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rich==13.7.0 rope==1.11.0 -rpds-py==0.13.2 -ruff==0.1.7 +rpds-py==0.16.2 +ruff==0.1.11 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 sniffio==1.3.0 snowballstemmer==2.2.0 soupsieve==2.5 -sphinx==5.3.0 -sphinx-api-relink==0.0.6 +sphinx==7.2.6 +sphinx-api-relink==0.0.8 sphinx-autobuild==2021.3.14 -sphinx-book-theme==1.0.1 +sphinx-book-theme==1.1.0 sphinx-codeautolink==0.15.0 sphinx-comments==0.0.3 sphinx-copybutton==0.5.2 @@ -180,7 +180,7 @@ sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.6 sphinxcontrib-serializinghtml==1.1.9 -sqlalchemy==2.0.23 +sqlalchemy==2.0.25 stack-data==0.6.3 sympy==1.12 tabulate==0.9.0 @@ -190,14 +190,14 @@ tomli==2.0.1 tornado==6.4 tox==4.11.4 tqdm==4.66.1 -traitlets==5.14.0 -types-python-dateutil==2.8.19.14 -typing-extensions==4.8.0 -ujson==5.8.0 +traitlets==5.14.1 +types-python-dateutil==2.8.19.20240106 +typing-extensions==4.9.0 +ujson==5.9.0 uri-template==1.3.0 urllib3==2.1.0 virtualenv==20.25.0 -wcwidth==0.2.12 +wcwidth==0.2.13 webcolors==1.13 webencodings==0.5.1 websocket-client==1.7.0 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 326af27d4..9a05c7442 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: - id: check-useless-excludes - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.9 + rev: 0.1.11 hooks: - id: check-dev-files args: @@ -58,7 +58,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/psf/black-pre-commit-mirror - rev: 23.11.0 + rev: 23.12.1 hooks: - id: black - id: black-jupyter @@ -84,7 +84,7 @@ repos: pass_filenames: false - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v8.1.1 + rev: v8.3.0 hooks: - id: cspell @@ -135,17 +135,17 @@ repos: metadata.vscode - repo: https://github.com/pre-commit/mirrors-prettier - rev: v4.0.0-alpha.3-1 + rev: v4.0.0-alpha.8 hooks: - id: prettier - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.339 + rev: v1.1.344 hooks: - id: pyright - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.7 + rev: v0.1.11 hooks: - id: ruff args: [--fix] From 10e2743b5b68fe37df5368ca81b7672e0a87f0b8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 7 Jan 2024 03:12:57 +0000 Subject: [PATCH 02/17] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/usage/dynamics/k-matrix.ipynb | 6 +++--- src/ampform/helicity/__init__.py | 6 +++--- src/ampform/helicity/align/dpd.py | 8 +++++--- src/ampform/kinematics/angles.py | 6 +++--- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/docs/usage/dynamics/k-matrix.ipynb b/docs/usage/dynamics/k-matrix.ipynb index 666eedcef..c76742a96 100644 --- a/docs/usage/dynamics/k-matrix.ipynb +++ b/docs/usage/dynamics/k-matrix.ipynb @@ -1492,9 +1492,9 @@ " *sp.symbols(f\"s m_a{i} m_b{i}\", nonnegative=True)\n", " ).doit()\n", "\n", - " expr = expr.xreplace({\n", - " sp.sqrt(rho_i(i)): 1 for i in range(n_channels)\n", - " }).xreplace({sp.conjugate(sp.sqrt(rho_i(i))): 1 for i in range(n_channels)})\n", + " expr = expr.xreplace(\n", + " {sp.sqrt(rho_i(i)): 1 for i in range(n_channels)}\n", + " ).xreplace({sp.conjugate(sp.sqrt(rho_i(i))): 1 for i in range(n_channels)})\n", " expr = expr.xreplace({s: m**2})\n", " expr = symplot.substitute_indexed_symbols(expr)\n", " np_expr, sliders = symplot.prepare_sliders(expr, m)\n", diff --git a/src/ampform/helicity/__init__.py b/src/ampform/helicity/__init__.py index 4a8e463c3..8b8a84170 100644 --- a/src/ampform/helicity/__init__.py +++ b/src/ampform/helicity/__init__.py @@ -78,9 +78,9 @@ def _order_component_mapping( mapping: Mapping[str, sp.Expr] ) -> OrderedDict[str, sp.Expr]: - return collections.OrderedDict([ - (key, mapping[key]) for key in sorted(mapping, key=natural_sorting) - ]) + return collections.OrderedDict( + [(key, mapping[key]) for key in sorted(mapping, key=natural_sorting)] + ) def _order_symbol_mapping( diff --git a/src/ampform/helicity/align/dpd.py b/src/ampform/helicity/align/dpd.py index 406fa3e1a..2d564eaaa 100644 --- a/src/ampform/helicity/align/dpd.py +++ b/src/ampform/helicity/align/dpd.py @@ -130,9 +130,11 @@ def _(obj: ReactionInfo) -> ReactionInfo: # type: ignore[misc] @relabel_edge_ids.register(StateTransitionCollection) def _(obj: StateTransitionCollection) -> StateTransitionCollection: # type: ignore[misc] - return StateTransitionCollection([ # no attrs.evolve() for __attrs_post_init__() - relabel_edge_ids(transition) for transition in obj.transitions - ]) + return StateTransitionCollection( + [ # no attrs.evolve() for __attrs_post_init__() + relabel_edge_ids(transition) for transition in obj.transitions + ] + ) @relabel_edge_ids.register(StateTransition) diff --git a/src/ampform/kinematics/angles.py b/src/ampform/kinematics/angles.py index 7a125ddbd..47acdc1b8 100644 --- a/src/ampform/kinematics/angles.py +++ b/src/ampform/kinematics/angles.py @@ -115,9 +115,9 @@ def __recursive_helicity_angles( sub_momenta_ids = determine_attached_final_state(topology, state_id) if len(sub_momenta_ids) > 1: # add all of these momenta together -> defines new subsystem - four_momentum = ArraySum(*[ - four_momenta[i] for i in sub_momenta_ids - ]) + four_momentum = ArraySum( + *[four_momenta[i] for i in sub_momenta_ids] + ) # boost all of those momenta into this new subsystem phi_expr = Phi(four_momentum) From dc49e324448345403ff5de29f2b056649913fe38 Mon Sep 17 00:00:00 2001 From: GitHub Date: Tue, 9 Jan 2024 20:43:50 +0000 Subject: [PATCH 03/17] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 12 ++++++------ .constraints/py3.11.txt | 12 ++++++------ .constraints/py3.12.txt | 12 ++++++------ .constraints/py3.7.txt | 4 ++-- .constraints/py3.8.txt | 8 ++++---- .constraints/py3.9.txt | 10 +++++----- .pre-commit-config.yaml | 4 ++-- 7 files changed, 31 insertions(+), 31 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 25d6406ba..3b0abc332 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -5,7 +5,7 @@ # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.10.txt --strip-extras --unsafe-package=ampform --unsafe-package=pip --unsafe-package=setuptools --unsafe-package=symplot # accessible-pygments==0.0.4 -alabaster==0.7.13 +alabaster==0.7.15 anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 @@ -48,7 +48,7 @@ gitpython==3.1.40 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.3 -hepunits==2.3.2 +hepunits==2.3.3 identify==2.5.33 idna==3.6 imagesize==1.4.1 @@ -56,7 +56,7 @@ importlib-metadata==7.0.1 iniconfig==2.0.0 ipykernel==6.28.0 ipympl==0.9.3 -ipython==8.19.0 +ipython==8.20.0 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 @@ -69,10 +69,10 @@ jsonschema==4.20.0 jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 jupyter-client==8.6.0 -jupyter-core==5.7.0 +jupyter-core==5.7.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.2 +jupyter-server==2.12.3 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.1 jupyterlab==4.0.10 @@ -86,7 +86,7 @@ jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 latexcodec==2.0.1 livereload==2.6.3 -lsprotocol==2023.0.0 +lsprotocol==2023.0.1 markdown-it-py==3.0.0 markupsafe==2.1.3 matplotlib==3.8.2 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index ed359bd38..51fe4a58f 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -5,7 +5,7 @@ # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.11.txt --strip-extras --unsafe-package=ampform --unsafe-package=pip --unsafe-package=setuptools --unsafe-package=symplot # accessible-pygments==0.0.4 -alabaster==0.7.13 +alabaster==0.7.15 anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 @@ -47,7 +47,7 @@ gitpython==3.1.40 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.3 -hepunits==2.3.2 +hepunits==2.3.3 identify==2.5.33 idna==3.6 imagesize==1.4.1 @@ -55,7 +55,7 @@ importlib-metadata==7.0.1 iniconfig==2.0.0 ipykernel==6.28.0 ipympl==0.9.3 -ipython==8.19.0 +ipython==8.20.0 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 @@ -68,10 +68,10 @@ jsonschema==4.20.0 jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 jupyter-client==8.6.0 -jupyter-core==5.7.0 +jupyter-core==5.7.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.2 +jupyter-server==2.12.3 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.1 jupyterlab==4.0.10 @@ -85,7 +85,7 @@ jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 latexcodec==2.0.1 livereload==2.6.3 -lsprotocol==2023.0.0 +lsprotocol==2023.0.1 markdown-it-py==3.0.0 markupsafe==2.1.3 matplotlib==3.8.2 diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt index a62b68a8b..b9bdc1464 100644 --- a/.constraints/py3.12.txt +++ b/.constraints/py3.12.txt @@ -5,7 +5,7 @@ # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.12.txt --strip-extras --unsafe-package=ampform --unsafe-package=pip --unsafe-package=setuptools --unsafe-package=symplot # accessible-pygments==0.0.4 -alabaster==0.7.13 +alabaster==0.7.15 anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 @@ -47,7 +47,7 @@ gitpython==3.1.40 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.3 -hepunits==2.3.2 +hepunits==2.3.3 identify==2.5.33 idna==3.6 imagesize==1.4.1 @@ -55,7 +55,7 @@ importlib-metadata==7.0.1 iniconfig==2.0.0 ipykernel==6.28.0 ipympl==0.9.3 -ipython==8.19.0 +ipython==8.20.0 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 @@ -68,10 +68,10 @@ jsonschema==4.20.0 jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 jupyter-client==8.6.0 -jupyter-core==5.7.0 +jupyter-core==5.7.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.2 +jupyter-server==2.12.3 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.1 jupyterlab==4.0.10 @@ -85,7 +85,7 @@ jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 latexcodec==2.0.1 livereload==2.6.3 -lsprotocol==2023.0.0 +lsprotocol==2023.0.1 markdown-it-py==3.0.0 markupsafe==2.1.3 matplotlib==3.8.2 diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index 25b7b0872..70734c46d 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -49,7 +49,7 @@ gitpython==3.1.40 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.3 -hepunits==2.3.2 +hepunits==2.3.3 identify==2.5.24 idna==3.6 imagesize==1.4.1 @@ -89,7 +89,7 @@ jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 latexcodec==2.0.1 livereload==2.6.3 -lsprotocol==2023.0.0 +lsprotocol==2023.0.1 markdown-it-py==2.2.0 markupsafe==2.1.3 matplotlib==3.5.3 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index db0cbb721..b765fc916 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -49,7 +49,7 @@ gitpython==3.1.40 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.3 -hepunits==2.3.2 +hepunits==2.3.3 identify==2.5.33 idna==3.6 imagesize==1.4.1 @@ -71,10 +71,10 @@ jsonschema==4.20.0 jsonschema-specifications==2023.12.1 jupyter-cache==0.6.1 jupyter-client==8.6.0 -jupyter-core==5.7.0 +jupyter-core==5.7.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.2 +jupyter-server==2.12.3 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.1 jupyterlab==4.0.10 @@ -88,7 +88,7 @@ jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 latexcodec==2.0.1 livereload==2.6.3 -lsprotocol==2023.0.0 +lsprotocol==2023.0.1 markdown-it-py==2.2.0 markupsafe==2.1.3 matplotlib==3.7.4 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index b889fb25b..36ca71fa6 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -5,7 +5,7 @@ # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.9.txt --strip-extras --unsafe-package=ampform --unsafe-package=pip --unsafe-package=setuptools --unsafe-package=symplot # accessible-pygments==0.0.4 -alabaster==0.7.13 +alabaster==0.7.15 anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 @@ -48,7 +48,7 @@ gitpython==3.1.40 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.3 -hepunits==2.3.2 +hepunits==2.3.3 identify==2.5.33 idna==3.6 imagesize==1.4.1 @@ -70,10 +70,10 @@ jsonschema==4.20.0 jsonschema-specifications==2023.12.1 jupyter-cache==1.0.0 jupyter-client==8.6.0 -jupyter-core==5.7.0 +jupyter-core==5.7.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.2 +jupyter-server==2.12.3 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.1 jupyterlab==4.0.10 @@ -87,7 +87,7 @@ jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 latexcodec==2.0.1 livereload==2.6.3 -lsprotocol==2023.0.0 +lsprotocol==2023.0.1 markdown-it-py==3.0.0 markupsafe==2.1.3 matplotlib==3.8.2 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9a05c7442..e6ffeaf3f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: - id: check-useless-excludes - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.11 + rev: 0.1.13a2 hooks: - id: check-dev-files args: @@ -140,7 +140,7 @@ repos: - id: prettier - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.344 + rev: v1.1.345 hooks: - id: pyright From a4b9cab2f82a68606184802e3de5ab8e2edde0ff Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 9 Jan 2024 20:45:14 +0000 Subject: [PATCH 04/17] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .gitpod.yml | 2 +- .vscode/extensions.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index e8046e720..7051da221 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -20,7 +20,6 @@ vscode: - editorconfig.editorconfig - esbenp.prettier-vscode - executablebookproject.myst-highlight - - garaioag.garaio-vscode-unwanted-recommendations - github.vscode-github-actions - github.vscode-pull-request-github - ms-python.black-formatter @@ -32,6 +31,7 @@ vscode: - ms-vsliveshare.vsliveshare - redhat.vscode-yaml - ryanluker.vscode-coverage-gutters + - Soulcode.vscode-unwanted-extensions - stkb.rewrap - streetsidesoftware.code-spell-checker - tamasfe.even-better-toml diff --git a/.vscode/extensions.json b/.vscode/extensions.json index a8675425d..384928bda 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -6,7 +6,6 @@ "editorconfig.editorconfig", "esbenp.prettier-vscode", "executablebookproject.myst-highlight", - "garaioag.garaio-vscode-unwanted-recommendations", "github.vscode-github-actions", "github.vscode-pull-request-github", "ms-python.black-formatter", @@ -18,6 +17,7 @@ "ms-vsliveshare.vsliveshare", "redhat.vscode-yaml", "ryanluker.vscode-coverage-gutters", + "Soulcode.vscode-unwanted-extensions", "stkb.rewrap", "streetsidesoftware.code-spell-checker", "tamasfe.even-better-toml", @@ -27,6 +27,7 @@ "unwantedRecommendations": [ "bungcip.better-toml", "davidanson.vscode-markdownlint", + "garaioag.garaio-vscode-unwanted-recommendations", "ms-python.flake8", "ms-python.isort", "ms-python.pylint", From 59931edde223cea82ef67cf8451ed640cd0a0890 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 9 Jan 2024 22:11:13 +0100 Subject: [PATCH 05/17] MAINT: update pip constraints and pre-commit (#385) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: GitHub Co-authored-by: Remco de Boer <29308176+redeboer@users.noreply.github.com> From 12efa1e469e9dd1e15519063a98069b9a767a9a4 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Thu, 11 Jan 2024 12:50:46 +0100 Subject: [PATCH 06/17] MAINT: remove module docstring from `conf.py` --- .pre-commit-config.yaml | 2 +- docs/conf.py | 6 ------ pyproject.toml | 5 ++++- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e6ffeaf3f..8630fa610 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: - id: check-useless-excludes - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.13a2 + rev: 0.1.13a4 hooks: - id: check-dev-files args: diff --git a/docs/conf.py b/docs/conf.py index 9f3e3a73c..66a1ac23b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,9 +1,3 @@ -"""Configuration file for the Sphinx documentation builder. - -This file only contains a selection of the most common options. For a full list see the -documentation: https://www.sphinx-doc.org/en/master/usage/configuration.html -""" - from __future__ import annotations import os diff --git a/pyproject.toml b/pyproject.toml index 73c33e22a..262d06899 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -364,7 +364,10 @@ extend-immutable-calls = [ "S113", "T201", ] -"docs/conf.py" = ["A001"] +"docs/conf.py" = [ + "A001", + "D100", +] "setup.py" = ["D100"] "tests/*" = [ "C408", From 1cf3326e910a5303386c7a9bfd3f373d4e1c8be9 Mon Sep 17 00:00:00 2001 From: GitHub Date: Thu, 11 Jan 2024 11:52:23 +0000 Subject: [PATCH 07/17] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 12 ++++++------ .constraints/py3.11.txt | 12 ++++++------ .constraints/py3.12.txt | 12 ++++++------ .constraints/py3.7.txt | 8 ++++---- .constraints/py3.8.txt | 10 +++++----- .constraints/py3.9.txt | 12 ++++++------ 6 files changed, 33 insertions(+), 33 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 3b0abc332..ec69299d0 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -5,7 +5,7 @@ # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.10.txt --strip-extras --unsafe-package=ampform --unsafe-package=pip --unsafe-package=setuptools --unsafe-package=symplot # accessible-pygments==0.0.4 -alabaster==0.7.15 +alabaster==0.7.16 anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 @@ -41,10 +41,10 @@ execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.47.0 +fonttools==4.47.2 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.40 +gitpython==3.1.41 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.3 @@ -62,7 +62,7 @@ ipywidgets==8.1.1 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 -jinja2==3.1.2 +jinja2==3.1.3 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 @@ -142,7 +142,7 @@ python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 python-lsp-ruff==2.0.1 python-lsp-server==1.9.0 -pytoolconfig==1.2.6 +pytoolconfig==1.3.0 pyyaml==6.0.1 pyzmq==25.1.2 qrules==0.9.8 @@ -173,7 +173,7 @@ sphinx-pybtex-etal-style==0.0.2 sphinx-thebe==0.3.0 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.7 -sphinxcontrib-bibtex==2.6.1 +sphinxcontrib-bibtex==2.6.2 sphinxcontrib-devhelp==1.0.5 sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 51fe4a58f..484d6f664 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -5,7 +5,7 @@ # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.11.txt --strip-extras --unsafe-package=ampform --unsafe-package=pip --unsafe-package=setuptools --unsafe-package=symplot # accessible-pygments==0.0.4 -alabaster==0.7.15 +alabaster==0.7.16 anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 @@ -40,10 +40,10 @@ execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.47.0 +fonttools==4.47.2 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.40 +gitpython==3.1.41 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.3 @@ -61,7 +61,7 @@ ipywidgets==8.1.1 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 -jinja2==3.1.2 +jinja2==3.1.3 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 @@ -141,7 +141,7 @@ python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 python-lsp-ruff==2.0.1 python-lsp-server==1.9.0 -pytoolconfig==1.2.6 +pytoolconfig==1.3.0 pyyaml==6.0.1 pyzmq==25.1.2 qrules==0.9.8 @@ -172,7 +172,7 @@ sphinx-pybtex-etal-style==0.0.2 sphinx-thebe==0.3.0 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.7 -sphinxcontrib-bibtex==2.6.1 +sphinxcontrib-bibtex==2.6.2 sphinxcontrib-devhelp==1.0.5 sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt index b9bdc1464..4adc199c4 100644 --- a/.constraints/py3.12.txt +++ b/.constraints/py3.12.txt @@ -5,7 +5,7 @@ # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.12.txt --strip-extras --unsafe-package=ampform --unsafe-package=pip --unsafe-package=setuptools --unsafe-package=symplot # accessible-pygments==0.0.4 -alabaster==0.7.15 +alabaster==0.7.16 anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 @@ -40,10 +40,10 @@ execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.47.0 +fonttools==4.47.2 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.40 +gitpython==3.1.41 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.3 @@ -61,7 +61,7 @@ ipywidgets==8.1.1 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 -jinja2==3.1.2 +jinja2==3.1.3 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 @@ -141,7 +141,7 @@ python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 python-lsp-ruff==2.0.1 python-lsp-server==1.9.0 -pytoolconfig==1.2.6 +pytoolconfig==1.3.0 pyyaml==6.0.1 pyzmq==25.1.2 qrules==0.9.8 @@ -172,7 +172,7 @@ sphinx-pybtex-etal-style==0.0.2 sphinx-thebe==0.3.0 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.7 -sphinxcontrib-bibtex==2.6.1 +sphinxcontrib-bibtex==2.6.2 sphinxcontrib-devhelp==1.0.5 sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index 70734c46d..928fc1590 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -45,7 +45,7 @@ filelock==3.12.2 fonttools==4.38.0 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.40 +gitpython==3.1.41 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.3 @@ -64,7 +64,7 @@ ipywidgets==8.1.1 isoduration==20.11.0 isort==5.11.5 jedi==0.18.2 -jinja2==3.1.2 +jinja2==3.1.3 json5==0.9.14 jsonpointer==2.4 jsonschema==4.17.3 @@ -149,7 +149,7 @@ python-json-logger==2.0.7 python-lsp-jsonrpc==1.0.0 python-lsp-ruff==1.6.0 python-lsp-server==1.7.4 -pytoolconfig==1.2.6 +pytoolconfig==1.3.0 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==24.0.1 @@ -180,7 +180,7 @@ sphinx-pybtex-etal-style==0.0.2 sphinx-thebe==0.2.1 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.2 -sphinxcontrib-bibtex==2.6.1 +sphinxcontrib-bibtex==2.6.2 sphinxcontrib-devhelp==1.0.2 sphinxcontrib-htmlhelp==2.0.0 sphinxcontrib-jsmath==1.0.1 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index b765fc916..fdb054f4e 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -42,10 +42,10 @@ execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.47.0 +fonttools==4.47.2 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.40 +gitpython==3.1.41 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.3 @@ -64,7 +64,7 @@ ipywidgets==8.1.1 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 -jinja2==3.1.2 +jinja2==3.1.3 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 @@ -146,7 +146,7 @@ python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 python-lsp-ruff==2.0.1 python-lsp-server==1.9.0 -pytoolconfig==1.2.6 +pytoolconfig==1.3.0 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.2 @@ -178,7 +178,7 @@ sphinx-pybtex-etal-style==0.0.2 sphinx-thebe==0.3.0 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.4 -sphinxcontrib-bibtex==2.6.1 +sphinxcontrib-bibtex==2.6.2 sphinxcontrib-devhelp==1.0.2 sphinxcontrib-htmlhelp==2.0.1 sphinxcontrib-jsmath==1.0.1 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 36ca71fa6..bb3990a23 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -5,7 +5,7 @@ # pip-compile --extra=dev --no-annotate --output-file=.constraints/py3.9.txt --strip-extras --unsafe-package=ampform --unsafe-package=pip --unsafe-package=setuptools --unsafe-package=symplot # accessible-pygments==0.0.4 -alabaster==0.7.15 +alabaster==0.7.16 anyio==4.2.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 @@ -41,10 +41,10 @@ execnet==2.0.2 executing==2.0.1 fastjsonschema==2.19.1 filelock==3.13.1 -fonttools==4.47.0 +fonttools==4.47.2 fqdn==1.5.1 gitdb==4.0.11 -gitpython==3.1.40 +gitpython==3.1.41 gprof2dot==2022.7.29 graphviz==0.20.1 greenlet==3.0.3 @@ -63,7 +63,7 @@ ipywidgets==8.1.1 isoduration==20.11.0 isort==5.13.2 jedi==0.19.1 -jinja2==3.1.2 +jinja2==3.1.3 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 @@ -143,7 +143,7 @@ python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 python-lsp-ruff==2.0.1 python-lsp-server==1.9.0 -pytoolconfig==1.2.6 +pytoolconfig==1.3.0 pyyaml==6.0.1 pyzmq==25.1.2 qrules==0.9.8 @@ -174,7 +174,7 @@ sphinx-pybtex-etal-style==0.0.2 sphinx-thebe==0.3.0 sphinx-togglebutton==0.3.2 sphinxcontrib-applehelp==1.0.7 -sphinxcontrib-bibtex==2.6.1 +sphinxcontrib-bibtex==2.6.2 sphinxcontrib-devhelp==1.0.5 sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-jsmath==1.0.1 From 8352812f469c4a8b7f57469a932d34ba719ccd78 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Thu, 11 Jan 2024 12:54:07 +0100 Subject: [PATCH 08/17] MAINT: remove version restrictions from `nbmake` --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 262d06899..f461563c9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -117,7 +117,6 @@ test = [ "pytest-cov", "pytest-profiling", "pytest-xdist", - 'nbmake <1.3; python_version=="3.7.*"', ] viz = ["graphviz"] From ba44dd563baf8f971b99cbc7350e626e846569f6 Mon Sep 17 00:00:00 2001 From: GitHub Date: Thu, 11 Jan 2024 11:55:42 +0000 Subject: [PATCH 09/17] MAINT: update pip constraints and pre-commit --- .constraints/py3.7.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index 928fc1590..e4d538657 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -108,7 +108,7 @@ nbclient==0.5.13 nbconvert==7.6.0 nbdime==3.2.1 nbformat==5.8.0 -nbmake==1.2.1 +nbmake==1.3.0 nest-asyncio==1.5.8 nodeenv==1.8.0 notebook==6.5.6 From d69d2ee762acf60be1cd7cd90a54672bb54098fc Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Thu, 11 Jan 2024 17:37:53 +0100 Subject: [PATCH 10/17] DOC: show source link instead of download button * MAINT: clean up `conf.py` and remove `_templates` --- .cspell.json | 2 -- docs/_templates/genindex.html | 55 ----------------------------------- docs/_templates/layout.html | 4 --- docs/_templates/module.rst_t | 12 -------- docs/_templates/package.rst_t | 49 ------------------------------- docs/_templates/toc.rst_t | 7 ----- docs/conf.py | 22 +++++++------- 7 files changed, 10 insertions(+), 141 deletions(-) delete mode 100644 docs/_templates/genindex.html delete mode 100644 docs/_templates/layout.html delete mode 100644 docs/_templates/module.rst_t delete mode 100644 docs/_templates/package.rst_t delete mode 100644 docs/_templates/toc.rst_t diff --git a/.cspell.json b/.cspell.json index 862df7d95..83f931cec 100644 --- a/.cspell.json +++ b/.cspell.json @@ -21,7 +21,6 @@ ], "ignorePaths": [ "**/*.bib", - "**/*.rst_t", "**/.cspell.json", ".constraints/*.txt", ".editorconfig", @@ -33,7 +32,6 @@ ".vscode/*", "CITATION.cff", "codecov.yml", - "docs/_templates/*", "docs/conf.py", "pyproject.toml", "tox.ini", diff --git a/docs/_templates/genindex.html b/docs/_templates/genindex.html deleted file mode 100644 index 21849ec3c..000000000 --- a/docs/_templates/genindex.html +++ /dev/null @@ -1,55 +0,0 @@ -{% macro indexentries(firstname, links) %} {%- if links -%} - - {%- if links[0][0] %}{% endif -%} {{ firstname|e }} {%- if links[0][0] %}{% endif -%} - - -{%- for ismain, link in links[1:] -%} , -{% if ismain %}{% endif -%} [{{ loop.index }}] {%- if ismain %}{% endif -%} - -{%- endfor %} {%- else %} {{ firstname|e }} {%- endif %} {% endmacro %} {%- -extends "layout.html" %} {% set title = _('Index') %} {% block body %} - -

{{ _('Index') }}

- -
- {% for key, dummy in genindexentries -%} - {{ key }} - {% if not loop.last %}| {% endif %} {%- endfor %} -
- -{%- for key, entries in genindexentries %} -

{{ key }}

- - - {%- for entryname, (links, subitems, _) in entries %} -
  • - {{ indexentries(entryname, links) }} {%- if subitems %} -
      - {%- for subentryname, subentrylinks in subitems %} -
    • {{ indexentries(subentryname, subentrylinks) }}
    • - {%- endfor %} -
    - {%- endif -%} -
  • - {%- endfor %} - -
    -{% endfor %} {% endblock %} {% block sidebarrel %} {% if split_index %} -

    {{ _('Index') }}

    -

    - {% for key, dummy in genindexentries -%} - {{ key }} - {% if not loop.last %}| {% endif %} {%- endfor %} -

    - -

    - {{ _('Full index on one page') }} -

    -{% endif %} {{ super() }} {% endblock %} diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html deleted file mode 100644 index 25d65cd55..000000000 --- a/docs/_templates/layout.html +++ /dev/null @@ -1,4 +0,0 @@ -{% extends "!layout.html" %} {% block menu %} {{ super() }} -Module Index (API) -General Index -{% endblock %} diff --git a/docs/_templates/module.rst_t b/docs/_templates/module.rst_t deleted file mode 100644 index 6d4771066..000000000 --- a/docs/_templates/module.rst_t +++ /dev/null @@ -1,12 +0,0 @@ -{%- if show_headings and not separate %} -{{ basename.split(".")[-1] | e | heading }} - -.. code-block:: python - - import {{ basename }} - -{% endif -%} -.. automodule:: {{ qualname }} -{%- for option in automodule_options %} - :{{ option }}: -{%- endfor %} diff --git a/docs/_templates/package.rst_t b/docs/_templates/package.rst_t deleted file mode 100644 index cac2570ed..000000000 --- a/docs/_templates/package.rst_t +++ /dev/null @@ -1,49 +0,0 @@ -{%- macro automodule(modname, options) -%} -.. automodule:: {{ modname }} -{%- for option in options %} - :{{ option }}: -{%- endfor %} -{%- endmacro %} - -{%- macro toctree(docnames) -%} -.. toctree:: -{% for docname in docnames %} - {{ docname }} -{%- endfor %} -{%- endmacro %} - -{{ pkgname.split(".")[-1] | e | heading }} - -.. code-block:: python - - import {{ pkgname }} - -{%- if modulefirst and not is_namespace %} -{{ automodule(pkgname, automodule_options) }} -{% endif %} - -{%- if not modulefirst and not is_namespace %} - -{{ automodule(pkgname, automodule_options) }} -{% endif %} - -{%- if submodules or subpackages %} -.. rubric:: Submodules and Subpackages -{% endif %} - -{%- if subpackages %} - -{{ toctree(subpackages) }} -{% endif %} -{%- if submodules %} -{% if separatemodules %} -{{ toctree(submodules) }} -{%- else %} -{%- for submodule in submodules %} -{% if show_headings %} -{{- [submodule, "module"] | join(" ") | e | heading(2) }} -{% endif %} -{{ automodule(submodule, automodule_options) }} -{% endfor %} -{%- endif %} -{% endif %} diff --git a/docs/_templates/toc.rst_t b/docs/_templates/toc.rst_t deleted file mode 100644 index cba06b1a6..000000000 --- a/docs/_templates/toc.rst_t +++ /dev/null @@ -1,7 +0,0 @@ -{{ header | heading }} - -.. toctree:: - :maxdepth: {{ maxdepth }} -{% for docname in docnames %} - {{ docname }} -{%- endfor %} diff --git a/docs/conf.py b/docs/conf.py index 66a1ac23b..e477fefa4 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -155,7 +155,6 @@ ] generate_apidoc_package_path = f"../src/{PACKAGE}" graphviz_output_format = "svg" -html_copy_source = True # needed for download notebook button html_css_files = ["custom.css"] html_favicon = "_static/favicon.ico" html_last_updated_fmt = "%-d %B %Y" @@ -166,7 +165,6 @@ html_show_sourcelink = False html_show_sphinx = False html_sourcelink_suffix = "" -html_static_path = ["_static"] html_theme = "sphinx_book_theme" html_theme_options = { "icon_links": [ @@ -205,14 +203,6 @@ "type": "url", }, ], - "logo": {"text": REPO_TITLE}, - "repository_url": f"https://github.com/{ORGANIZATION}/{REPO_NAME}", - "repository_branch": BRANCH, - "path_to_docs": "docs", - "use_download_button": True, - "use_edit_page_button": True, - "use_issues_button": True, - "use_repository_button": True, "launch_buttons": { "binderhub_url": "https://mybinder.org", "colab_url": "https://colab.research.google.com", @@ -221,8 +211,17 @@ "thebe": True, "thebelab": True, }, + "logo": {"text": REPO_TITLE}, + "path_to_docs": "docs", + "repository_branch": BRANCH, + "repository_url": f"https://github.com/{ORGANIZATION}/{REPO_NAME}", "show_navbar_depth": 2, "show_toc_level": 2, + "use_download_button": False, + "use_edit_page_button": True, + "use_issues_button": True, + "use_repository_button": True, + "use_source_button": True, } html_title = REPO_TITLE intersphinx_mapping = { @@ -253,8 +252,6 @@ "https://suchung.web.cern.ch", "https://www.bookfinder.com", ] -master_doc = "index" -modindex_common_prefix = [f"{PACKAGE}."] myst_enable_extensions = [ "amsmath", "colon_fence", @@ -275,6 +272,7 @@ """, } myst_update_mathjax = False +nb_execution_allow_errors = False nb_execution_mode = get_execution_mode() nb_execution_show_tb = True nb_execution_timeout = -1 From 5809e005f2a1dcc850bdb3a4a5449439ef033a79 Mon Sep 17 00:00:00 2001 From: GitHub Date: Thu, 11 Jan 2024 16:39:21 +0000 Subject: [PATCH 11/17] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 6 +++--- .constraints/py3.11.txt | 6 +++--- .constraints/py3.12.txt | 6 +++--- .constraints/py3.8.txt | 6 +++--- .constraints/py3.9.txt | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index ec69299d0..68a9f72ef 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -72,7 +72,7 @@ jupyter-client==8.6.0 jupyter-core==5.7.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.3 +jupyter-server==2.12.4 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.1 jupyterlab==4.0.10 @@ -101,7 +101,7 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.14.0 +nbconvert==7.14.1 nbdime==4.0.1 nbformat==5.9.2 nbmake==1.4.6 @@ -142,7 +142,7 @@ python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 python-lsp-ruff==2.0.1 python-lsp-server==1.9.0 -pytoolconfig==1.3.0 +pytoolconfig==1.3.1 pyyaml==6.0.1 pyzmq==25.1.2 qrules==0.9.8 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 484d6f664..30564003e 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -71,7 +71,7 @@ jupyter-client==8.6.0 jupyter-core==5.7.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.3 +jupyter-server==2.12.4 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.1 jupyterlab==4.0.10 @@ -100,7 +100,7 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.14.0 +nbconvert==7.14.1 nbdime==4.0.1 nbformat==5.9.2 nbmake==1.4.6 @@ -141,7 +141,7 @@ python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 python-lsp-ruff==2.0.1 python-lsp-server==1.9.0 -pytoolconfig==1.3.0 +pytoolconfig==1.3.1 pyyaml==6.0.1 pyzmq==25.1.2 qrules==0.9.8 diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt index 4adc199c4..2b1ec9c5d 100644 --- a/.constraints/py3.12.txt +++ b/.constraints/py3.12.txt @@ -71,7 +71,7 @@ jupyter-client==8.6.0 jupyter-core==5.7.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.3 +jupyter-server==2.12.4 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.1 jupyterlab==4.0.10 @@ -100,7 +100,7 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.14.0 +nbconvert==7.14.1 nbdime==4.0.1 nbformat==5.9.2 nbmake==1.4.6 @@ -141,7 +141,7 @@ python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 python-lsp-ruff==2.0.1 python-lsp-server==1.9.0 -pytoolconfig==1.3.0 +pytoolconfig==1.3.1 pyyaml==6.0.1 pyzmq==25.1.2 qrules==0.9.8 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index fdb054f4e..d0580978a 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -74,7 +74,7 @@ jupyter-client==8.6.0 jupyter-core==5.7.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.3 +jupyter-server==2.12.4 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.1 jupyterlab==4.0.10 @@ -103,7 +103,7 @@ mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 nbclient==0.6.8 -nbconvert==7.14.0 +nbconvert==7.14.1 nbdime==4.0.1 nbformat==5.9.2 nbmake==1.4.6 @@ -146,7 +146,7 @@ python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 python-lsp-ruff==2.0.1 python-lsp-server==1.9.0 -pytoolconfig==1.3.0 +pytoolconfig==1.3.1 pytz==2023.3.post1 pyyaml==6.0.1 pyzmq==25.1.2 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index bb3990a23..be776f9e1 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -73,7 +73,7 @@ jupyter-client==8.6.0 jupyter-core==5.7.1 jupyter-events==0.9.0 jupyter-lsp==2.2.1 -jupyter-server==2.12.3 +jupyter-server==2.12.4 jupyter-server-mathjax==0.2.6 jupyter-server-terminals==0.5.1 jupyterlab==4.0.10 @@ -102,7 +102,7 @@ mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==2.0.0 nbclient==0.6.8 -nbconvert==7.14.0 +nbconvert==7.14.1 nbdime==4.0.1 nbformat==5.9.2 nbmake==1.4.6 @@ -143,7 +143,7 @@ python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 python-lsp-ruff==2.0.1 python-lsp-server==1.9.0 -pytoolconfig==1.3.0 +pytoolconfig==1.3.1 pyyaml==6.0.1 pyzmq==25.1.2 qrules==0.9.8 From 000bc6da248f4de536d90069d22eb2c6199bdf23 Mon Sep 17 00:00:00 2001 From: GitHub Date: Thu, 11 Jan 2024 17:48:12 +0000 Subject: [PATCH 12/17] 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 8630fa610..940bcec7a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: - id: check-useless-excludes - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.13a4 + rev: 0.1.13a5 hooks: - id: check-dev-files args: From 649cbf9b857cdfb47de2cf13c083bb667edc666d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 11 Jan 2024 17:49:29 +0000 Subject: [PATCH 13/17] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f461563c9..23a586679 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -234,16 +234,18 @@ reportUnusedVariable = true typeCheckingMode = "strict" [tool.pytest.ini_options] -addopts = ''' +addopts = """ +"not --color=yes --doctest-continue-on-failure --doctest-modules --durations=3 --ignore=docs/abbreviate_signature.py --ignore=docs/conf.py --m "not slow" +-m -rS -''' +slow" +""" filterwarnings = [ "error", "ignore:.*invalid value encountered in sqrt.*:RuntimeWarning", From 72f0b6f9523f595914cae5526eb0c3a79ae3fe19 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Thu, 11 Jan 2024 19:14:30 +0100 Subject: [PATCH 14/17] FIX: revert `pytest` config --- .pre-commit-config.yaml | 2 +- pyproject.toml | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 940bcec7a..82479e17b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: - id: check-useless-excludes - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.13a5 + rev: 0.1.13a6 hooks: - id: check-dev-files args: diff --git a/pyproject.toml b/pyproject.toml index 23a586679..e2f8de8e0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -235,16 +235,14 @@ typeCheckingMode = "strict" [tool.pytest.ini_options] addopts = """ -"not --color=yes --doctest-continue-on-failure --doctest-modules --durations=3 --ignore=docs/abbreviate_signature.py --ignore=docs/conf.py --m +-m "not slow" -rS -slow" """ filterwarnings = [ "error", From c84eaa4d01942a3aace9cbec7ce846bd6d4bcbdd Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Fri, 12 Jan 2024 18:22:57 +0100 Subject: [PATCH 15/17] MAINT: autoupdate pre-commit hooks and apply --- .github/workflows/requirements.yml | 1 - .pre-commit-config.yaml | 6 +++--- pyproject.toml | 20 ++++++++++---------- src/ampform/helicity/decay.py | 2 +- 4 files changed, 14 insertions(+), 15 deletions(-) diff --git a/.github/workflows/requirements.yml b/.github/workflows/requirements.yml index feea6420c..32b95f19e 100644 --- a/.github/workflows/requirements.yml +++ b/.github/workflows/requirements.yml @@ -12,7 +12,6 @@ on: paths: - .constraints/py3.*.txt - .pre-commit-config.yaml - - setup.cfg schedule: - cron: "0 3 7 */1 *" workflow_dispatch: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 82479e17b..360fd8964 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,8 +14,8 @@ repos: - id: check-hooks-apply - id: check-useless-excludes - - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.13a6 + - repo: https://github.com/ComPWA/policy + rev: 0.2.0 hooks: - id: check-dev-files args: @@ -145,7 +145,7 @@ repos: - id: pyright - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.11 + rev: v0.1.13 hooks: - id: ruff args: [--fix] diff --git a/pyproject.toml b/pyproject.toml index e2f8de8e0..e95696ced 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -234,16 +234,16 @@ reportUnusedVariable = true typeCheckingMode = "strict" [tool.pytest.ini_options] -addopts = """ ---color=yes ---doctest-continue-on-failure ---doctest-modules ---durations=3 ---ignore=docs/abbreviate_signature.py ---ignore=docs/conf.py --m "not slow" --rS -""" +addopts = [ + "--color=yes", + "--doctest-continue-on-failure", + "--doctest-modules", + "--durations=3", + "--ignore=docs/abbreviate_signature.py", + "--ignore=docs/conf.py", + "-rS", + '-m "not slow"', +] filterwarnings = [ "error", "ignore:.*invalid value encountered in sqrt.*:RuntimeWarning", diff --git a/src/ampform/helicity/decay.py b/src/ampform/helicity/decay.py index 9a1221681..b5923d696 100644 --- a/src/ampform/helicity/decay.py +++ b/src/ampform/helicity/decay.py @@ -24,7 +24,7 @@ class StateWithID(State): """Extension of `~qrules.transition.State` that embeds the state ID.""" - id: int # noqa: A003 + id: int @classmethod def from_transition(cls, transition: StateTransition, state_id: int) -> StateWithID: From ae21e015c9bf62e593afc849d70a038437036c44 Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 12 Jan 2024 17:25:28 +0000 Subject: [PATCH 16/17] MAINT: update pip constraints and pre-commit --- .constraints/py3.10.txt | 6 +++--- .constraints/py3.11.txt | 6 +++--- .constraints/py3.12.txt | 6 +++--- .constraints/py3.7.txt | 2 +- .constraints/py3.8.txt | 6 +++--- .constraints/py3.9.txt | 6 +++--- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 68a9f72ef..a2bc06f72 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -140,7 +140,7 @@ python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.1 +python-lsp-ruff==2.0.2 python-lsp-server==1.9.0 pytoolconfig==1.3.1 pyyaml==6.0.1 @@ -153,7 +153,7 @@ rfc3986-validator==0.1.1 rich==13.7.0 rope==1.11.0 rpds-py==0.16.2 -ruff==0.1.11 +ruff==0.1.13 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 @@ -187,7 +187,7 @@ terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 tornado==6.4 -tox==4.11.4 +tox==4.12.0 tqdm==4.66.1 traitlets==5.14.1 types-python-dateutil==2.8.19.20240106 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 30564003e..e8fe3e8d7 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -139,7 +139,7 @@ python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.1 +python-lsp-ruff==2.0.2 python-lsp-server==1.9.0 pytoolconfig==1.3.1 pyyaml==6.0.1 @@ -152,7 +152,7 @@ rfc3986-validator==0.1.1 rich==13.7.0 rope==1.11.0 rpds-py==0.16.2 -ruff==0.1.11 +ruff==0.1.13 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 @@ -185,7 +185,7 @@ tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 tornado==6.4 -tox==4.11.4 +tox==4.12.0 tqdm==4.66.1 traitlets==5.14.1 types-python-dateutil==2.8.19.20240106 diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt index 2b1ec9c5d..7ac61d2a7 100644 --- a/.constraints/py3.12.txt +++ b/.constraints/py3.12.txt @@ -139,7 +139,7 @@ python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.1 +python-lsp-ruff==2.0.2 python-lsp-server==1.9.0 pytoolconfig==1.3.1 pyyaml==6.0.1 @@ -152,7 +152,7 @@ rfc3986-validator==0.1.1 rich==13.7.0 rope==1.11.0 rpds-py==0.16.2 -ruff==0.1.11 +ruff==0.1.13 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 @@ -185,7 +185,7 @@ tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 tornado==6.4 -tox==4.11.4 +tox==4.12.0 tqdm==4.66.1 traitlets==5.14.1 types-python-dateutil==2.8.19.20240106 diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index e4d538657..7251602db 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -159,7 +159,7 @@ rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rich==13.7.0 rope==1.9.0 -ruff==0.1.11 +ruff==0.1.13 send2trash==1.8.2 singledispatchmethod==1.0 ; python_version < "3.8.0" six==1.16.0 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index d0580978a..92520a9f4 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -144,7 +144,7 @@ python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.1 +python-lsp-ruff==2.0.2 python-lsp-server==1.9.0 pytoolconfig==1.3.1 pytz==2023.3.post1 @@ -158,7 +158,7 @@ rfc3986-validator==0.1.1 rich==13.7.0 rope==1.11.0 rpds-py==0.16.2 -ruff==0.1.11 +ruff==0.1.13 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 @@ -192,7 +192,7 @@ terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 tornado==6.4 -tox==4.11.4 +tox==4.12.0 tqdm==4.66.1 traitlets==5.14.1 types-python-dateutil==2.8.19.20240106 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index be776f9e1..a1109267a 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -141,7 +141,7 @@ python-constraint==1.4.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 -python-lsp-ruff==2.0.1 +python-lsp-ruff==2.0.2 python-lsp-server==1.9.0 pytoolconfig==1.3.1 pyyaml==6.0.1 @@ -154,7 +154,7 @@ rfc3986-validator==0.1.1 rich==13.7.0 rope==1.11.0 rpds-py==0.16.2 -ruff==0.1.11 +ruff==0.1.13 send2trash==1.8.2 six==1.16.0 smmap==5.0.1 @@ -188,7 +188,7 @@ terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 tornado==6.4 -tox==4.11.4 +tox==4.12.0 tqdm==4.66.1 traitlets==5.14.1 types-python-dateutil==2.8.19.20240106 From 6c1dccc010e3658a78e5a4ece905ac64e9a1dc53 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Fri, 12 Jan 2024 18:41:29 +0100 Subject: [PATCH 17/17] FIX: use correct `pytest` `addopts` syntax --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e95696ced..df518f736 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -241,8 +241,8 @@ addopts = [ "--durations=3", "--ignore=docs/abbreviate_signature.py", "--ignore=docs/conf.py", + "-m not slow", "-rS", - '-m "not slow"', ] filterwarnings = [ "error",