Skip to content

Commit

Permalink
update dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism committed Oct 6, 2024
1 parent f56c105 commit 402311d
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 40 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: 3.x
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
- uses: pre-commit-ci/lite-action@9d882e7a565f7008d4faf128f27d1cb6503d4ebf # v1.0.2
- uses: pre-commit-ci/lite-action@1384014f1a0d9c9e0656844e4e6e0f3554b1b3e7 # v1.0.3
if: ${{ !cancelled() }}
16 changes: 8 additions & 8 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
sdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
ref: ${{ inputs.tag }}
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: '3.x'
cache: pip
Expand All @@ -29,7 +29,7 @@ jobs:
# Use the commit date instead of the current date during the build.
- run: echo "SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV
- run: python -m build --sdist
- uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: build-sdist
path: ./dist
Expand All @@ -44,22 +44,22 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- run: echo "SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV
- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
with:
platforms: arm64
- uses: pypa/cibuildwheel@bd033a44476646b606efccdd5eed92d5ea1d77ad # v2.20.0
- uses: pypa/cibuildwheel@f1859528322d7b29d4493ee241a167807661dfb4 # v2.21.2
env:
# For workflow_dispatch, only build the new Python version.
CIBW_BUILD: ${{ inputs.python && format('{0}-*', inputs.python) || null }}
CIBW_SKIP: pp*
CIBW_ARCHS_LINUX: auto aarch64
CIBW_ARCHS_MACOS: auto universal2
CIBW_BUILD_FRONTEND: build
- uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: build-wheels-${{ matrix.os }}
path: ./wheelhouse
Expand Down Expand Up @@ -140,10 +140,10 @@ jobs:
path: dist
pattern: build-*
merge-multiple: true
- uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0
- uses: pypa/gh-action-pypi-publish@f7600683efdcb7656dec5b29656edb7bc586e597 # v1.10.3
with:
repository-url: https://test.pypi.org/legacy/
skip-existing: true
- uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0
- uses: pypa/gh-action-pypi-publish@f7600683efdcb7656dec5b29656edb7bc586e597 # v1.10.3
with:
skip-existing: true
10 changes: 5 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
- {python: '3.9'}
- {name: PyPy, python: 'pypy-3.10', tox: pypy310}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
Expand All @@ -42,14 +42,14 @@ jobs:
typing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: '3.x'
cache: pip
cache-dependency-path: requirements*/*.txt
- name: cache mypy
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
uses: actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
with:
path: ./.mypy_cache
key: mypy|${{ hashFiles('pyproject.toml') }}
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.2
rev: v0.6.9
hooks:
- id: ruff
- id: ruff-format
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-merge-conflict
- id: debug-statements
Expand Down
4 changes: 2 additions & 2 deletions requirements/build.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
#
# pip-compile build.in
#
build==1.2.1
build==1.2.2.post1
# via -r build.in
packaging==24.1
# via build
pyproject-hooks==1.1.0
pyproject-hooks==1.2.0
# via build
27 changes: 14 additions & 13 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ babel==2.16.0
# sphinx
cachetools==5.5.0
# via tox
certifi==2024.7.4
certifi==2024.8.30
# via
# -r docs.txt
# requests
Expand All @@ -34,13 +34,13 @@ docutils==0.21.2
# via
# -r docs.txt
# sphinx
filelock==3.15.4
filelock==3.16.1
# via
# tox
# virtualenv
identify==2.6.0
identify==2.6.1
# via pre-commit
idna==3.8
idna==3.10
# via
# -r docs.txt
# requests
Expand All @@ -61,7 +61,7 @@ markupsafe==2.1.5
# via
# -r docs.txt
# jinja2
mypy==1.11.1
mypy==1.11.2
# via -r typing.txt
mypy-extensions==1.0.0
# via
Expand All @@ -84,7 +84,7 @@ packaging==24.1
# tox
pallets-sphinx-themes==2.1.3
# via -r docs.txt
platformdirs==4.2.2
platformdirs==4.3.6
# via
# tox
# virtualenv
Expand All @@ -94,17 +94,17 @@ pluggy==1.5.0
# -r typing.txt
# pytest
# tox
pre-commit==3.8.0
pre-commit==4.0.0
# via -r dev.in
pygments==2.18.0
# via
# -r docs.txt
# sphinx
pyproject-api==1.7.1
pyproject-api==1.8.0
# via tox
pyright==1.1.377
pyright==1.1.383
# via -r typing.txt
pytest==8.3.2
pytest==8.3.3
# via
# -r tests.txt
# -r typing.txt
Expand Down Expand Up @@ -149,17 +149,18 @@ sphinxcontrib-serializinghtml==2.0.0
# via
# -r docs.txt
# sphinx
tox==4.18.0
tox==4.21.2
# via -r dev.in
typing-extensions==4.12.2
# via
# -r typing.txt
# mypy
urllib3==2.2.2
# pyright
urllib3==2.2.3
# via
# -r docs.txt
# requests
virtualenv==20.26.3
virtualenv==20.26.6
# via
# pre-commit
# tox
6 changes: 3 additions & 3 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ alabaster==1.0.0
# via sphinx
babel==2.16.0
# via sphinx
certifi==2024.7.4
certifi==2024.8.30
# via requests
charset-normalizer==3.3.2
# via requests
docutils==0.21.2
# via sphinx
idna==3.8
idna==3.10
# via requests
imagesize==1.4.1
# via sphinx
Expand Down Expand Up @@ -53,5 +53,5 @@ sphinxcontrib-qthelp==2.0.0
# via sphinx
sphinxcontrib-serializinghtml==2.0.0
# via sphinx
urllib3==2.2.2
urllib3==2.2.3
# via requests
2 changes: 1 addition & 1 deletion requirements/tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ packaging==24.1
# via pytest
pluggy==1.5.0
# via pytest
pytest==8.3.2
pytest==8.3.3
# via -r tests.in
10 changes: 6 additions & 4 deletions requirements/typing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
iniconfig==2.0.0
# via pytest
mypy==1.11.1
mypy==1.11.2
# via -r typing.in
mypy-extensions==1.0.0
# via mypy
Expand All @@ -16,9 +16,11 @@ packaging==24.1
# via pytest
pluggy==1.5.0
# via pytest
pyright==1.1.377
pyright==1.1.383
# via -r typing.in
pytest==8.3.2
pytest==8.3.3
# via -r typing.in
typing-extensions==4.12.2
# via mypy
# via
# mypy
# pyright

0 comments on commit 402311d

Please sign in to comment.