Skip to content

Commit 975acf7

Browse files
committed
chore: update supported versions of various tools, fix syntax issues
It's been awhile since the last release; we needed to: - Support newer python versions in test and remove old ones - Update CI to use latest actions/cache (the old ones no longer work), latest setup-python, setup-poetry, etc. - Fix some config changes (allowlist / whitelist; aiohttp settings in pytest) - Generally just allow dependencies to update, since they were all ancient.
1 parent 2d42e4e commit 975acf7

File tree

3 files changed

+1987
-1398
lines changed

3 files changed

+1987
-1398
lines changed

.github/workflows/ci.yaml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,31 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
python-version: [3.7, 3.8, 3.9, "3.10"]
12+
python-version: [3.9, "3.10", "3.11", "3.12", "3.13", "3.14"]
1313
include:
14-
- python-version: 3.7
15-
toxenv: py37
16-
- python-version: 3.8
17-
toxenv: py38
1814
- python-version: 3.9
1915
toxenv: py39
2016
- python-version: "3.10"
2117
toxenv: py310
18+
- python-version: "3.11"
19+
toxenv: py311
20+
- python-version: "3.12"
21+
toxenv: py312
22+
- python-version: "3.13"
23+
toxenv: py313
24+
- python-version: "3.14"
25+
toxenv: py314
2226
steps:
2327
- name: Checkout
24-
uses: actions/checkout@v2
28+
uses: actions/checkout@v5
2529
- name: Set up python ${{ matrix.python-version }}
26-
uses: actions/setup-python@v1
30+
uses: actions/setup-python@v6
2731
with:
2832
python-version: ${{ matrix.python-version }}
2933
- name: Set up poetry
30-
uses: Gr1N/setup-poetry@v7
34+
uses: Gr1N/setup-poetry@v9
3135
- name: Cache dependencies
32-
uses: actions/cache@v1
36+
uses: actions/cache@v4
3337
with:
3438
path: ~/.cache/pypoetry/virtualenvs
3539
key: ${{ runner.os }}-v2-poetry-${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}
@@ -43,10 +47,10 @@ jobs:
4347
- name: Linters
4448
run: |
4549
poetry run tox -e lint
46-
if: matrix.python-version == '3.8'
50+
if: matrix.python-version == '3.9'
4751
- name: Coverage
4852
run: |
4953
poetry run tox -e coverage
5054
env:
5155
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
52-
if: matrix.python-version == '3.8'
56+
if: matrix.python-version == '3.9'

0 commit comments

Comments
 (0)