Skip to content

Commit c09cbbc

Browse files
authored
Merge pull request #25 from pytest-dev/drop-py2-support/1/dev
Drop support for older Python versions This change set removes support for Python versions prior to 3.5.
2 parents efe5c86 + 44c117b commit c09cbbc

File tree

4 files changed

+6
-13
lines changed

4 files changed

+6
-13
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
matrix:
1212
# Not all Python versions are avalaible for linux AND x64
1313
# https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
14-
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, '3.10']
14+
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, '3.10']
1515
fail-fast: false
1616

1717
steps:

README.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,7 @@ always welcome!::
178178

179179
If you find any bugs, please file a `report`_.
180180

181-
Test can be run with tox. Note that you need virtualenv<1.8 to run tests for
182-
Python 2.4.
181+
Test can be run with tox.
183182

184183
I already have a couple of ideas for future versions:
185184

setup.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def run(self):
4141
url='https://github.com/pytest-dev/pytest-localserver',
4242

4343
packages=['pytest_localserver'],
44-
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*',
44+
python_requires='>=3.5',
4545
install_requires=[
4646
'werkzeug>=0.10'
4747
],
@@ -64,11 +64,8 @@ def run(self):
6464
'Development Status :: 4 - Beta',
6565
'Intended Audience :: Developers',
6666
'License :: OSI Approved :: MIT License',
67-
'Programming Language :: Python :: 2',
68-
'Programming Language :: Python :: 2.7',
6967
'Programming Language :: Python :: 3',
70-
'Programming Language :: Python :: 3.3',
71-
'Programming Language :: Python :: 3.4',
68+
'Programming Language :: Python :: 3 :: Only',
7269
'Programming Language :: Python :: 3.5',
7370
'Programming Language :: Python :: 3.6',
7471
'Programming Language :: Python :: 3.7',

tox.ini

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
[tox]
2-
envlist = py27,py33,py34,py35,py36,py37,py38,py39,py310
2+
envlist = py35,py36,py37,py38,py39,py310
33
recreate = True
44

55
[tox:hudson]
66
downloadcache = {toxworkdir}/_download
77

88
[gh-actions]
99
python =
10-
2.7: py27
11-
3.3: py33
12-
3.4: py34
1310
3.5: py35
1411
3.6: py36
1512
3.7: py37
@@ -29,4 +26,4 @@ deps =
2926
commands =
3027
py.test -v \
3128
--junitxml=junit-{envname}.xml \
32-
{posargs}
29+
{posargs}

0 commit comments

Comments
 (0)