зеркало из https://github.com/microsoft/debugpy.git
Don't build or test on Python 3.7
This commit is contained in:
Родитель
cbd0c2a1c1
Коммит
4a03787784
|
@ -61,8 +61,6 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
py37:
|
||||
python.version: "3.7"
|
||||
py38:
|
||||
python.version: "3.8"
|
||||
py39:
|
||||
|
@ -91,8 +89,6 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
py37:
|
||||
python.version: "3.7"
|
||||
py38:
|
||||
python.version: "3.8"
|
||||
py39:
|
||||
|
@ -121,8 +117,6 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
py37:
|
||||
python.version: "3.7"
|
||||
py38:
|
||||
python.version: "3.8"
|
||||
py39:
|
||||
|
|
|
@ -2,13 +2,6 @@ steps:
|
|||
- script: "python -m pip install tox"
|
||||
displayName: "Setup Python packages"
|
||||
|
||||
# tox will automatically install the most recent version of setuptools to build the package.
|
||||
# However, for Python 3.7, we want an older version of setuptools to avoid DeprecationWarning
|
||||
# for pkg_resources getting triggered by test_gevent.
|
||||
- script: 'python -m pip install -U "setuptools<66"'
|
||||
displayName: "Install setuptools"
|
||||
condition: eq(variables['python.version'], '3.7')
|
||||
|
||||
- pwsh: |
|
||||
$toxEnv = '$(python.version)'
|
||||
if (-not $toxEnv.startsWith('pypy')) {
|
||||
|
|
|
@ -14,7 +14,7 @@ exclude = '''
|
|||
'''
|
||||
|
||||
[tool.pyright]
|
||||
pythonVersion = "3.7"
|
||||
pythonVersion = "3.8"
|
||||
include = ["src/**", "tests/**" ]
|
||||
extraPaths = ["src/debugpy/_vendored/pydevd"]
|
||||
ignore = ["src/debugpy/_vendored/pydevd", "src/debugpy/_version.py"]
|
||||
|
|
4
setup.py
4
setup.py
|
@ -162,13 +162,13 @@ if __name__ == "__main__":
|
|||
project_urls={
|
||||
"Source": "https://github.com/microsoft/debugpy",
|
||||
},
|
||||
python_requires=">=3.7",
|
||||
python_requires=">=3.8",
|
||||
classifiers=[
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Topic :: Software Development :: Debuggers",
|
||||
"Operating System :: Microsoft :: Windows",
|
||||
"Operating System :: MacOS",
|
||||
|
|
10
tox.ini
10
tox.ini
|
@ -1,15 +1,13 @@
|
|||
[tox]
|
||||
envlist = py{37,38,39,310,311,312}{,-cov}
|
||||
envlist = py{38,39,310,311,312}{,-cov}
|
||||
|
||||
[testenv]
|
||||
deps =
|
||||
-rtests/requirements.txt
|
||||
py37{,-cov}: setuptools<66
|
||||
deps = -rtests/requirements.txt
|
||||
passenv = DEBUGPY_LOG_DIR,DEBUGPY_TESTS_FULL
|
||||
setenv =
|
||||
DEBUGPY_TEST=1
|
||||
commands =
|
||||
py{37,38,39}-!cov: python -m pytest {posargs}
|
||||
py{37,38,39}-cov: python -m pytest --cov --cov-append --cov-config=.coveragerc {posargs}
|
||||
py{38,39}-!cov: python -m pytest {posargs}
|
||||
py{38,39}-cov: python -m pytest --cov --cov-append --cov-config=.coveragerc {posargs}
|
||||
py{310,311,312}-!cov: python -Xfrozen_modules=off -m pytest {posargs}
|
||||
py{310,311,312}-cov: python -Xfrozen_modules=off -m pytest --cov --cov-append --cov-config=.coveragerc {posargs}
|
||||
|
|
Загрузка…
Ссылка в новой задаче