Skip to content

Commit 4a03787

Browse files
Pavel Minaevint19h
authored andcommitted
Don't build or test on Python 3.7
1 parent cbd0c2a commit 4a03787

5 files changed

Lines changed: 7 additions & 22 deletions

File tree

azure-pipelines/pipelines.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ jobs:
6161

6262
strategy:
6363
matrix:
64-
py37:
65-
python.version: "3.7"
6664
py38:
6765
python.version: "3.8"
6866
py39:
@@ -91,8 +89,6 @@ jobs:
9189

9290
strategy:
9391
matrix:
94-
py37:
95-
python.version: "3.7"
9692
py38:
9793
python.version: "3.8"
9894
py39:
@@ -121,8 +117,6 @@ jobs:
121117

122118
strategy:
123119
matrix:
124-
py37:
125-
python.version: "3.7"
126120
py38:
127121
python.version: "3.8"
128122
py39:

azure-pipelines/templates/run_tests.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@ steps:
22
- script: "python -m pip install tox"
33
displayName: "Setup Python packages"
44

5-
# tox will automatically install the most recent version of setuptools to build the package.
6-
# However, for Python 3.7, we want an older version of setuptools to avoid DeprecationWarning
7-
# for pkg_resources getting triggered by test_gevent.
8-
- script: 'python -m pip install -U "setuptools<66"'
9-
displayName: "Install setuptools"
10-
condition: eq(variables['python.version'], '3.7')
11-
125
- pwsh: |
136
$toxEnv = '$(python.version)'
147
if (-not $toxEnv.startsWith('pypy')) {

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ exclude = '''
1414
'''
1515

1616
[tool.pyright]
17-
pythonVersion = "3.7"
17+
pythonVersion = "3.8"
1818
include = ["src/**", "tests/**" ]
1919
extraPaths = ["src/debugpy/_vendored/pydevd"]
2020
ignore = ["src/debugpy/_vendored/pydevd", "src/debugpy/_version.py"]

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,13 +162,13 @@ def tail_is(*suffixes):
162162
project_urls={
163163
"Source": "https://github.com/microsoft/debugpy",
164164
},
165-
python_requires=">=3.7",
165+
python_requires=">=3.8",
166166
classifiers=[
167167
"Development Status :: 5 - Production/Stable",
168-
"Programming Language :: Python :: 3.7",
169168
"Programming Language :: Python :: 3.8",
170169
"Programming Language :: Python :: 3.9",
171170
"Programming Language :: Python :: 3.10",
171+
"Programming Language :: Python :: 3.11",
172172
"Topic :: Software Development :: Debuggers",
173173
"Operating System :: Microsoft :: Windows",
174174
"Operating System :: MacOS",

tox.ini

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
[tox]
2-
envlist = py{37,38,39,310,311,312}{,-cov}
2+
envlist = py{38,39,310,311,312}{,-cov}
33

44
[testenv]
5-
deps =
6-
-rtests/requirements.txt
7-
py37{,-cov}: setuptools<66
5+
deps = -rtests/requirements.txt
86
passenv = DEBUGPY_LOG_DIR,DEBUGPY_TESTS_FULL
97
setenv =
108
DEBUGPY_TEST=1
119
commands =
12-
py{37,38,39}-!cov: python -m pytest {posargs}
13-
py{37,38,39}-cov: python -m pytest --cov --cov-append --cov-config=.coveragerc {posargs}
10+
py{38,39}-!cov: python -m pytest {posargs}
11+
py{38,39}-cov: python -m pytest --cov --cov-append --cov-config=.coveragerc {posargs}
1412
py{310,311,312}-!cov: python -Xfrozen_modules=off -m pytest {posargs}
1513
py{310,311,312}-cov: python -Xfrozen_modules=off -m pytest --cov --cov-append --cov-config=.coveragerc {posargs}

0 commit comments

Comments
 (0)