Skip to content

Commit

Permalink
test python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
mozillazg committed Nov 13, 2022
1 parent 9f89018 commit ce445c5
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 11 deletions.
24 changes: 16 additions & 8 deletions .circleci/config.yml
Expand Up @@ -6,7 +6,7 @@ version: 2
jobs:
python3.8: &DEFAULT
docker:
- image: circleci/python:3.8
- image: cimg/python:3.8

environment:
TOX_ENV: py38
Expand Down Expand Up @@ -77,52 +77,59 @@ jobs:
path: test-reports
destination: test-reports

python3.11:
<<: *DEFAULT
docker:
- image: cimg/python:3.11
environment:
TOX_ENV: py311

python3.10:
<<: *DEFAULT
docker:
- image: circleci/python:3.10
- image: cimg/python:3.10
environment:
TOX_ENV: py310

python3.9:
<<: *DEFAULT
docker:
- image: circleci/python:3.9
- image: cimg/python:3.9
environment:
TOX_ENV: py39

python3.7:
<<: *DEFAULT
docker:
- image: circleci/python:3.7
- image: cimg/python:3.7
environment:
TOX_ENV: py37

python3.6:
<<: *DEFAULT
docker:
- image: circleci/python:3.6
- image: cimg/python:3.6
environment:
TOX_ENV: py36

python3.5:
<<: *DEFAULT
docker:
- image: circleci/python:3.5
- image: cimg/python:3.5
environment:
TOX_ENV: py35

python3.4:
<<: *DEFAULT
docker:
- image: circleci/python:3.4
- image: cimg/python:3.4
environment:
TOX_ENV: py34

python2.7:
<<: *DEFAULT
docker:
- image: circleci/python:2.7
- image: cimg/python:2.7
environment:
TOX_ENV: py27

Expand Down Expand Up @@ -152,6 +159,7 @@ workflows:
version: 2
testing:
jobs:
- python3.11
- python3.10
- python3.9
- python3.8
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -14,7 +14,7 @@ jobs:
os: [windows-2019]
# python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
python-version: [3.9]
tox-env: [py27, py36, py37, py38, py39, py310]
tox-env: [py27, py36, py37, py38, py39, py310, py311]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -12,7 +12,7 @@
* GitHub: https://github.com/mozillazg/python-pinyin
* License: MIT license
* PyPI: https://pypi.org/project/pypinyin
* Python version: 2.7, pypy, pypy3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10
* Python version: 2.7, pypy, pypy3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11

.. contents::

Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -93,6 +93,7 @@ def long_description():
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Utilities',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py26, py27, py33, py34, py35, py36, py37, py38, py39, py310, pypy, pypy3
envlist = py26, py27, py33, py34, py35, py36, py37, py38, py39, py310, py311, pypy, pypy3

[base]
deps =
Expand Down

0 comments on commit ce445c5

Please sign in to comment.