commit
62dd7b37c7
10 changed files with 43 additions and 8 deletions
9
.github/workflows/build-darwin.yml
vendored
9
.github/workflows/build-darwin.yml
vendored
|
@ -12,6 +12,11 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- uses: actions/setup-python@v2
|
||||||
|
name: Install Python 3.9
|
||||||
|
with:
|
||||||
|
python-version: "3.9"
|
||||||
|
|
||||||
- uses: actions/setup-python@v1
|
- uses: actions/setup-python@v1
|
||||||
name: Install Python 3.8
|
name: Install Python 3.8
|
||||||
with:
|
with:
|
||||||
|
@ -46,6 +51,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
pip install -r requirements-dev.txt
|
pip install -r requirements-dev.txt
|
||||||
|
|
||||||
|
- name: Test for Python 3.9
|
||||||
|
run: |
|
||||||
|
tox -e py39
|
||||||
|
|
||||||
- name: Test for Python 3.8
|
- name: Test for Python 3.8
|
||||||
run: |
|
run: |
|
||||||
tox -e py38
|
tox -e py38
|
||||||
|
|
9
.github/workflows/build-linux.yml
vendored
9
.github/workflows/build-linux.yml
vendored
|
@ -12,6 +12,11 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- uses: actions/setup-python@v2
|
||||||
|
name: Install Python 3.9
|
||||||
|
with:
|
||||||
|
python-version: "3.9"
|
||||||
|
|
||||||
- uses: actions/setup-python@v1
|
- uses: actions/setup-python@v1
|
||||||
name: Install Python 3.8
|
name: Install Python 3.8
|
||||||
with:
|
with:
|
||||||
|
@ -46,6 +51,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
pip install -r requirements-dev.txt
|
pip install -r requirements-dev.txt
|
||||||
|
|
||||||
|
- name: Test for Python 3.9
|
||||||
|
run: |
|
||||||
|
tox -e py39
|
||||||
|
|
||||||
- name: Test for Python 3.8
|
- name: Test for Python 3.8
|
||||||
run: |
|
run: |
|
||||||
tox -e py38
|
tox -e py38
|
||||||
|
|
12
.github/workflows/build-windows.yml
vendored
12
.github/workflows/build-windows.yml
vendored
|
@ -18,6 +18,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- uses: actions/setup-python@v2
|
||||||
|
name: Install Python 3.9
|
||||||
|
with:
|
||||||
|
python-version: "3.9"
|
||||||
|
architecture: ${{ matrix.config.py-architecture }}
|
||||||
|
|
||||||
- uses: actions/setup-python@v1
|
- uses: actions/setup-python@v1
|
||||||
name: Install Python 3.8
|
name: Install Python 3.8
|
||||||
with:
|
with:
|
||||||
|
@ -56,6 +62,12 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
pip install -r requirements-dev.txt
|
pip install -r requirements-dev.txt
|
||||||
|
|
||||||
|
- name: Test for Python 3.9
|
||||||
|
shell: cmd
|
||||||
|
run: |
|
||||||
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -no_logo -arch=${{ matrix.config.vs-arch }}
|
||||||
|
tox -e py39
|
||||||
|
|
||||||
- name: Test for Python 3.8
|
- name: Test for Python 3.8
|
||||||
shell: cmd
|
shell: cmd
|
||||||
run: |
|
run: |
|
||||||
|
|
10
.travis.yml
10
.travis.yml
|
@ -18,12 +18,16 @@ matrix:
|
||||||
sudo: true
|
sudo: true
|
||||||
- python: 3.8
|
- python: 3.8
|
||||||
env: TOXENV=py38
|
env: TOXENV=py38
|
||||||
dist: xenial
|
|
||||||
sudo: true
|
|
||||||
- python: 'nightly'
|
|
||||||
dist: bionic
|
dist: bionic
|
||||||
sudo: true
|
sudo: true
|
||||||
|
- python: 3.9
|
||||||
env: TOXENV=py39
|
env: TOXENV=py39
|
||||||
|
dist: focal
|
||||||
|
sudo: true
|
||||||
|
- python: 'nightly'
|
||||||
|
env: TOXENV=py310
|
||||||
|
dist: focal
|
||||||
|
sudo: true
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- python: nightly
|
- python: nightly
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ CHANGES
|
||||||
2.x.x
|
2.x.x
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
- support Python 3.9
|
||||||
|
|
||||||
2.1.6 (2020-03-17)
|
2.1.6 (2020-03-17)
|
||||||
------------------
|
------------------
|
||||||
|
|
|
@ -4,7 +4,7 @@ set -e -x
|
||||||
ARCH=`uname -p`
|
ARCH=`uname -p`
|
||||||
echo "arch=$ARCH"
|
echo "arch=$ARCH"
|
||||||
|
|
||||||
for V in cp38-cp38 cp37-cp37m cp36-cp36m cp35-cp35m; do
|
for V in cp39-cp39 cp38-cp38 cp37-cp37m cp36-cp36m cp35-cp35m; do
|
||||||
PYBIN=/opt/python/$V/bin
|
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
|
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
|
$PYBIN/pip install -r requirements-dev.txt
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM python:3.8-buster
|
FROM python:3.9-buster
|
||||||
|
|
||||||
RUN pip install -U cython chardet nose
|
RUN pip install -U cython chardet nose
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM python:3.8-slim-buster
|
FROM python:3.9-slim-buster
|
||||||
|
|
||||||
ENV BUILD_DEPS gcc g++
|
ENV BUILD_DEPS gcc g++
|
||||||
|
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -133,6 +133,7 @@ setup(
|
||||||
'Programming Language :: Python :: 3.6',
|
'Programming Language :: Python :: 3.6',
|
||||||
'Programming Language :: Python :: 3.7',
|
'Programming Language :: Python :: 3.7',
|
||||||
'Programming Language :: Python :: 3.8',
|
'Programming Language :: Python :: 3.8',
|
||||||
|
'Programming Language :: Python :: 3.9',
|
||||||
],
|
],
|
||||||
keywords=[
|
keywords=[
|
||||||
'cython',
|
'cython',
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -1,5 +1,5 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py35, py36, py37, py38, py39
|
envlist = py35, py36, py37, py38, py39, py310
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
commands =
|
commands =
|
||||||
|
|
Loading…
Reference in a new issue