Skip to content

Commit

Permalink
Merge pull request #54 from timofurrer/chore/update-py312
Browse files Browse the repository at this point in the history
Update Python 3.12
  • Loading branch information
fliiiix committed Jan 7, 2024
2 parents e4fc008 + 03162ce commit 4a1a71d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ jobs:
fail-fast: false
max-parallel: 8
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", 3.11]
python-version: [3.7, 3.8, 3.9, "3.10", 3.11, 3.12]
os: [ubuntu-latest, windows-latest, macOS-latest]
include:
- os: ubuntu-18.04
- os: ubuntu-20.04
python-version: 3.5
- os: ubuntu-18.04
- os: ubuntu-20.04
python-version: 3.6

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Setup build and test environment
Expand Down Expand Up @@ -58,12 +58,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
- uses: actions/checkout@v4
- name: Set up Python 3.12
if: startsWith(github.event.ref, 'refs/tags')
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.12
- name: Build Package
if: startsWith(github.event.ref, 'refs/tags')
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ print(cf.red('你好'))

## Usage

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

```bash
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def read_version():
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: Implementation',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy'
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = flake8,pypy,py35,py36,py37,py38,py39,py310,py311
envlist = flake8,pypy,py35,py36,py37,py38,py39,py310,py311,py312
skip_missing_interpreters = True

[testenv]
Expand Down

0 comments on commit 4a1a71d

Please sign in to comment.