Skip to content

Commit 29aadfe

Browse files
authored
Merge pull request #131 from christianbundy/christian/python-3.10
Add Python 3.10 to CI
2 parents bfebdf9 + 25a19ef commit 29aadfe

File tree

4 files changed

+35
-9
lines changed

4 files changed

+35
-9
lines changed

.manylinux-install.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ for PYBIN in /opt/python/*/bin; do
88
if [[ "${PYBIN}" == *"cp27"* ]] || \
99
[[ "${PYBIN}" == *"cp36"* ]] || \
1010
[[ "${PYBIN}" == *"cp37"* ]] || \
11-
[[ "${PYBIN}" == *"cp38"* ]];
11+
[[ "${PYBIN}" == *"cp38"* ]] || \
12+
[[ "${PYBIN}" == *"cp39"* ]];
13+
[[ "${PYBIN}" == *"cp310"* ]];
1214
then
1315
"${PYBIN}/pip" install tox
1416
"${PYBIN}/pip" install -U cython
@@ -29,7 +31,9 @@ for PYBIN in /opt/python/*/bin; do
2931
if [[ "${PYBIN}" == *"cp27"* ]] || \
3032
[[ "${PYBIN}" == *"cp36"* ]] || \
3133
[[ "${PYBIN}" == *"cp37"* ]] || \
32-
[[ "${PYBIN}" == *"cp38"* ]];
34+
[[ "${PYBIN}" == *"cp38"* ]] || \
35+
[[ "${PYBIN}" == *"cp39"* ]];
36+
[[ "${PYBIN}" == *"cp310* ]];
3337
then
3438
"${PYBIN}/pip" uninstall -y python-crfsuite
3539
"${PYBIN}/pip" install python-crfsuite --no-index -f /io/wheelhouse

.travis.yml

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
language: python
22
matrix:
33
include:
4+
- os: linux
5+
python: '3.10'
6+
env: TOXENV=py10
7+
- os: linux
8+
python: 3.9
9+
env: TOXENV=py39
410
- os: linux
511
python: 3.8
612
env: TOXENV=py38
@@ -13,24 +19,34 @@ matrix:
1319
- os: linux
1420
python: 2.7
1521
env: TOXENV=py27
22+
- os: osx
23+
language: generic
24+
env:
25+
- PYTHON='3.10.0'
26+
- TOXENV=py310
27+
- os: osx
28+
language: generic
29+
env:
30+
- PYTHON='3.9.0'
31+
- TOXENV=py39
1632
- os: osx
1733
language: generic
1834
env:
1935
- PYTHON='3.8.2'
2036
- TOXENV=py38
2137
- os: osx
2238
language: generic
23-
env:
39+
env:
2440
- PYTHON='3.7.7'
25-
- TOXENV=py37
41+
- TOXENV=py37
2642
- os: osx
2743
language: generic
28-
env:
44+
env:
2945
- PYTHON='3.6.2'
3046
- TOXENV=py36
3147
- os: osx
3248
language: generic
33-
env:
49+
env:
3450
- PYTHON='2.7.13'
3551
- TOXENV=py27
3652
- sudo: required
@@ -91,7 +107,7 @@ script:
91107
- tox
92108

93109
after_success:
94-
- pip install wheel twine
110+
- pip install wheel twine
95111
- if [[ $TRAVIS_TAG && "$TRAVIS_OS_NAME" == "osx" ]]; then
96112
python -W ignore setup.py bdist_wheel;
97113
twine upload dist/*;

appveyor.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,14 @@ environment:
88
- python : 27-x64
99
- python : 36
1010
- python : 36-x64
11-
- python : 37
12-
- python : 37-x64
11+
- python : 37
12+
- python : 37-x64
1313
- python : 38
1414
- python : 38-x64
15+
- python : 39
16+
- python : 39-x64
17+
- python : 310
18+
- python : 310-x64
1519

1620
install:
1721
- "SET PATH=C:\\Python%PYTHON%;c:\\Python%PYTHON%\\scripts;%PATH%"

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ def c_compile(obj, src, ext, cc_args, extra_postargs, pp_opts):
6868
"Programming Language :: Python :: 3.6",
6969
"Programming Language :: Python :: 3.7",
7070
"Programming Language :: Python :: 3.8",
71+
"Programming Language :: Python :: 3.9",
72+
"Programming Language :: Python :: 3.10",
7173
"Topic :: Software Development",
7274
"Topic :: Software Development :: Libraries :: Python Modules",
7375
"Topic :: Scientific/Engineering",

0 commit comments

Comments
 (0)