From 64f9388f4164e9f64d98a7580933e958ea4a09d5 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Sat, 11 Nov 2023 11:28:31 -0300 Subject: [PATCH] Add support for Python 3.12 Fix changelog entries from "improvement" to "feature" (there's "improvement" in our towncrier configuration). --- .github/workflows/test.yml | 6 +++--- changelog/{963.improvement.rst => 963.feature.rst} | 0 changelog/965.feature.rst | 1 + setup.cfg | 1 + tox.ini | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) rename changelog/{963.improvement.rst => 963.feature.rst} (100%) create mode 100644 changelog/965.feature.rst diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7288c6f3..fa168266 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,9 +38,9 @@ jobs: - "py38-pytestlatest" - "py39-pytestlatest" - "py310-pytestlatest" - - "py310-pytestmain" - "py311-pytestlatest" - "py311-pytestmain" + - "py312-pytestlatest" - "py310-psutil" - "py310-setproctitle" @@ -54,12 +54,12 @@ jobs: python: "3.9" - tox_env: "py310-pytestlatest" python: "3.10" - - tox_env: "py310-pytestmain" - python: "3.10" - tox_env: "py311-pytestlatest" python: "3.11" - tox_env: "py311-pytestmain" python: "3.11" + - tox_env: "py312-pytestlatest" + python: "3.12" - tox_env: "py310-psutil" python: "3.10" - tox_env: "py310-setproctitle" diff --git a/changelog/963.improvement.rst b/changelog/963.feature.rst similarity index 100% rename from changelog/963.improvement.rst rename to changelog/963.feature.rst diff --git a/changelog/965.feature.rst b/changelog/965.feature.rst new file mode 100644 index 00000000..5f8aba9b --- /dev/null +++ b/changelog/965.feature.rst @@ -0,0 +1 @@ +Added support for Python 3.12. diff --git a/setup.cfg b/setup.cfg index 77346ade..8e420ae8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -30,6 +30,7 @@ classifiers = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 license_file = LICENSE project_urls = Documentation=https://pytest-xdist.readthedocs.io/en/latest diff --git a/tox.ini b/tox.ini index b0de6538..ca1310a2 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist= linting - py{37,38,39,310,311}-pytestlatest + py{37,38,39,310,311,312}-pytestlatest py310-pytestmain py310-psutil py310-setproctitle