Skip to content

Commit 671a528

Browse files
committed
Drop support for EOL Python 2.7 and 3.5
1 parent 1477356 commit 671a528

4 files changed

Lines changed: 5 additions & 18 deletions

File tree

.travis.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
language: python
22
python:
3+
- '3.9'
34
- '3.8'
4-
- '2.7'
55
- '3.7'
66
- '3.6'
7-
- '3.5'
87
cache: pip
98
install: pip install -U tox setuptools_scm
109
env:
@@ -16,15 +15,6 @@ env:
1615
- TOXENV=py-pytestlatest
1716
- TOXENV=py-pytestmaster
1817
matrix:
19-
exclude:
20-
- python: '2.7' # pytest 5+ does not support Python 2
21-
env: TOXENV=py-pytest54
22-
- python: '2.7' # pytest 5+ does not support Python 2
23-
env: TOXENV=py-pytest60
24-
- python: '2.7' # pytest 5+ does not support Python 2
25-
env: TOXENV=py-pytestmaster
26-
- python: '2.7' # Same as pytest54 for Python 2
27-
env: TOXENV=py-pytestlatest
2818
include:
2919
- python: '3.8'
3020
env: TOXENV=flakes

setup.cfg

Lines changed: 0 additions & 2 deletions
This file was deleted.

setup.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
zip_safe=False,
2222
install_requires=['py', 'pytest>=3.10'],
2323
setup_requires=['setuptools_scm'],
24-
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
24+
python_requires='>=3.6',
2525
classifiers=[
2626
'Development Status :: 7 - Inactive',
2727
'Framework :: Pytest',
@@ -33,12 +33,11 @@
3333
'Topic :: Software Development :: Quality Assurance',
3434
'Topic :: Utilities',
3535
'Programming Language :: Python',
36-
'Programming Language :: Python :: 2',
37-
'Programming Language :: Python :: 2.7',
3836
'Programming Language :: Python :: 3',
39-
'Programming Language :: Python :: 3.5',
4037
'Programming Language :: Python :: 3.6',
4138
'Programming Language :: Python :: 3.7',
4239
'Programming Language :: Python :: 3.8',
40+
'Programming Language :: Python :: 3.9',
41+
'Programming Language :: Python :: 3 :: Only',
4342
],
4443
)

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
minversion = 3.7.0
44
isolated_build = true
55
envlist=
6-
py{27,35,36,37,38}-pytest{310,46,54,latest}
6+
py{36,37,38,39}-pytest{310,46,54,latest}
77
flakes
88
build-dists
99
metadata-validation

0 commit comments

Comments
 (0)