drop support for Python 3.4
https://devguide.python.org/devcycle/#end-of-life-branches
This commit is contained in:
parent
d0cc458de0
commit
1753e9122e
8 changed files with 5 additions and 10 deletions
|
@ -10,8 +10,6 @@ matrix:
|
||||||
include:
|
include:
|
||||||
- python: 2.7
|
- python: 2.7
|
||||||
env: TOXENV=py27
|
env: TOXENV=py27
|
||||||
- python: 3.4
|
|
||||||
env: TOXENV=py34
|
|
||||||
- python: 3.5
|
- python: 3.5
|
||||||
env: TOXENV=py35
|
env: TOXENV=py35
|
||||||
- python: 3.6
|
- python: 3.6
|
||||||
|
|
|
@ -7,6 +7,7 @@ CHANGES
|
||||||
- update language models (uchardet)
|
- update language models (uchardet)
|
||||||
- add iso8859-2 test but disabled it
|
- add iso8859-2 test but disabled it
|
||||||
- support Python 3.8
|
- support Python 3.8
|
||||||
|
- drop support for Python 3.4
|
||||||
|
|
||||||
2.1.4 (2018-09-27)
|
2.1.4 (2018-09-27)
|
||||||
------------------
|
------------------
|
||||||
|
|
|
@ -1,14 +1,11 @@
|
||||||
environment:
|
environment:
|
||||||
matrix:
|
matrix:
|
||||||
- PYTHON: "C:\\Python27"
|
- PYTHON: "C:\\Python27"
|
||||||
- PYTHON: "C:\\Python34"
|
|
||||||
- PYTHON: "C:\\Python35"
|
- PYTHON: "C:\\Python35"
|
||||||
- PYTHON: "C:\\Python36"
|
- PYTHON: "C:\\Python36"
|
||||||
- PYTHON: "C:\\Python37"
|
- PYTHON: "C:\\Python37"
|
||||||
- PYTHON: "C:\\Python38"
|
- PYTHON: "C:\\Python38"
|
||||||
- PYTHON: "C:\\Python27-x64"
|
- PYTHON: "C:\\Python27-x64"
|
||||||
- PYTHON: "C:\\Python34-x64"
|
|
||||||
DISTUTILS_USE_SDK: "1"
|
|
||||||
- PYTHON: "C:\\Python35-x64"
|
- PYTHON: "C:\\Python35-x64"
|
||||||
- PYTHON: "C:\\Python36-x64"
|
- PYTHON: "C:\\Python36-x64"
|
||||||
- PYTHON: "C:\\Python37-x64"
|
- PYTHON: "C:\\Python37-x64"
|
||||||
|
|
|
@ -4,7 +4,7 @@ set -e -x
|
||||||
ARCH=`uname -p`
|
ARCH=`uname -p`
|
||||||
echo "arch=$ARCH"
|
echo "arch=$ARCH"
|
||||||
|
|
||||||
for V in cp38-cp38m cp37-cp37m cp36-cp36m cp35-cp35m cp34-cp34m cp27-cp27m cp27-cp27mu; do
|
for V in cp38-cp38m cp37-cp37m cp36-cp36m cp35-cp35m cp27-cp27m cp27-cp27mu; 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.4-wheezy
|
FROM python:3.8-buster
|
||||||
|
|
||||||
RUN pip install -U cython chardet nose
|
RUN pip install -U cython chardet nose
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM python:3.4-slim
|
FROM python:3.8-slim-buster
|
||||||
|
|
||||||
ENV BUILD_DEPS gcc g++
|
ENV BUILD_DEPS gcc g++
|
||||||
|
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -131,7 +131,6 @@ setup(
|
||||||
'Programming Language :: Python :: 2',
|
'Programming Language :: Python :: 2',
|
||||||
'Programming Language :: Python :: 2.7',
|
'Programming Language :: Python :: 2.7',
|
||||||
'Programming Language :: Python :: 3',
|
'Programming Language :: Python :: 3',
|
||||||
'Programming Language :: Python :: 3.4',
|
|
||||||
'Programming Language :: Python :: 3.5',
|
'Programming Language :: Python :: 3.5',
|
||||||
'Programming Language :: Python :: 3.6',
|
'Programming Language :: Python :: 3.6',
|
||||||
'Programming Language :: Python :: 3.7',
|
'Programming Language :: Python :: 3.7',
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -1,5 +1,5 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py27, py34, py35, py36, py37, py38, py39
|
envlist = py27, py35, py36, py37, py38, py39
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
commands =
|
commands =
|
||||||
|
|
Loading…
Reference in a new issue