Drop Python 2.6 support

This commit is contained in:
Andreas Klöckner 2019-05-29 02:08:18 +02:00
parent 2939e64287
commit c490f07260
4 changed files with 1 additions and 39 deletions

View File

@ -1,19 +1,3 @@
Python 2.6:
script:
- py_version=2.6
- curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project.sh
- export REQUIREMENTS_TXT=requirements.dev-2.6.txt
- export EXTRA_INSTALL="numpy<1.12"
- ". ./build-and-test-py-project.sh"
tags:
- python2.6
- linux
except:
- tags
artifacts:
reports:
junit: test/pytest.xml
Python 2.7:
script:
- py_version=2.7

View File

@ -1,19 +1,12 @@
language: python
python:
- "2.6"
- "2.7"
- "3.5"
- "3.6"
# command to install dependencies
install:
- |
PY_VER=$(python -c 'import sys; sys.stdout.write("%d.%d" % sys.version_info[:2])') ; \
if test "$PY_VER" = "2.6"; then \
pip install -r requirements.dev-2.6.txt; \
else \
pip install -r requirements.dev.txt; \
fi
- pip install -r requirements.dev.txt
- "pip install -e ."
# command to run tests

View File

@ -1,14 +0,0 @@
# required by codecov. requests 2.20 dropped 2.6 support
requests<2.20
codecov==2.0.5
coverage==4.3.4
pbr==2.0.0
py==1.4.33
Pygments==2.2.0
pytest==3.0.7
pytest-cov==2.4.0
pytest-mock==1.6.0
six==1.10.0
urwid==1.3.1

View File

@ -41,7 +41,6 @@ setup(name='pudb',
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",