Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-debugpy for openSUSE:Factory checked in at 2025-10-14 18:05:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-debugpy (Old) and /work/SRC/openSUSE:Factory/.python-debugpy.new.18484 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-debugpy" Tue Oct 14 18:05:52 2025 rev:22 rq:1311040 version:1.8.17 Changes: -------- --- /work/SRC/openSUSE:Factory/python-debugpy/python-debugpy.changes 2025-09-23 16:05:56.284233923 +0200 +++ /work/SRC/openSUSE:Factory/.python-debugpy.new.18484/python-debugpy.changes 2025-10-14 18:06:09.093285238 +0200 @@ -1,0 +2,6 @@ +Mon Oct 13 09:15:54 UTC 2025 - Dirk Müller <[email protected]> + +- update to 1.8.17: + * py3.14 support + +------------------------------------------------------------------- Old: ---- debugpy-1.8.16.tar.gz New: ---- debugpy-1.8.17.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-debugpy.spec ++++++ --- /var/tmp/diff_new_pack.VCN2cJ/_old 2025-10-14 18:06:09.965321859 +0200 +++ /var/tmp/diff_new_pack.VCN2cJ/_new 2025-10-14 18:06:09.969322028 +0200 @@ -27,7 +27,7 @@ %endif %{?sle15_python_module_pythons} Name: python-debugpy%{psuffix} -Version: 1.8.16 +Version: 1.8.17 Release: 0 Summary: An implementation of the Debug Adapter Protocol for Python License: MIT ++++++ debugpy-1.8.16.tar.gz -> debugpy-1.8.17.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debugpy-1.8.16/CONTRIBUTING.md new/debugpy-1.8.17/CONTRIBUTING.md --- old/debugpy-1.8.16/CONTRIBUTING.md 2025-08-05 20:08:32.000000000 +0200 +++ new/debugpy-1.8.17/CONTRIBUTING.md 2025-09-05 18:14:53.000000000 +0200 @@ -114,7 +114,7 @@ You might need to regenerate the Cython modules after any changes. This can be done by: -- Install Python latest (3.12 as of this writing) +- Install Python latest (3.14 as of this writing) - pip install cython 'django>=1.9' 'setuptools>=0.9' 'wheel>0.21' twine - On a windows machine: - set FORCE_PYDEVD_VC_VARS=C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvars64.bat diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debugpy-1.8.16/azure-pipelines/pipelines.yaml new/debugpy-1.8.17/azure-pipelines/pipelines.yaml --- old/debugpy-1.8.16/azure-pipelines/pipelines.yaml 2025-08-05 20:08:32.000000000 +0200 +++ new/debugpy-1.8.17/azure-pipelines/pipelines.yaml 2025-09-05 18:14:53.000000000 +0200 @@ -135,6 +135,8 @@ python.version: 3.12 py313: python.version: 3.13 + py314: + python.version: 3.14.0-rc.2 steps: @@ -178,6 +180,8 @@ python.version: 3.12 py313: python.version: 3.13 + py314: + python.version: 3.14.0-rc.2 steps: @@ -224,6 +228,8 @@ python.version: 3.12 py313: python.version: 3.13 + py314: + python.version: 3.14.0-rc.2 steps: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debugpy-1.8.16/azure-pipelines/templates/run_tests.yml new/debugpy-1.8.17/azure-pipelines/templates/run_tests.yml --- old/debugpy-1.8.16/azure-pipelines/templates/run_tests.yml 2025-08-05 20:08:32.000000000 +0200 +++ new/debugpy-1.8.17/azure-pipelines/templates/run_tests.yml 2025-09-05 18:14:53.000000000 +0200 @@ -3,11 +3,19 @@ displayName: Setup Python packages - pwsh: | - $toxEnv = '$(python.version)' - if (-not $toxEnv.startsWith('pypy')) { - $toxEnv = 'py' + $toxEnv.Replace('.', '') + $raw = '$(python.version)' + if ($raw.StartsWith('pypy')) { + # For PyPy keep original pattern stripping dots after first two numeric components if needed later. + $toxEnv = 'py' + ($raw -replace '^pypy(\d+)\.(\d+).*$','$1$2') } - echo 'tox environment: $toxEnv' + else { + # Extract major.minor even from prerelease like 3.14.0-rc.2 -> 3.14 + $mm = [regex]::Match($raw,'^(\d+)\.(\d+)') + if (-not $mm.Success) { throw "Unable to parse python.version '$raw'" } + $toxEnv = 'py' + $mm.Groups[1].Value + $mm.Groups[2].Value + } + Write-Host "python.version raw: $raw" + Write-Host "Derived tox environment: $toxEnv" python -m tox -e $toxEnv -- --junitxml=$(Build.ArtifactStagingDirectory)/tests.xml --debugpy-log-dir=$(Build.ArtifactStagingDirectory)/logs tests displayName: Run tests using tox env: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debugpy-1.8.16/azure-pipelines/templates/use_python.yml new/debugpy-1.8.17/azure-pipelines/templates/use_python.yml --- old/debugpy-1.8.16/azure-pipelines/templates/use_python.yml 2025-08-05 20:08:32.000000000 +0200 +++ new/debugpy-1.8.17/azure-pipelines/templates/use_python.yml 2025-09-05 18:14:53.000000000 +0200 @@ -3,4 +3,5 @@ inputs: versionSpec: $(python.version) architecture: $(architecture) + allowUnstable: true displayName: Use Python $(python.version) $(architecture) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debugpy-1.8.16/setup.py new/debugpy-1.8.17/setup.py --- old/debugpy-1.8.16/setup.py 2025-08-05 20:08:32.000000000 +0200 +++ new/debugpy-1.8.17/setup.py 2025-09-05 18:14:53.000000000 +0200 @@ -78,14 +78,12 @@ "Compiling pydevd Cython extension modules (set SKIP_CYTHON_BUILD=1 to omit)." ) try: - subprocess.check_call( - [ - sys.executable, - os.path.join(PYDEVD_ROOT, "setup_pydevd_cython.py"), - "build_ext", - "--inplace", - ] - ) + subprocess.check_call([ + sys.executable, + os.path.join(PYDEVD_ROOT, "setup_pydevd_cython.py"), + "build_ext", + "--inplace", + ]) except subprocess.SubprocessError: # pydevd Cython extensions are optional performance enhancements, and debugpy is # usable without them. Thus, we want to ignore build errors here by default, so @@ -170,6 +168,8 @@ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Topic :: Software Development :: Debuggers", "Operating System :: Microsoft :: Windows", "Operating System :: MacOS", @@ -202,5 +202,5 @@ "debugpy-adapter = debugpy.adapter.__main__:main", ], }, - **extras + **extras, ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debugpy-1.8.16/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_filtering.py new/debugpy-1.8.17/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_filtering.py --- old/debugpy-1.8.16/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_filtering.py 2025-08-05 20:08:32.000000000 +0200 +++ new/debugpy-1.8.17/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_filtering.py 2025-09-05 18:14:53.000000000 +0200 @@ -155,7 +155,8 @@ # Make sure we always get at least the standard library location (based on the `os` and # `threading` modules -- it's a bit weird that it may be different on the ci, but it happens). - roots.append(os.path.dirname(os.__file__)) + if hasattr(os, "__file__"): + roots.append(os.path.dirname(os.__file__)) roots.append(os.path.dirname(threading.__file__)) if IS_PYPY: # On PyPy 3.6 (7.3.1) it wrongly says that sysconfig.get_path('stdlib') is diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debugpy-1.8.16/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_version.hpp new/debugpy-1.8.17/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_version.hpp --- old/debugpy-1.8.16/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_version.hpp 2025-08-05 20:08:32.000000000 +0200 +++ new/debugpy-1.8.17/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_version.hpp 2025-09-05 18:14:53.000000000 +0200 @@ -24,6 +24,7 @@ PythonVersion_311 = 0x030B, PythonVersion_312 = 0x030C, PythonVersion_313 = 0x030D, + PythonVersion_314 = 0x030E, }; @@ -78,6 +79,9 @@ if(version[3] == '3'){ return PythonVersion_313; } + if(version[3] == '4'){ + return PythonVersion_314; + } } return PythonVersion_Unknown; // we don't care about 3.1 anymore... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debugpy-1.8.16/src/debugpy/_vendored/pydevd/pydevd_file_utils.py new/debugpy-1.8.17/src/debugpy/_vendored/pydevd/pydevd_file_utils.py --- old/debugpy-1.8.16/src/debugpy/_vendored/pydevd/pydevd_file_utils.py 2025-08-05 20:08:32.000000000 +0200 +++ new/debugpy-1.8.17/src/debugpy/_vendored/pydevd/pydevd_file_utils.py 2025-09-05 18:14:53.000000000 +0200 @@ -88,7 +88,14 @@ break if library_dir is None or not os_path_exists(library_dir): - library_dir = os.path.dirname(os.__file__) + if hasattr(os, "__file__"): + # "os" is a frozen import an thus "os.__file__" is not always set. + # See https://github.com/python/cpython/pull/28656 + library_dir = os.path.dirname(os.__file__) + else: + # "threading" is not a frozen import an thus "threading.__file__" is always set. + import threading + library_dir = os.path.dirname(threading.__file__) return library_dir diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debugpy-1.8.16/src/debugpy/_version.py new/debugpy-1.8.17/src/debugpy/_version.py --- old/debugpy-1.8.16/src/debugpy/_version.py 2025-08-05 20:08:32.000000000 +0200 +++ new/debugpy-1.8.17/src/debugpy/_version.py 2025-09-05 18:14:53.000000000 +0200 @@ -25,9 +25,9 @@ # setup.py/versioneer.py will grep for the variable names, so they must # each be defined on a line of their own. _version.py will just call # get_keywords(). - git_refnames = " (tag: v1.8.16)" - git_full = "b00a8129977494bd127dd0bfed22082597762a08" - git_date = "2025-08-05 11:08:32 -0700" + git_refnames = " (tag: v1.8.17)" + git_full = "6cbdf8767e4c88dfaedf3db7b09ce2781496fc51" + git_date = "2025-09-05 09:14:53 -0700" keywords = {"refnames": git_refnames, "full": git_full, "date": git_date} return keywords diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/debugpy-1.8.16/tox.ini new/debugpy-1.8.17/tox.ini --- old/debugpy-1.8.16/tox.ini 2025-08-05 20:08:32.000000000 +0200 +++ new/debugpy-1.8.17/tox.ini 2025-09-05 18:14:53.000000000 +0200 @@ -1,5 +1,5 @@ [tox] -envlist = py{38,39,310,311,312,313}{,-cov} +envlist = py{38,39,310,311,312,313,314}{,-cov} [testenv] deps = -rtests/requirements.txt @@ -10,5 +10,5 @@ commands = 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,313}-!cov: python -Xfrozen_modules=off -m pytest {posargs} - py{310,311,312,313}-cov: python -Xfrozen_modules=off -m pytest --cov --cov-append --cov-config=.coveragerc {posargs} + 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}
