diff --git a/.constraints/.gitignore b/.constraints/.gitignore new file mode 100644 index 00000000..36a07ad0 --- /dev/null +++ b/.constraints/.gitignore @@ -0,0 +1 @@ +!py3.*.txt diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 0947218e..11789b62 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -6,7 +6,7 @@ # accessible-pygments==0.0.4 alabaster==0.7.13 -anyio==4.0.0 +anyio==4.1.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -34,22 +34,22 @@ defusedxml==0.7.1 distlib==0.3.7 docstring-to-markdown==0.13 docutils==0.17.1 -exceptiongroup==1.1.3 +exceptiongroup==1.2.0 executing==2.0.1 fastjsonschema==2.19.0 filelock==3.13.1 -fonttools==4.44.3 +fonttools==4.46.0 fqdn==1.5.1 graphviz==0.20.1 greenlet==3.0.1 identify==2.5.32 -idna==3.4 +idna==3.6 imagesize==1.4.1 -importlib-metadata==6.8.0 +importlib-metadata==6.9.0 iniconfig==2.0.0 -ipykernel==6.26.0 +ipykernel==6.27.1 ipympl==0.9.3 -ipython==8.17.2 +ipython==8.18.1 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 @@ -58,21 +58,21 @@ jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 -jsonschema-specifications==2023.11.1 +jsonschema-specifications==2023.11.2 jupyter==1.0.0 jupyter-cache==1.0.0 jupyter-client==8.6.0 jupyter-console==6.6.3 jupyter-core==5.5.0 jupyter-events==0.9.0 -jupyter-lsp==2.2.0 -jupyter-server==2.10.1 +jupyter-lsp==2.2.1 +jupyter-server==2.11.1 jupyter-server-terminals==0.4.4 jupyterlab==4.0.9 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==5.0.0 +jupyterlab-lsp==5.0.1 jupyterlab-myst==2.1.0 -jupyterlab-pygments==0.2.2 +jupyterlab-pygments==0.3.0 jupyterlab-server==2.25.2 jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 @@ -85,7 +85,7 @@ matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 mistune==3.0.2 -mpl-interactions==0.23.2 +mpl-interactions==0.24.1 mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==1.0.0 @@ -103,12 +103,12 @@ packaging==23.2 pandocfilters==1.5.0 parso==0.8.3 pathspec==0.11.2 -pexpect==4.8.0 +pexpect==4.9.0 pillow==10.1.0 -platformdirs==3.11.0 +platformdirs==4.0.0 pluggy==1.3.0 pre-commit==3.5.0 -prometheus-client==0.18.0 +prometheus-client==0.19.0 prompt-toolkit==3.0.41 psutil==5.9.6 ptyprocess==0.7.0 @@ -116,8 +116,8 @@ pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.14.3 -pygments==2.17.1 +pydata-sphinx-theme==0.14.4 +pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 pytest==7.4.3 @@ -130,12 +130,12 @@ pyyaml==6.0.1 pyzmq==25.1.1 qtconsole==5.5.1 qtpy==2.4.1 -referencing==0.31.0 +referencing==0.31.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 -rpds-py==0.13.1 +rpds-py==0.13.2 ruff==0.1.6 send2trash==1.8.2 six==1.16.0 @@ -166,20 +166,20 @@ tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 -tornado==6.3.3 -tox==4.11.3 -traitlets==5.13.0 +tornado==6.4 +tox==4.11.4 +traitlets==5.14.0 types-python-dateutil==2.8.19.14 typing-extensions==4.8.0 ujson==5.8.0 uri-template==1.3.0 urllib3==2.1.0 -virtualenv==20.24.6 -wcwidth==0.2.10 +virtualenv==20.25.0 +wcwidth==0.2.12 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.4 -wheel==0.41.3 +wheel==0.42.0 widgetsnbextension==4.0.9 zipp==3.17.0 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index 14da3dd7..bc1e50f1 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -6,7 +6,7 @@ # accessible-pygments==0.0.4 alabaster==0.7.13 -anyio==4.0.0 +anyio==4.1.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -37,18 +37,18 @@ docutils==0.17.1 executing==2.0.1 fastjsonschema==2.19.0 filelock==3.13.1 -fonttools==4.44.3 +fonttools==4.46.0 fqdn==1.5.1 graphviz==0.20.1 greenlet==3.0.1 identify==2.5.32 -idna==3.4 +idna==3.6 imagesize==1.4.1 -importlib-metadata==6.8.0 +importlib-metadata==6.9.0 iniconfig==2.0.0 -ipykernel==6.26.0 +ipykernel==6.27.1 ipympl==0.9.3 -ipython==8.17.2 +ipython==8.18.1 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 @@ -57,21 +57,21 @@ jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 -jsonschema-specifications==2023.11.1 +jsonschema-specifications==2023.11.2 jupyter==1.0.0 jupyter-cache==1.0.0 jupyter-client==8.6.0 jupyter-console==6.6.3 jupyter-core==5.5.0 jupyter-events==0.9.0 -jupyter-lsp==2.2.0 -jupyter-server==2.10.1 +jupyter-lsp==2.2.1 +jupyter-server==2.11.1 jupyter-server-terminals==0.4.4 jupyterlab==4.0.9 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==5.0.0 +jupyterlab-lsp==5.0.1 jupyterlab-myst==2.1.0 -jupyterlab-pygments==0.2.2 +jupyterlab-pygments==0.3.0 jupyterlab-server==2.25.2 jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 @@ -84,7 +84,7 @@ matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 mistune==3.0.2 -mpl-interactions==0.23.2 +mpl-interactions==0.24.1 mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==1.0.0 @@ -102,12 +102,12 @@ packaging==23.2 pandocfilters==1.5.0 parso==0.8.3 pathspec==0.11.2 -pexpect==4.8.0 +pexpect==4.9.0 pillow==10.1.0 -platformdirs==3.11.0 +platformdirs==4.0.0 pluggy==1.3.0 pre-commit==3.5.0 -prometheus-client==0.18.0 +prometheus-client==0.19.0 prompt-toolkit==3.0.41 psutil==5.9.6 ptyprocess==0.7.0 @@ -115,8 +115,8 @@ pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.14.3 -pygments==2.17.1 +pydata-sphinx-theme==0.14.4 +pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 pytest==7.4.3 @@ -129,12 +129,12 @@ pyyaml==6.0.1 pyzmq==25.1.1 qtconsole==5.5.1 qtpy==2.4.1 -referencing==0.31.0 +referencing==0.31.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 -rpds-py==0.13.1 +rpds-py==0.13.2 ruff==0.1.6 send2trash==1.8.2 six==1.16.0 @@ -164,20 +164,20 @@ stack-data==0.6.3 tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 -tornado==6.3.3 -tox==4.11.3 -traitlets==5.13.0 +tornado==6.4 +tox==4.11.4 +traitlets==5.14.0 types-python-dateutil==2.8.19.14 typing-extensions==4.8.0 ujson==5.8.0 uri-template==1.3.0 urllib3==2.1.0 -virtualenv==20.24.6 -wcwidth==0.2.10 +virtualenv==20.25.0 +wcwidth==0.2.12 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.4 -wheel==0.41.3 +wheel==0.42.0 widgetsnbextension==4.0.9 zipp==3.17.0 diff --git a/.constraints/py3.7.txt b/.constraints/py3.7.txt index 2c8a1de8..34a19d45 100644 --- a/.constraints/py3.7.txt +++ b/.constraints/py3.7.txt @@ -36,7 +36,7 @@ distlib==0.3.7 docstring-to-markdown==0.13 docutils==0.17.1 entrypoints==0.4 -exceptiongroup==1.1.3 +exceptiongroup==1.2.0 fastjsonschema==2.19.0 filelock==3.12.2 fonttools==4.38.0 @@ -44,7 +44,7 @@ fqdn==1.5.1 graphviz==0.20.1 greenlet==3.0.1 identify==2.5.24 -idna==3.4 +idna==3.6 imagesize==1.4.1 importlib-metadata==6.7.0 importlib-resources==5.12.0 @@ -88,7 +88,7 @@ matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 mistune==3.0.2 -mpl-interactions==0.23.2 +mpl-interactions==0.24.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 @@ -106,11 +106,11 @@ packaging==23.2 pandocfilters==1.5.0 parso==0.8.3 pathspec==0.11.2 -pexpect==4.8.0 +pexpect==4.9.0 pickleshare==0.7.5 pillow==9.5.0 pkgutil-resolve-name==1.3.10 -platformdirs==3.11.0 +platformdirs==4.0.0 pluggy==1.2.0 pre-commit==2.21.0 prometheus-client==0.17.1 @@ -122,7 +122,7 @@ pybtex-docutils==1.0.3 pycparser==2.21 pydantic==1.10.13 pydata-sphinx-theme==0.13.3 -pygments==2.17.1 +pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.5.3 pyrsistent==0.19.3 @@ -178,12 +178,12 @@ typing-extensions==4.7.1 ujson==5.7.0 uri-template==1.3.0 urllib3==2.0.7 -virtualenv==20.24.6 -wcwidth==0.2.10 +virtualenv==20.25.0 +wcwidth==0.2.12 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.1 -wheel==0.41.3 +wheel==0.42.0 widgetsnbextension==4.0.9 y-py==0.5.9 ypy-websocket==0.8.2 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 7f927459..4f6975dd 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -6,7 +6,7 @@ # accessible-pygments==0.0.4 alabaster==0.7.13 -anyio==4.0.0 +anyio==4.1.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -35,21 +35,21 @@ defusedxml==0.7.1 distlib==0.3.7 docstring-to-markdown==0.13 docutils==0.17.1 -exceptiongroup==1.1.3 +exceptiongroup==1.2.0 executing==2.0.1 fastjsonschema==2.19.0 filelock==3.13.1 -fonttools==4.44.3 +fonttools==4.46.0 fqdn==1.5.1 graphviz==0.20.1 greenlet==3.0.1 identify==2.5.32 -idna==3.4 +idna==3.6 imagesize==1.4.1 -importlib-metadata==6.8.0 +importlib-metadata==6.9.0 importlib-resources==6.1.1 iniconfig==2.0.0 -ipykernel==6.26.0 +ipykernel==6.27.1 ipympl==0.9.3 ipython==8.12.3 ipython-genutils==0.2.0 @@ -60,21 +60,21 @@ jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 -jsonschema-specifications==2023.11.1 +jsonschema-specifications==2023.11.2 jupyter==1.0.0 jupyter-cache==0.6.1 jupyter-client==8.6.0 jupyter-console==6.6.3 jupyter-core==5.5.0 jupyter-events==0.9.0 -jupyter-lsp==2.2.0 -jupyter-server==2.10.1 +jupyter-lsp==2.2.1 +jupyter-server==2.11.1 jupyter-server-terminals==0.4.4 jupyterlab==4.0.9 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==5.0.0 +jupyterlab-lsp==5.0.1 jupyterlab-myst==2.1.0 -jupyterlab-pygments==0.2.2 +jupyterlab-pygments==0.3.0 jupyterlab-server==2.25.2 jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 @@ -87,7 +87,7 @@ matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 mistune==3.0.2 -mpl-interactions==0.23.2 +mpl-interactions==0.24.1 mypy-extensions==1.0.0 myst-nb==0.17.2 myst-parser==0.18.1 @@ -105,14 +105,14 @@ packaging==23.2 pandocfilters==1.5.0 parso==0.8.3 pathspec==0.11.2 -pexpect==4.8.0 +pexpect==4.9.0 pickleshare==0.7.5 pillow==10.1.0 pkgutil-resolve-name==1.3.10 -platformdirs==3.11.0 +platformdirs==4.0.0 pluggy==1.3.0 pre-commit==3.5.0 -prometheus-client==0.18.0 +prometheus-client==0.19.0 prompt-toolkit==3.0.41 psutil==5.9.6 ptyprocess==0.7.0 @@ -120,8 +120,8 @@ pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.14.3 -pygments==2.17.1 +pydata-sphinx-theme==0.14.4 +pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 pytest==7.4.3 @@ -135,12 +135,12 @@ pyyaml==6.0.1 pyzmq==25.1.1 qtconsole==5.5.1 qtpy==2.4.1 -referencing==0.31.0 +referencing==0.31.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 -rpds-py==0.13.1 +rpds-py==0.13.2 ruff==0.1.6 send2trash==1.8.2 six==1.16.0 @@ -171,20 +171,20 @@ tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 -tornado==6.3.3 -tox==4.11.3 -traitlets==5.13.0 +tornado==6.4 +tox==4.11.4 +traitlets==5.14.0 types-python-dateutil==2.8.19.14 typing-extensions==4.8.0 ujson==5.8.0 uri-template==1.3.0 urllib3==2.1.0 -virtualenv==20.24.6 -wcwidth==0.2.10 +virtualenv==20.25.0 +wcwidth==0.2.12 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.4 -wheel==0.41.3 +wheel==0.42.0 widgetsnbextension==4.0.9 zipp==3.17.0 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 95079384..92ef3d9d 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -6,7 +6,7 @@ # accessible-pygments==0.0.4 alabaster==0.7.13 -anyio==4.0.0 +anyio==4.1.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 @@ -34,23 +34,23 @@ defusedxml==0.7.1 distlib==0.3.7 docstring-to-markdown==0.13 docutils==0.17.1 -exceptiongroup==1.1.3 +exceptiongroup==1.2.0 executing==2.0.1 fastjsonschema==2.19.0 filelock==3.13.1 -fonttools==4.44.3 +fonttools==4.46.0 fqdn==1.5.1 graphviz==0.20.1 greenlet==3.0.1 identify==2.5.32 -idna==3.4 +idna==3.6 imagesize==1.4.1 -importlib-metadata==6.8.0 +importlib-metadata==6.9.0 importlib-resources==6.1.1 iniconfig==2.0.0 -ipykernel==6.26.0 +ipykernel==6.27.1 ipympl==0.9.3 -ipython==8.17.2 +ipython==8.18.1 ipython-genutils==0.2.0 ipywidgets==8.1.1 isoduration==20.11.0 @@ -59,21 +59,21 @@ jinja2==3.1.2 json5==0.9.14 jsonpointer==2.4 jsonschema==4.20.0 -jsonschema-specifications==2023.11.1 +jsonschema-specifications==2023.11.2 jupyter==1.0.0 jupyter-cache==1.0.0 jupyter-client==8.6.0 jupyter-console==6.6.3 jupyter-core==5.5.0 jupyter-events==0.9.0 -jupyter-lsp==2.2.0 -jupyter-server==2.10.1 +jupyter-lsp==2.2.1 +jupyter-server==2.11.1 jupyter-server-terminals==0.4.4 jupyterlab==4.0.9 jupyterlab-code-formatter==2.2.1 -jupyterlab-lsp==5.0.0 +jupyterlab-lsp==5.0.1 jupyterlab-myst==2.1.0 -jupyterlab-pygments==0.2.2 +jupyterlab-pygments==0.3.0 jupyterlab-server==2.25.2 jupyterlab-widgets==3.0.9 kiwisolver==1.4.5 @@ -86,7 +86,7 @@ matplotlib-inline==0.1.6 mdit-py-plugins==0.3.5 mdurl==0.1.2 mistune==3.0.2 -mpl-interactions==0.23.2 +mpl-interactions==0.24.1 mypy-extensions==1.0.0 myst-nb==1.0.0 myst-parser==1.0.0 @@ -104,12 +104,12 @@ packaging==23.2 pandocfilters==1.5.0 parso==0.8.3 pathspec==0.11.2 -pexpect==4.8.0 +pexpect==4.9.0 pillow==10.1.0 -platformdirs==3.11.0 +platformdirs==4.0.0 pluggy==1.3.0 pre-commit==3.5.0 -prometheus-client==0.18.0 +prometheus-client==0.19.0 prompt-toolkit==3.0.41 psutil==5.9.6 ptyprocess==0.7.0 @@ -117,8 +117,8 @@ pure-eval==0.2.2 pybtex==0.24.0 pybtex-docutils==1.0.3 pycparser==2.21 -pydata-sphinx-theme==0.14.3 -pygments==2.17.1 +pydata-sphinx-theme==0.14.4 +pygments==2.17.2 pyparsing==3.1.1 pyproject-api==1.6.1 pytest==7.4.3 @@ -131,12 +131,12 @@ pyyaml==6.0.1 pyzmq==25.1.1 qtconsole==5.5.1 qtpy==2.4.1 -referencing==0.31.0 +referencing==0.31.1 requests==2.31.0 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rope==1.11.0 -rpds-py==0.13.1 +rpds-py==0.13.2 ruff==0.1.6 send2trash==1.8.2 six==1.16.0 @@ -167,20 +167,20 @@ tabulate==0.9.0 terminado==0.18.0 tinycss2==1.2.1 tomli==2.0.1 -tornado==6.3.3 -tox==4.11.3 -traitlets==5.13.0 +tornado==6.4 +tox==4.11.4 +traitlets==5.14.0 types-python-dateutil==2.8.19.14 typing-extensions==4.8.0 ujson==5.8.0 uri-template==1.3.0 urllib3==2.1.0 -virtualenv==20.24.6 -wcwidth==0.2.10 +virtualenv==20.25.0 +wcwidth==0.2.12 webcolors==1.13 webencodings==0.5.1 websocket-client==1.6.4 -wheel==0.41.3 +wheel==0.42.0 widgetsnbextension==4.0.9 zipp==3.17.0 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0bd55371..9f6d15ca 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,6 +3,7 @@ ci: autoupdate_schedule: quarterly skip: - check-jsonschema + - prettier - pyright - taplo @@ -38,7 +39,7 @@ repos: )$ - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.1.3 + rev: 0.1.4 hooks: - id: check-dev-files args: @@ -52,7 +53,7 @@ repos: - id: set-nb-cells - repo: https://github.com/nbQA-dev/nbQA - rev: 1.7.0 + rev: 1.7.1 hooks: - id: nbqa-pyupgrade args: @@ -75,7 +76,7 @@ repos: - id: blacken-docs - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.27.1 + rev: 0.27.2 hooks: - id: check-jsonschema name: Check CITATION.cff @@ -139,12 +140,12 @@ repos: metadata.vscode - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.1.0 + rev: v4.0.0-alpha.3 hooks: - id: prettier - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.336 + rev: v1.1.338 hooks: - id: pyright diff --git a/docs/conf.py b/docs/conf.py index 90d65650..c37dd3fe 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -202,6 +202,7 @@ def fetch_logo(url: str, output_path: str) -> None: "8.1.1": "8.1.2", }, "matplotlib": {"3.5.1": "3.5.0"}, + "mpl-interactions": {"0.24.1": "0.24.0"}, } diff --git a/environment.yml b/environment.yml index 87477937..76fe62c3 100644 --- a/environment.yml +++ b/environment.yml @@ -12,4 +12,5 @@ dependencies: -c .constraints/py3.8.txt -e .[dev] variables: + PRETTIER_LEGACY_CLI: "1" PYTHONHASHSEED: 0