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:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: actions/setup-python@v2
|
||||
name: Install Python 3.9
|
||||
with:
|
||||
python-version: "3.9"
|
||||
|
||||
- uses: actions/setup-python@v1
|
||||
name: Install Python 3.8
|
||||
with:
|
||||
|
@ -46,6 +51,10 @@ jobs:
|
|||
run: |
|
||||
pip install -r requirements-dev.txt
|
||||
|
||||
- name: Test for Python 3.9
|
||||
run: |
|
||||
tox -e py39
|
||||
|
||||
- name: Test for Python 3.8
|
||||
run: |
|
||||
tox -e py38
|
||||
|
|
9
.github/workflows/build-linux.yml
vendored
9
.github/workflows/build-linux.yml
vendored
|
@ -12,6 +12,11 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: actions/setup-python@v2
|
||||
name: Install Python 3.9
|
||||
with:
|
||||
python-version: "3.9"
|
||||
|
||||
- uses: actions/setup-python@v1
|
||||
name: Install Python 3.8
|
||||
with:
|
||||
|
@ -46,6 +51,10 @@ jobs:
|
|||
run: |
|
||||
pip install -r requirements-dev.txt
|
||||
|
||||
- name: Test for Python 3.9
|
||||
run: |
|
||||
tox -e py39
|
||||
|
||||
- name: Test for Python 3.8
|
||||
run: |
|
||||
tox -e py38
|
||||
|
|
12
.github/workflows/build-windows.yml
vendored
12
.github/workflows/build-windows.yml
vendored
|
@ -18,6 +18,12 @@ jobs:
|
|||
steps:
|
||||
- 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
|
||||
name: Install Python 3.8
|
||||
with:
|
||||
|
@ -56,6 +62,12 @@ jobs:
|
|||
run: |
|
||||
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
|
||||
shell: cmd
|
||||
run: |
|
||||
|
|
10
.travis.yml
10
.travis.yml
|
@ -18,12 +18,16 @@ matrix:
|
|||
sudo: true
|
||||
- python: 3.8
|
||||
env: TOXENV=py38
|
||||
dist: xenial
|
||||
sudo: true
|
||||
- python: 'nightly'
|
||||
dist: bionic
|
||||
sudo: true
|
||||
- python: 3.9
|
||||
env: TOXENV=py39
|
||||
dist: focal
|
||||
sudo: true
|
||||
- python: 'nightly'
|
||||
env: TOXENV=py310
|
||||
dist: focal
|
||||
sudo: true
|
||||
allow_failures:
|
||||
- python: nightly
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ CHANGES
|
|||
2.x.x
|
||||
-----
|
||||
|
||||
|
||||
- support Python 3.9
|
||||
|
||||
2.1.6 (2020-03-17)
|
||||
------------------
|
||||
|
|
|
@ -4,7 +4,7 @@ set -e -x
|
|||
ARCH=`uname -p`
|
||||
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
|
||||
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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM python:3.8-buster
|
||||
FROM python:3.9-buster
|
||||
|
||||
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++
|
||||
|
||||
|
|
1
setup.py
1
setup.py
|
@ -133,6 +133,7 @@ setup(
|
|||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.8',
|
||||
'Programming Language :: Python :: 3.9',
|
||||
],
|
||||
keywords=[
|
||||
'cython',
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -1,5 +1,5 @@
|
|||
[tox]
|
||||
envlist = py35, py36, py37, py38, py39
|
||||
envlist = py35, py36, py37, py38, py39, py310
|
||||
|
||||
[testenv]
|
||||
commands =
|
||||
|
|
Loading…
Reference in a new issue