Skip to content

Commit

Permalink
drop Python 3.5, add 3.8 (spec-first#1056)
Browse files Browse the repository at this point in the history
* drop Python 3.5, add 3.8

* remove old pypy 2.7 (no longer available on 18.04)
  • Loading branch information
hjacobs committed Oct 18, 2019
1 parent c94fa61 commit c8d8973
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
language: python
python:
- "pypy2.7-5.10.0"
- "2.7"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
install:
- pip install --upgrade setuptools tox tox-travis coveralls
dist:
- xenial
- bionic
script:
- tox
after_success:
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ How to Use
Prerequisites
-------------

Python 2.7 or Python 3.5+
Python 2.7 or Python 3.6+

Installing It
-------------
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ def readme():
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
Expand Down
8 changes: 3 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,20 @@ exclude=connexion/__init__.py

[tox]
envlist =
{pypy}-{min,pypi,dev}
{py27}-{min,pypi,dev}
{py35}-{min,pypi,dev}
{py36}-{min,pypi,dev}
{py37}-{min,pypi,dev}
{py38}-{min,pypi,dev}
isort-check
isort-check-examples
isort-check-tests
flake8

[travis]
pypy=pypy-min,pypy-pypi
2.7=py27-min,py27-pypi
3.5=py35-min,py35-pypi
3.6=py36-min,py36-pypi
3.7=py37-min,py37-pypi,isort-check,isort-check-examples,isort-check-tests,flake8
3.8=py38-min

[testenv]
setenv=PYTHONPATH = {toxinidir}:{toxinidir}
Expand All @@ -32,7 +30,7 @@ commands=
pypi: pip install -r {toxworkdir}/requirements-pypi.txt
dev: requirements-builder --level=dev --req=requirements-devel.txt -o {toxworkdir}/requirements-dev.txt setup.py
dev: pip install -r {toxworkdir}/requirements-dev.txt
py3{5,6,7}: pip install -r requirements-aiohttp.txt
py3{6,7,8}: pip install -r requirements-aiohttp.txt
python setup.py test

[testenv:flake8]
Expand Down

0 comments on commit c8d8973

Please sign in to comment.