Add Python 3.12 to the test suite; mark it as supported
This commit is contained in:
parent
9bb82306f4
commit
26720b8264
3 changed files with 7 additions and 2 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
@ -12,7 +12,7 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ["ubuntu-20.04", "macos-latest"]
|
os: ["ubuntu-20.04", "macos-latest"]
|
||||||
python: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy-3.9"]
|
python: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.9"]
|
||||||
include:
|
include:
|
||||||
- os: "windows-latest"
|
- os: "windows-latest"
|
||||||
python: "3.8"
|
python: "3.8"
|
||||||
|
@ -22,6 +22,8 @@ jobs:
|
||||||
python: "3.10"
|
python: "3.10"
|
||||||
- os: "windows-latest"
|
- os: "windows-latest"
|
||||||
python: "3.11"
|
python: "3.11"
|
||||||
|
- os: "windows-latest"
|
||||||
|
python: "3.12"
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
name: "Test: Python ${{ matrix.python }} on ${{ matrix.os }}"
|
name: "Test: Python ${{ matrix.python }} on ${{ matrix.os }}"
|
||||||
steps:
|
steps:
|
||||||
|
@ -31,6 +33,7 @@ jobs:
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python }}
|
python-version: ${{ matrix.python }}
|
||||||
|
allow-prereleases: true
|
||||||
- name: "Install dependencies"
|
- name: "Install dependencies"
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip setuptools
|
python -m pip install --upgrade pip setuptools
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -44,6 +44,7 @@ setup(
|
||||||
"Programming Language :: Python :: 3.9",
|
"Programming Language :: Python :: 3.9",
|
||||||
"Programming Language :: Python :: 3.10",
|
"Programming Language :: Python :: 3.10",
|
||||||
"Programming Language :: Python :: 3.11",
|
"Programming Language :: Python :: 3.11",
|
||||||
|
"Programming Language :: Python :: 3.12",
|
||||||
"Topic :: Utilities",
|
"Topic :: Utilities",
|
||||||
],
|
],
|
||||||
keywords="dotfiles",
|
keywords="dotfiles",
|
||||||
|
|
3
tox.ini
3
tox.ini
|
@ -3,7 +3,7 @@
|
||||||
; All older versions, and PyPy, lack full symlink support.
|
; All older versions, and PyPy, lack full symlink support.
|
||||||
envlist =
|
envlist =
|
||||||
coverage_erase
|
coverage_erase
|
||||||
py{38, 39, 310, 311}-all_platforms
|
py{38, 39, 310, 311, 312}-all_platforms
|
||||||
py{36, 37}-most_platforms
|
py{36, 37}-most_platforms
|
||||||
pypy3-most_platforms
|
pypy3-most_platforms
|
||||||
coverage_report
|
coverage_report
|
||||||
|
@ -64,6 +64,7 @@ python =
|
||||||
3.9: py39-all_platforms
|
3.9: py39-all_platforms
|
||||||
3.10: py310-all_platforms
|
3.10: py310-all_platforms
|
||||||
3.11: py311-all_platforms
|
3.11: py311-all_platforms
|
||||||
|
3.12: py312-all_platforms
|
||||||
|
|
||||||
; Run on most platforms (Linux and Mac)
|
; Run on most platforms (Linux and Mac)
|
||||||
pypy-3.9: pypy3-most_platforms
|
pypy-3.9: pypy3-most_platforms
|
||||||
|
|
Loading…
Reference in a new issue