update dev dependencies

This commit is contained in:
David Lord 2024-10-18 10:02:35 -07:00
parent c77b099cbb
commit b337d21058
No known key found for this signature in database
GPG key ID: 43368A7AA8CC5926
9 changed files with 67 additions and 56 deletions

View file

@ -9,8 +9,8 @@ jobs:
outputs: outputs:
hash: ${{ steps.hash.outputs.hash }} hash: ${{ steps.hash.outputs.hash }}
steps: steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1 - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with: with:
python-version: '3.x' python-version: '3.x'
cache: pip cache: pip
@ -23,7 +23,7 @@ jobs:
- name: generate hash - name: generate hash
id: hash id: hash
run: cd dist && echo "hash=$(sha256sum * | base64 -w0)" >> $GITHUB_OUTPUT run: cd dist && echo "hash=$(sha256sum * | base64 -w0)" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6 - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with: with:
path: ./dist path: ./dist
provenance: provenance:
@ -64,10 +64,10 @@ jobs:
id-token: write id-token: write
steps: steps:
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 - uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
- uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0 - uses: pypa/gh-action-pypi-publish@f7600683efdcb7656dec5b29656edb7bc586e597 # v1.10.3
with: with:
repository-url: https://test.pypi.org/legacy/ repository-url: https://test.pypi.org/legacy/
packages-dir: artifact/ packages-dir: artifact/
- uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0 - uses: pypa/gh-action-pypi-publish@f7600683efdcb7656dec5b29656edb7bc586e597 # v1.10.3
with: with:
packages-dir: artifact/ packages-dir: artifact/

View file

@ -33,8 +33,8 @@ jobs:
- {name: Minimum Versions, python: '3.12', tox: py-min} - {name: Minimum Versions, python: '3.12', tox: py-min}
- {name: Development Versions, python: '3.8', tox: py-dev} - {name: Development Versions, python: '3.8', tox: py-dev}
steps: steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1 - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with: with:
python-version: ${{ matrix.python }} python-version: ${{ matrix.python }}
allow-prereleases: true allow-prereleases: true
@ -45,14 +45,14 @@ jobs:
typing: typing:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1 - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with: with:
python-version: '3.x' python-version: '3.x'
cache: pip cache: pip
cache-dependency-path: requirements*/*.txt cache-dependency-path: requirements*/*.txt
- name: cache mypy - name: cache mypy
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
with: with:
path: ./.mypy_cache path: ./.mypy_cache
key: mypy|${{ hashFiles('pyproject.toml') }} key: mypy|${{ hashFiles('pyproject.toml') }}

View file

@ -2,12 +2,12 @@ ci:
autoupdate_schedule: monthly autoupdate_schedule: monthly
repos: repos:
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.2 rev: v0.7.0
hooks: hooks:
- id: ruff - id: ruff
- id: ruff-format - id: ruff-format
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0 rev: v5.0.0
hooks: hooks:
- id: check-merge-conflict - id: check-merge-conflict
- id: debug-statements - id: debug-statements

View file

@ -1,12 +1,12 @@
# #
# This file is autogenerated by pip-compile with Python 3.12 # This file is autogenerated by pip-compile with Python 3.13
# by the following command: # by the following command:
# #
# pip-compile build.in # pip-compile build.in
# #
build==1.2.1 build==1.2.2.post1
# via -r build.in # via -r build.in
packaging==24.1 packaging==24.1
# via build # via build
pyproject-hooks==1.1.0 pyproject-hooks==1.2.0
# via build # via build

View file

