diff --git a/azure-pipelines/pipelines.yaml b/azure-pipelines/pipelines.yaml index 001ce405..5fdef398 100644 --- a/azure-pipelines/pipelines.yaml +++ b/azure-pipelines/pipelines.yaml @@ -134,7 +134,9 @@ stages: py313: python.version: 3.13 py314: - python.version: 3.14.0-rc.2 + python.version: 3.14 + py315: + python.version: 3.15.0-rc.1 steps: @@ -177,7 +179,9 @@ stages: py313: python.version: 3.13 py314: - python.version: 3.14.0-rc.2 + python.version: 3.14 + py315: + python.version: 3.15.0-rc.1 steps: @@ -220,7 +224,9 @@ stages: py313: python.version: 3.13 py314: - python.version: 3.14.0-rc.2 + python.version: 3.14 + py315: + python.version: 3.15.0-rc.1 steps: diff --git a/setup.py b/setup.py index 96fd8c53..4e88d506 100644 --- a/setup.py +++ b/setup.py @@ -168,6 +168,7 @@ def tail_is(*suffixes): "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "Topic :: Software Development :: Debuggers", "Operating System :: Microsoft :: Windows", "Operating System :: MacOS", diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_version.hpp b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_version.hpp index 15c05537..83714090 100644 --- a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_version.hpp +++ b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_version.hpp @@ -25,6 +25,7 @@ enum PythonVersion { PythonVersion_312 = 0x030C, PythonVersion_313 = 0x030D, PythonVersion_314 = 0x030E, + PythonVersion_315 = 0x030F, }; @@ -82,6 +83,9 @@ static PythonVersion GetPythonVersion(void *module) { if(version[3] == '4'){ return PythonVersion_314; } + if(version[3] == '5'){ + return PythonVersion_315; + } } return PythonVersion_Unknown; // we don't care about 3.1 anymore... @@ -99,4 +103,4 @@ static PythonVersion GetPythonVersion(void *module) { return PythonVersion_Unknown; } -#endif \ No newline at end of file +#endif diff --git a/tox.ini b/tox.ini index e53b29f0..8b63ad4a 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{310,311,312,313,314}{,-cov} +envlist = py{310,311,312,313,314,315}{,-cov} [testenv] deps = -rtests/requirements.txt @@ -8,5 +8,5 @@ setenv = DEBUGPY_TEST=1 commands_pre = python build_attach_binaries.py commands = - py{310,311,312,313,314}-!cov: python -Xfrozen_modules=off -m pytest {posargs} - py{310,311,312,313,314}-cov: python -Xfrozen_modules=off -m pytest --cov --cov-append --cov-config=.coveragerc {posargs} + py{310,311,312,313,314,315}-!cov: python -Xfrozen_modules=off -m pytest {posargs} + py{310,311,312,313,314,315}-cov: python -Xfrozen_modules=off -m pytest --cov --cov-append --cov-config=.coveragerc {posargs}