File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }}
Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change 11repos :
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
Original file line number Diff line number Diff line change @@ -3,11 +3,11 @@ formats: all
33sphinx :
44 configuration : docs/conf.py
55build :
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
1111python :
1212 install :
1313 - requirements : docs/requirements.txt
Original file line number Diff line number Diff 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 ]
3429allow_untyped_defs = false
3530implicit_reexport = false
Original file line number Diff line number Diff line change 1111 responses
1212 twisted
1313commands =
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]
7070deps =
71- twine ==6.1 .0
72- build ==1.2.2.post1
71+ twine ==6.2 .0
72+ build ==1.3.0
7373commands =
7474 python -m build --sdist
7575 twine check dist/*
You can’t perform that action at this time.
0 commit comments