Skip to content

Commit

Permalink
Merge pull request #381 from hugovk/add-3.12
Browse files Browse the repository at this point in the history
Add support for Python 3.12
  • Loading branch information
tartley authored Dec 1, 2023
2 parents 7f1a593 + 1520c12 commit 1368087
Showing 5 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["pypy-2.7", "pypy-3.8", "2.7", "3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["pypy-2.7", "pypy-3.8", "2.7", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, macos-latest, windows-latest]
include:
# Add new helper variables to existing jobs
@@ -23,6 +23,7 @@ jobs:
- {python-version: "3.9", toxenv: "py39"}
- {python-version: "3.10", toxenv: "py310"}
- {python-version: "3.11", toxenv: "py311"}
- {python-version: "3.12", toxenv: "py312"}

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

- name: Get pip cache dir
id: pip-cache
2 changes: 1 addition & 1 deletion README-hacking.md
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ fancy new colors, etc, will also work on Windows. This is the main purpose
of Colorama.

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

## Makefile and PowerShell scripts

2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ If you find Colorama useful, please |donate| to the authors. Thank you!
Installation
------------

Tested on CPython 2.7, 3.7, 3.8, 3.9, 3.10 and 3.11 and PyPy 2.7 and 3.8.
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.

No requirements other than the standard library.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -38,6 +38,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Terminals",
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
isolated_build = true
envlist = py{27, 37, 38, 39, 310, py, py3}
envlist = py{27, 37, 38, 39, 310, 311, 312, py, py3}

[testenv]
deps =

0 comments on commit 1368087

Please sign in to comment.