Remove Python 2.7 from supported implementations and update versions of test packages.

This commit is contained in:
Pavel Minaev 2022-02-23 15:40:31 -08:00 committed by Pavel Minaev
parent ecb43b94d2
commit 4f12b1b47f
6 changed files with 5 additions and 61 deletions

View file

@ -37,8 +37,6 @@ jobs:
strategy:
matrix:
py27:
python.version: "2.7"
py35:
python.version: "3.5"
py36:
@ -70,8 +68,6 @@ jobs:
strategy:
matrix:
py27:
python.version: "2.7"
py35:
python.version: "3.5"
py36:
@ -126,8 +122,6 @@ jobs:
strategy:
matrix:
py27:
python.version: "2.7"
py35:
python.version: "3.5"
py36:
@ -140,9 +134,6 @@ jobs:
python.version: "3.9"
py310:
python.version: "3.10"
py27_32:
python.version: "2.7"
architecture: "x86"
py39_32:
python.version: "3.9"
architecture: "x86"

View file

@ -155,10 +155,9 @@ if __name__ == "__main__":
author="Microsoft Corporation",
author_email="ptvshelp@microsoft.com",
url="https://aka.ms/debugpy",
python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*",
python_requires=">=3.5",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",

View file

@ -1,4 +1,4 @@
setuptools>=57.4.0
setuptools
## Used to run the tests:
@ -16,4 +16,4 @@ psutil
django
requests
gevent
flask>=1.1.2
flask

View file

@ -1,21 +0,0 @@
## Used to run the tests:
# pytest>=5 does not support Python 2.7
pytest<5
# pytest-xdist>=2 does not support Python 2.7
pytest-xdist<2
pytest-cov
pytest-timeout
## Used by test helpers:
psutil
## Used in Python code that is run/debugged by the tests:
django
requests
gevent
flask>=1.1.2

View file

@ -1,19 +0,0 @@
setuptools
## Used to run the tests:
pytest
pytest-xdist
pytest-cov
pytest-timeout
## Used by test helpers:
psutil
## Used in Python code that is run/debugged by the tests:
django
requests
gevent
flask>=1.1.2

10
tox.ini
View file

@ -1,5 +1,5 @@
[tox]
envlist = py{27,35,36,37,38,39,310}{,-cov}
envlist = py{35,36,37,38,39,310}{,-cov}
[testenv]
deps = -rtests/requirements.txt
@ -8,10 +8,4 @@ setenv =
DEBUGPY_TEST=1
commands =
!cov: pytest {posargs}
cov: pytest --cov --cov-append --cov-config=.coveragerc {posargs}
[testenv:py27]
deps = -rtests/requirements27.txt
[testenv:py35]
deps = -rtests/requirements35.txt
cov: pytest --cov --cov-append --cov-config=.coveragerc {posargs}