Skip to content

Commit 9c6c161

Browse files
feat: Support Python 3.13 (#89)
1 parent 9ac03ed commit 9c6c161

File tree

5 files changed

+352
-312
lines changed

5 files changed

+352
-312
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,20 @@ jobs:
3636
PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt
3737
strategy:
3838
matrix:
39-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
39+
python-version:
40+
- "3.8"
41+
- "3.9"
42+
- "3.10"
43+
- "3.11"
44+
- "3.12"
45+
- "3.13"
4046

4147
steps:
4248
- uses: actions/checkout@v4
4349
- uses: actions/setup-python@v5
4450
with:
4551
python-version: ${{ matrix.python-version }}
52+
allow-prereleases: true
4653

4754
- name: Upgrade pip
4855
run: |
@@ -66,4 +73,4 @@ jobs:
6673
TAP_BETTERSTACK_TOKEN: ${{ secrets.TAP_BETTERSTACK_TOKEN }}
6774
TAP_BETTERSTACK_START_DATE: ${{ secrets.TAP_BETTERSTACK_START_DATE }}
6875
run: |
69-
nox
76+
nox --verbose

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ repos:
1616
- id: trailing-whitespace
1717

1818
- repo: https://github.com/tox-dev/pyproject-fmt
19-
rev: "2.1.3"
19+
rev: "2.1.4"
2020
hooks:
2121
- id: pyproject-fmt
2222

2323
- repo: https://github.com/astral-sh/ruff-pre-commit
24-
rev: "v0.5.0"
24+
rev: "v0.5.1"
2525
hooks:
2626
- id: ruff
2727
args: [--fix, --exit-non-zero-on-fix, --show-fixes]

noxfile.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,14 @@
1717
{sys.executable} -m pip install nox-poetry"""
1818
raise SystemExit(dedent(message)) from None
1919

20-
python_versions = ["3.12", "3.11", "3.10", "3.9", "3.8"]
20+
python_versions = [
21+
"3.13",
22+
"3.12",
23+
"3.11",
24+
"3.10",
25+
"3.9",
26+
"3.8",
27+
]
2128
nox.options.sessions = ("tests",)
2229

2330

0 commit comments

Comments
 (0)