@ -1,5 +1,5 @@
# #
# This file is autogenerated by pip-compile with Python 3.12 # This file is autogenerated by pip-compile with Python 3.13
# by the following command: # by the following command:
# #
# pip-compile dev.in # pip-compile dev.in
@ -18,11 +18,11 @@ babel==2.16.0
# sphinx # sphinx
cachetools==5.5.0 cachetools==5.5.0
# via tox # via tox
certifi==2024.7.4 certifi==2024.8.30
# via # via
# -r docs.txt # -r docs.txt
# requests # requests
cffi==1.17.0 cffi==1.17.1
# via # via
# -r typing.txt # -r typing.txt
# cryptography # cryptography
@ -30,28 +30,28 @@ cfgv==3.4.0
# via pre-commit # via pre-commit
chardet==5.2.0 chardet==5.2.0
# via tox # via tox
charset-normalizer==3.3.2 charset-normalizer==3.4.0
# via # via
# -r docs.txt # -r docs.txt
# requests # requests
colorama==0.4.6 colorama==0.4.6
# via tox # via tox
cryptography==43.0.0 cryptography==43.0.3
# via -r typing.txt # via -r typing.txt
distlib==0.3.8 distlib==0.3.9
# via virtualenv # via virtualenv
docutils==0.21.2 docutils==0.21.2
# via # via
# -r docs.txt # -r docs.txt
# sphinx # sphinx
# sphinx-tabs # sphinx-tabs
filelock==3.15.4 filelock==3.16.1
# via # via
# tox # tox
# virtualenv # virtualenv
identify==2.6.0 identify==2.6.1
# via pre-commit # via pre-commit
idna==3.8 idna==3.10
# via # via
# -r docs.txt # -r docs.txt
# requests # requests
@ -68,11 +68,11 @@ jinja2==3.1.4
# via # via
# -r docs.txt # -r docs.txt
# sphinx # sphinx
markupsafe==2.1.5 markupsafe==3.0.2
# via # via
# -r docs.txt # -r docs.txt
# jinja2 # jinja2
mypy==1.11.1 mypy==1.12.0
# via -r typing.txt # via -r typing.txt
mypy-extensions==1.0.0 mypy-extensions==1.0.0
# via # via
@ -93,9 +93,9 @@ packaging==24.1
# pytest # pytest
# sphinx # sphinx
# tox # tox
pallets-sphinx-themes==2.1.3 pallets-sphinx-themes==2.2.0
# via -r docs.txt # via -r docs.txt
platformdirs==4.2.2 platformdirs==4.3.6
# via # via
# tox # tox
# virtualenv # virtualenv
@ -105,7 +105,7 @@ pluggy==1.5.0
# -r typing.txt # -r typing.txt
# pytest # pytest
# tox # tox
pre-commit==3.8.0 pre-commit==4.0.1
# via -r dev.in # via -r dev.in
pycparser==2.22 pycparser==2.22
# via # via
@ -116,11 +116,11 @@ pygments==2.18.0
# -r docs.txt # -r docs.txt
# sphinx # sphinx
# sphinx-tabs # sphinx-tabs
pyproject-api==1.7.1 pyproject-api==1.8.0
# via tox # via tox
pyright==1.1.377 pyright==1.1.385
# via -r typing.txt # via -r typing.txt
pytest==8.3.2 pytest==8.3.3
# via # via
# -r tests.txt # -r tests.txt
# -r typing.txt # -r typing.txt
@ -138,13 +138,18 @@ snowballstemmer==2.2.0
# via # via
# -r docs.txt # -r docs.txt
# sphinx # sphinx
sphinx==8.0.2 sphinx==8.1.3
# via # via
# -r docs.txt # -r docs.txt
# pallets-sphinx-themes # pallets-sphinx-themes
# sphinx-notfound-page
# sphinx-tabs # sphinx-tabs
# sphinxcontrib-log-cabinet # sphinxcontrib-log-cabinet
sphinx-tabs==3.4.5 sphinx-notfound-page==1.0.4
# via
# -r docs.txt
# pallets-sphinx-themes
sphinx-tabs==3.4.7
# via -r docs.txt # via -r docs.txt
sphinxcontrib-applehelp==2.0.0 sphinxcontrib-applehelp==2.0.0
# via # via
@ -172,7 +177,7 @@ sphinxcontrib-serializinghtml==2.0.0
# via # via
# -r docs.txt # -r docs.txt
# sphinx # sphinx
tox==4.18.0 tox==4.23.0
# via -r dev.in # via -r dev.in
types-contextvars==2.4.7.3 types-contextvars==2.4.7.3
# via -r typing.txt # via -r typing.txt
@ -182,11 +187,12 @@ typing-extensions==4.12.2
# via # via
# -r typing.txt # -r typing.txt
# mypy # mypy
urllib3==2.2.2 # pyright
urllib3==2.2.3
# via # via
# -r docs.txt # -r docs.txt
# requests # requests
virtualenv==20.26.3 virtualenv==20.27.0
# via # via
# pre-commit # pre-commit
# tox # tox

View file

