Support Python 3.9

This commit is contained in:
Marat Sharafutdinov 2020-10-07 12:56:06 +03:00
commit 5fee5cd335
10 changed files with 43 additions and 8 deletions
dockerfiles

View file

@ -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

View file

@ -1,4 +1,4 @@
FROM python:3.8-buster
FROM python:3.9-buster
RUN pip install -U cython chardet nose

View file

@ -1,4 +1,4 @@
FROM python:3.8-slim-buster
FROM python:3.9-slim-buster
ENV BUILD_DEPS gcc g++