Skip to content

Commit 4a1a71d

Browse files
authoredJan 7, 2024
Merge pull request #54 from timofurrer/chore/update-py312
Update Python 3.12
2 parents e4fc008 + 03162ce commit 4a1a71d

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed
 

‎.github/workflows/main.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ jobs:
1010
fail-fast: false
1111
max-parallel: 8
1212
matrix:
13-
python-version: [3.7, 3.8, 3.9, "3.10", 3.11]
13+
python-version: [3.7, 3.8, 3.9, "3.10", 3.11, 3.12]
1414
os: [ubuntu-latest, windows-latest, macOS-latest]
1515
include:
16-
- os: ubuntu-18.04
16+
- os: ubuntu-20.04
1717
python-version: 3.5
18-
- os: ubuntu-18.04
18+
- os: ubuntu-20.04
1919
python-version: 3.6
2020

2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2323
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v4
24+
uses: actions/setup-python@v5
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727
- name: Setup build and test environment
@@ -58,12 +58,12 @@ jobs:
5858
runs-on: ubuntu-latest
5959

6060
steps:
61-
- uses: actions/checkout@v3
62-
- name: Set up Python 3.11
61+
- uses: actions/checkout@v4
62+
- name: Set up Python 3.12
6363
if: startsWith(github.event.ref, 'refs/tags')
64-
uses: actions/setup-python@v4
64+
uses: actions/setup-python@v5
6565
with:
66-
python-version: 3.11
66+
python-version: 3.12
6767
- name: Build Package
6868
if: startsWith(github.event.ref, 'refs/tags')
6969
run: |

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ print(cf.red('你好'))
7979

8080
## Usage
8181

82-
**colorful** supports all major Python versions: *3.5*, *3.6* and *3.7*, *3.8*, *3.9*, *3.10*, *3.11*. <br>
82+
**colorful** supports all major Python versions: *3.5*, *3.6* and *3.7*, *3.8*, *3.9*, *3.10*, *3.11*, *3.12*. <br>
8383
We recommend to use the latest version released on [PyPI](https://pypi.python.org/pypi/colorful):
8484

8585
```bash

‎setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ def read_version():
101101
'Programming Language :: Python :: 3.9',
102102
'Programming Language :: Python :: 3.10',
103103
'Programming Language :: Python :: 3.11',
104+
'Programming Language :: Python :: 3.12',
104105
'Programming Language :: Python :: Implementation',
105106
'Programming Language :: Python :: Implementation :: CPython',
106107
'Programming Language :: Python :: Implementation :: PyPy'

‎tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = flake8,pypy,py35,py36,py37,py38,py39,py310,py311
2+
envlist = flake8,pypy,py35,py36,py37,py38,py39,py310,py311,py312
33
skip_missing_interpreters = True
44

55
[testenv]

0 commit comments

Comments
 (0)
Please sign in to comment.