Skip to content

Commit 9a88959

Browse files
hugovkicemac
andauthored
Add support for Python 3.14 (#301)
Co-authored-by: Michael Howitz <[email protected]>
1 parent 5dc2e6e commit 9a88959

File tree

6 files changed

+13
-8
lines changed

6 files changed

+13
-8
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
name: Docs
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v5
2020

21-
- name: Set up Python 3.13
21+
- name: Set up Python
2222
uses: actions/setup-python@v5
2323
with:
24-
python-version: 3.13
24+
python-version: '3.x'
2525

2626
- name: Get pip cache dir
2727
id: pip-cache

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v5
1818

1919
- name: Cache
2020
uses: actions/cache@v4

.github/workflows/test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ jobs:
2525
"3.11",
2626
"3.12",
2727
"3.13",
28-
"pypy-3.10",
28+
"3.14",
29+
"pypy-3.11",
2930
]
3031
pytest-version: [
3132
"8.0.*",
@@ -36,12 +37,13 @@ jobs:
3637
"main",
3738
]
3839
steps:
39-
- uses: actions/checkout@v4
40+
- uses: actions/checkout@v5
4041

4142
- name: Set up Python ${{ matrix.python-version }}
4243
uses: actions/setup-python@v5
4344
with:
4445
python-version: ${{ matrix.python-version }}
46+
allow-prereleases: true
4547

4648
- name: Get pip cache dir
4749
id: pip-cache
@@ -82,7 +84,7 @@ jobs:
8284
os: [ubuntu-latest, windows-latest, macos-latest]
8385
steps:
8486
- name: Checkout
85-
uses: actions/checkout@v4
87+
uses: actions/checkout@v5
8688

8789
- name: Setup Python
8890
uses: actions/setup-python@v5

CHANGES.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Features
1414

1515
- Add support for pytest 8.4.x.
1616

17+
- Add support for upcoming Python 3.14.
18+
1719
- Allow ``@pytest.mark.flaky(condition)`` to accept a callable or a string
1820
to be evaluated. The evaluated string has access to the exception instance
1921
via the ``error`` object.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ classifiers = [
3636
"Programming Language :: Python :: 3.11",
3737
"Programming Language :: Python :: 3.12",
3838
"Programming Language :: Python :: 3.13",
39+
"Programming Language :: Python :: 3.14",
3940
"Programming Language :: Python :: Implementation :: CPython",
4041
"Programming Language :: Python :: Implementation :: PyPy",
4142
"Topic :: Software Development :: Quality Assurance",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ max-line-length = 88
1111
[tox]
1212
envlist =
1313
linting
14-
py{39,310,311,312,313,py3}-pytest{80,81,82,83,84,main}
14+
py{39,310,311,312,313,314,py3}-pytest{80,81,82,83,84,main}
1515
docs
1616
minversion = 4.0
1717

0 commit comments

Comments
 (0)