Skip to content

Commit

Permalink
Merge pull request #47 from decaz/py38
Browse files Browse the repository at this point in the history
Support Python 3.8
  • Loading branch information
PyYoshi committed Nov 18, 2019
2 parents 9ec17e0 + 78cdcfe commit 58d0895
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 5 deletions.
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,16 @@ matrix:
env: TOXENV=py37
dist: xenial
sudo: true
- python: '3.8-dev'
- python: 3.8
env: TOXENV=py38
dist: xenial
sudo: true
env: TOXENV=py38
- python: '3.9-dev'
dist: xenial
sudo: true
env: TOXENV=py39
allow_failures:
- python: 3.8-dev
- python: 3.9-dev

before_install:
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
Expand Down
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ CHANGES

- update language models (uchardet)
- add iso8859-2 test but disabled it
- support Python 3.8

2.1.4 (2018-09-27)
------------------
Expand Down
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ environment:
- PYTHON: "C:\\Python35"
- PYTHON: "C:\\Python36"
- PYTHON: "C:\\Python37"
- PYTHON: "C:\\Python38"
- PYTHON: "C:\\Python27-x64"
- PYTHON: "C:\\Python34-x64"
DISTUTILS_USE_SDK: "1"
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python37-x64"
- PYTHON: "C:\\Python38-x64"

install:
- "git submodule update --init --recursive"
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/buildwheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e -x
ARCH=`uname -p`
echo "arch=$ARCH"

for V in cp37-cp37m cp36-cp36m cp35-cp35m cp34-cp34m cp27-cp27m cp27-cp27mu; do
for V in cp38-cp38m cp37-cp37m cp36-cp36m cp35-cp35m cp34-cp34m cp27-cp27m cp27-cp27mu; do
PYBIN=/opt/python/$V/bin
rm -rf build src/cchardet/__pycache__ src/cchardet/*.cpp src/cchardet/*.pyc src/cchardet/*.so src/cchardet.egg-info src/tests/__pycache__ src/tests/*.pyc
$PYBIN/pip install -r requirements-dev.txt
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def read(f):
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
keywords=[
'cython',
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 = py27, py34, py35, py36, py37, py38
envlist = py27, py34, py35, py36, py37, py38, py39

[testenv]
commands =
Expand Down

0 comments on commit 58d0895

Please sign in to comment.