Skip to content

Commit 881ccaf

Browse files
authored
Merge pull request #71 from pytest-dev/python-3.12/1/dev
Explicit Python 3.12 support
2 parents 6fc114d + 16504a0 commit 881ccaf

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
# Not all Python versions are available for linux AND x64
1717
# https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
1818
os: ['ubuntu-latest']
19-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9']
19+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9']
2020
extra: ['', '-smtp']
2121
# The forced pytest versions correspond with the lower bounds in tox.ini
2222
pytest-version: ['', '--force-dep pytest==4', '--force-dep pytest==6.2.4']
@@ -34,14 +34,17 @@ jobs:
3434
pytest-version: '--force-dep pytest==4'
3535
- python-version: '3.11'
3636
pytest-version: '--force-dep pytest==4'
37+
- python-version: '3.12'
38+
pytest-version: '--force-dep pytest==4'
3739
fail-fast: false
3840

3941
steps:
4042
- uses: actions/checkout@v1
4143
- name: Set up Python ${{ matrix.python-version }}
42-
uses: actions/setup-python@v2
44+
uses: actions/setup-python@v4
4345
with:
4446
python-version: ${{ matrix.python-version }}
47+
allow-prereleases: true
4548
- name: Install dependencies
4649
run: |
4750
python -m pip install --upgrade pip

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ repos:
4343
args: [--py3-plus]
4444

4545
- repo: https://github.com/rhysd/actionlint
46-
rev: v1.6.23
46+
rev: v1.6.25
4747
hooks:
4848
- id: actionlint-docker

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ def run(self):
6666
"Programming Language :: Python :: 3.9",
6767
"Programming Language :: Python :: 3.10",
6868
"Programming Language :: Python :: 3.11",
69+
"Programming Language :: Python :: 3.12",
6970
"Topic :: Software Development :: Testing",
7071
],
7172
)

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{35,36,37,38,39,310,311,py3}{,-smtp},lint
2+
envlist = py{35,36,37,38,39,310,311,312,py3}{,-smtp},lint
33
recreate = True
44
isolated_build = True
55

0 commit comments

Comments
 (0)