Skip to content

Commit 1368087

Browse files
authored
Merge pull request #381 from hugovk/add-3.12
Add support for Python 3.12
2 parents 7f1a593 + 1520c12 commit 1368087

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
python-version: ["pypy-2.7", "pypy-3.8", "2.7", "3.7", "3.8", "3.9", "3.10", "3.11"]
14+
python-version: ["pypy-2.7", "pypy-3.8", "2.7", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
1515
os: [ubuntu-latest, macos-latest, windows-latest]
1616
include:
1717
# Add new helper variables to existing jobs
@@ -23,6 +23,7 @@ jobs:
2323
- {python-version: "3.9", toxenv: "py39"}
2424
- {python-version: "3.10", toxenv: "py310"}
2525
- {python-version: "3.11", toxenv: "py311"}
26+
- {python-version: "3.12", toxenv: "py312"}
2627

2728
steps:
2829
- uses: actions/checkout@v3
@@ -31,6 +32,7 @@ jobs:
3132
uses: actions/setup-python@v4
3233
with:
3334
python-version: ${{ matrix.python-version }}
35+
allow-prereleases: true
3436

3537
- name: Get pip cache dir
3638
id: pip-cache

README-hacking.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ fancy new colors, etc, will also work on Windows. This is the main purpose
4444
of Colorama.
4545

4646
The kinds of submissions we would encourage work towards that goal, or fix
47-
bugs, or improve compatibility across operating systems or environements.
47+
bugs, or improve compatibility across operating systems or environments.
4848

4949
## Makefile and PowerShell scripts
5050

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ If you find Colorama useful, please |donate| to the authors. Thank you!
2929
Installation
3030
------------
3131

32-
Tested on CPython 2.7, 3.7, 3.8, 3.9, 3.10 and 3.11 and PyPy 2.7 and 3.8.
32+
Tested on CPython 2.7, 3.7, 3.8, 3.9, 3.10, 3.11 and 3.12 and PyPy 2.7 and 3.8.
3333

3434
No requirements other than the standard library.
3535

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ classifiers = [
3838
"Programming Language :: Python :: 3.9",
3939
"Programming Language :: Python :: 3.10",
4040
"Programming Language :: Python :: 3.11",
41+
"Programming Language :: Python :: 3.12",
4142
"Programming Language :: Python :: Implementation :: CPython",
4243
"Programming Language :: Python :: Implementation :: PyPy",
4344
"Topic :: Terminals",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
isolated_build = true
3-
envlist = py{27, 37, 38, 39, 310, py, py3}
3+
envlist = py{27, 37, 38, 39, 310, 311, 312, py, py3}
44

55
[testenv]
66
deps =

0 commit comments

Comments
 (0)