Skip to content

Commit

Permalink
Updated supported versions of Python
Browse files Browse the repository at this point in the history
- dropped obsolete versions like py26, py33, py34
- added newer releases py37, py38
- fixed broken test on py37+
  • Loading branch information
ssbarnea committed Nov 25, 2019
1 parent 858adf0 commit 29b2cf4
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,2 +1,3 @@
__pycache__/
*.py[co]
.tox
9 changes: 4 additions & 5 deletions .travis.yml
Expand Up @@ -4,14 +4,13 @@ os:
language: python

python:
- 2.6
- 2.7
- pypy
- 3.3
- 3.4
- 3.5
- 3.6
- pypy-5.3.1
- 3.7
- 3.8
- pypy
- pypy3.5

before_script:
- pip install -r requirements-dev.txt
Expand Down
7 changes: 2 additions & 5 deletions setup.py
Expand Up @@ -39,15 +39,12 @@ def read(*parts):
"License :: OSI Approved :: MIT License",
"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.1",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Build Tools",
Expand Down
1 change: 1 addition & 0 deletions test.py
Expand Up @@ -511,6 +511,7 @@ def test_environment(self):
osx_cruft = [
"__CF_USER_TEXT_ENCODING",
"__PYVENV_LAUNCHER__",
"LC_CTYPE",
"VERSIONER_PYTHON_PREFER_32_BIT",
"VERSIONER_PYTHON_VERSION",
]
Expand Down
12 changes: 12 additions & 0 deletions tox.ini
@@ -0,0 +1,12 @@
[tox]
envlist = py{27,35,36,37,38},docs

[testenv]
deps = -r requirements-dev.txt
commands =
python sh.py travis

[testenv:docs]
basepython = python3
commands =
python setup.py check --restructuredtext --metadata --strict

0 comments on commit 29b2cf4

Please sign in to comment.