@ -1,5 +1,5 @@
# #
# This file is autogenerated by pip-compile with Python 3.12 # This file is autogenerated by pip-compile with Python 3.13
# by the following command: # by the following command:
# #
# pip-compile docs.in # pip-compile docs.in
@ -8,27 +8,27 @@ alabaster==1.0.0
# via sphinx # via sphinx
babel==2.16.0 babel==2.16.0
# via sphinx # via sphinx
certifi==2024.7.4 certifi==2024.8.30
# via requests # via requests
charset-normalizer==3.3.2 charset-normalizer==3.4.0
# via requests # via requests
docutils==0.21.2 docutils==0.21.2
# via # via
# sphinx # sphinx
# sphinx-tabs # sphinx-tabs
idna==3.8 idna==3.10
# via requests # via requests
imagesize==1.4.1 imagesize==1.4.1
# via sphinx # via sphinx
jinja2==3.1.4 jinja2==3.1.4
# via sphinx # via sphinx
markupsafe==2.1.5 markupsafe==3.0.2
# via jinja2 # via jinja2
packaging==24.1 packaging==24.1
# via # via
# pallets-sphinx-themes # pallets-sphinx-themes
# sphinx # sphinx
pallets-sphinx-themes==2.1.3 pallets-sphinx-themes==2.2.0
# via -r docs.in # via -r docs.in
pygments==2.18.0 pygments==2.18.0
# via # via
@ -38,13 +38,16 @@ requests==2.32.3
# via sphinx # via sphinx
snowballstemmer==2.2.0 snowballstemmer==2.2.0
# via sphinx # via sphinx
sphinx==8.0.2 sphinx==8.1.3
# via # via
# -r docs.in # -r docs.in
# pallets-sphinx-themes # pallets-sphinx-themes
# sphinx-notfound-page
# sphinx-tabs # sphinx-tabs
# sphinxcontrib-log-cabinet # sphinxcontrib-log-cabinet
sphinx-tabs==3.4.5 sphinx-notfound-page==1.0.4
# via pallets-sphinx-themes
sphinx-tabs==3.4.7
# via -r docs.in # via -r docs.in
sphinxcontrib-applehelp==2.0.0 sphinxcontrib-applehelp==2.0.0
# via sphinx # via sphinx
@ -60,5 +63,5 @@ sphinxcontrib-qthelp==2.0.0
# via sphinx # via sphinx
sphinxcontrib-serializinghtml==2.0.0 sphinxcontrib-serializinghtml==2.0.0
# via sphinx # via sphinx
urllib3==2.2.2 urllib3==2.2.3
# via requests # via requests

View file

@ -1,5 +1,5 @@
# #
# This file is autogenerated by pip-compile with Python 3.12 # This file is autogenerated by pip-compile with Python 3.13
# by the following command: # by the following command:
# #
# pip-compile tests.in # pip-compile tests.in
@ -12,7 +12,7 @@ packaging==24.1
# via pytest # via pytest
pluggy==1.5.0 pluggy==1.5.0
# via pytest # via pytest
pytest==8.3.2 pytest==8.3.3
# via -r tests.in # via -r tests.in
python-dotenv==1.0.1 python-dotenv==1.0.1
# via -r tests.in # via -r tests.in

View file

@ -1,18 +1,18 @@
# #
# This file is autogenerated by pip-compile with Python 3.12 # This file is autogenerated by pip-compile with Python 3.13
# by the following command: # by the following command:
# #
# pip-compile typing.in # pip-compile typing.in
# #
asgiref==3.8.1 asgiref==3.8.1
# via -r typing.in # via -r typing.in
cffi==1.17.0 cffi==1.17.1
# via cryptography # via cryptography
cryptography==43.0.0 cryptography==43.0.3
# via -r typing.in # via -r typing.in
iniconfig==2.0.0 iniconfig==2.0.0
# via pytest # via pytest
mypy==1.11.1 mypy==1.12.0
# via -r typing.in # via -r typing.in
mypy-extensions==1.0.0 mypy-extensions==1.0.0
# via mypy # via mypy
@ -24,9 +24,9 @@ pluggy==1.5.0
# via pytest # via pytest
pycparser==2.22 pycparser==2.22
# via cffi # via cffi
pyright==1.1.377 pyright==1.1.385
# via -r typing.in # via -r typing.in
pytest==8.3.2 pytest==8.3.3
# via -r typing.in # via -r typing.in
python-dotenv==1.0.1 python-dotenv==1.0.1
# via -r typing.in # via -r typing.in
@ -35,4 +35,6 @@ types-contextvars==2.4.7.3
types-dataclasses==0.6.6 types-dataclasses==0.6.6
# via -r typing.in # via -r typing.in
typing-extensions==4.12.2 typing-extensions==4.12.2
# via mypy # via
# mypy
# pyright

View file

@ -113,7 +113,7 @@ def _default(o: t.Any) -> t.Any:
return str(o) return str(o)
if dataclasses and dataclasses.is_dataclass(o): if dataclasses and dataclasses.is_dataclass(o):
return dataclasses.asdict(o) # type: ignore[call-overload] return dataclasses.asdict(o) # type: ignore[arg-type]
if hasattr(o, "__html__"): if hasattr(o, "__html__"):
return str(o.__html__()) return str(o.__html__())