Skip to content

Commit f75a52c

Browse files
committed
Bump tools.
1 parent b521856 commit f75a52c

6 files changed

Lines changed: 16 additions & 23 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,12 @@ jobs:
1212
permissions:
1313
id-token: write
1414
steps:
15-
- uses: actions/checkout@v4
16-
- uses: actions/setup-python@v5
15+
- uses: actions/checkout@v5
16+
- uses: actions/setup-python@v6
1717
with:
1818
python-version: 3.13
1919
- run: |
2020
python -m pip install --upgrade build
2121
python -m build
2222
- name: Publish to PyPI
2323
uses: pypa/gh-action-pypi-publish@release/v1
24-
with:
25-
password: ${{ secrets.PYPI_TOKEN }}

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ jobs:
3030
tox: x402
3131

3232
steps:
33-
- uses: actions/checkout@v4
33+
- uses: actions/checkout@v5
3434
- name: Set up Python ${{ matrix.python-version }}
35-
uses: actions/setup-python@v5
35+
uses: actions/setup-python@v6
3636
with:
3737
python-version: ${{ matrix.python-version }}
3838
- name: Install dependencies
@@ -44,7 +44,7 @@ jobs:
4444
tox -e ${{ matrix.tox || 'py' }}
4545
- name: coverage
4646
if: ${{ success() }}
47-
uses: codecov/codecov-action@v4.0.1
47+
uses: codecov/codecov-action@v5
4848
with:
4949
token: ${{ secrets.CODECOV_TOKEN }}
5050

@@ -53,13 +53,13 @@ jobs:
5353
strategy:
5454
fail-fast: false
5555
matrix:
56-
python-version: ['3.12'] # Keep in sync with .readthedocs.yml
56+
python-version: ["3.13"] # Keep in sync with .readthedocs.yml
5757
tox-job: ["mypy", "docs"]
5858

5959
steps:
60-
- uses: actions/checkout@v4
60+
- uses: actions/checkout@v5
6161
- name: Set up Python ${{ matrix.python-version }}
62-
uses: actions/setup-python@v5
62+
uses: actions/setup-python@v6
6363
with:
6464
python-version: ${{ matrix.python-version }}
6565
- name: Install dependencies

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.13.1
3+
rev: v0.13.3
44
hooks:
55
- id: ruff-check
66
args: [ --fix ]
77
- id: ruff-format
88
- repo: https://github.com/adamchainz/blacken-docs
9-
rev: 1.19.0
9+
rev: 1.20.0
1010
hooks:
1111
- id: blacken-docs
1212
additional_dependencies:
13-
- black==25.1.0
13+
- black==25.9.0

.readthedocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ formats: all
33
sphinx:
44
configuration: docs/conf.py
55
build:
6-
os: ubuntu-22.04
6+
os: ubuntu-24.04
77
tools:
88
# For available versions, see:
99
# https://docs.readthedocs.io/en/stable/config-file/v2.html#build-tools-python
10-
python: "3.12" # Keep in sync with .github/workflows/test.yml
10+
python: "3.13" # Keep in sync with .github/workflows/test.yml
1111
python:
1212
install:
1313
- requirements: docs/requirements.txt

pyproject.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ patch = [
2525
"subprocess",
2626
]
2727

28-
[tool.coverage.report]
29-
exclude_also = [
30-
"if TYPE_CHECKING:",
31-
]
32-
3328
[tool.mypy]
3429
allow_untyped_defs = false
3530
implicit_reexport = false

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ deps =
1111
responses
1212
twisted
1313
commands =
14-
py.test \
14+
pytest \
1515
--cov-report=term-missing --cov-report=html --cov-report=xml --cov=zyte_api \
1616
--doctest-modules \
1717
{posargs:zyte_api tests}
@@ -68,8 +68,8 @@ commands = pre-commit run --all-files --show-diff-on-failure
6868

6969
[testenv:twine]
7070
deps =
71-
twine==6.1.0
72-
build==1.2.2.post1
71+
twine==6.2.0
72+
build==1.3.0
7373
commands =
7474
python -m build --sdist
7575
twine check dist/*

0 commit comments

Comments
 (0)