diff --git a/azure-pipelines/pipelines.yaml b/azure-pipelines/pipelines.yaml index c0f61e38..96a8928a 100644 --- a/azure-pipelines/pipelines.yaml +++ b/azure-pipelines/pipelines.yaml @@ -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" diff --git a/setup.py b/setup.py index e7487100..974bb9b5 100644 --- a/setup.py +++ b/setup.py @@ -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", diff --git a/tests/requirements.txt b/tests/requirements.txt index f2aa554a..4857f4bb 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -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 diff --git a/tests/requirements27.txt b/tests/requirements27.txt deleted file mode 100644 index 8881ac32..00000000 --- a/tests/requirements27.txt +++ /dev/null @@ -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 diff --git a/tests/requirements35.txt b/tests/requirements35.txt deleted file mode 100644 index 0cd311ca..00000000 --- a/tests/requirements35.txt +++ /dev/null @@ -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 diff --git a/tox.ini b/tox.ini index 6b1d63ee..acd721f2 100644 --- a/tox.ini +++ b/tox.ini @@ -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} \ No newline at end of file