- Update to 1.8.0:

- Error while enumerating installed packages.
  - Drops Python 3.7 support. Please use debugpy v1.7.0 if you
    need to debug Python 3.7.
  - Remove DeprecationWarning: Deprecated call to
    pkg_resources.declare_namespace('pydevd_plugins.extensions')
  - Fix invalid file hashes in RECORD of wheels
  - Support "restart" in "terminated" event for "attach"{"listen"}
  - Use "startDebugging" request for subprocesses
- Remove upstreamed patch setuptools-67.3.0.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-debugpy?expand=0&rev=21
This commit is contained in:
Matej Cepl 2023-11-17 17:57:30 +00:00 committed by Git OBS Bridge
parent 92ca21dd6b
commit 63a3d9acfd
5 changed files with 18 additions and 30 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1a510cf760e1eea7a9d4929b6074ba5c082c05d08ddb068309e4b5fb2bedef97
size 6942479

BIN
debugpy-1.8.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Nov 17 17:44:21 UTC 2023 - Matej Cepl <mcepl@cepl.eu>
- Update to 1.8.0:
- Error while enumerating installed packages.
- Drops Python 3.7 support. Please use debugpy v1.7.0 if you
need to debug Python 3.7.
- Remove DeprecationWarning: Deprecated call to
pkg_resources.declare_namespace('pydevd_plugins.extensions')
- Fix invalid file hashes in RECORD of wheels
- Support "restart" in "terminated" event for "attach"{"listen"}
- Use "startDebugging" request for subprocesses
- Remove upstreamed patch setuptools-67.3.0.patch.
-------------------------------------------------------------------
Fri May 19 09:32:55 UTC 2023 - Jiri Srain <jsrain@suse.com>

View File

@ -31,14 +31,12 @@
%define skip_python36 1
%define modname debugpy
Name: python-%{modname}%{psuffix}
Version: 1.6.6
Version: 1.8.0
Release: 0
Summary: An implementation of the Debug Adapter Protocol for Python
License: MIT
URL: https://github.com/microsoft/debugpy/
Source: https://github.com/microsoft/debugpy/archive/v%{version}.tar.gz#/debugpy-%{version}.tar.gz
# PATCH-FIX-UPSTREAM setuptools-67.3.0.patch (gh#microsoft/debugpy#1230, gh#microsoft/debugpy@35504f83ed80)
Patch1: setuptools-67.3.0.patch
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}

View File

@ -1,24 +0,0 @@
From 35504f83ed807fa9eddcacf940da4e35e7688d78 Mon Sep 17 00:00:00 2001
From: Pavel Minaev <pminaev@microsoft.com>
Date: Tue, 7 Mar 2023 10:34:59 -0800
Subject: [PATCH] Work around #1230
Look for more specific text in the output to avoid false positives.
---
tests/debugpy/test_run.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
Index: debugpy-1.6.6/tests/debugpy/test_run.py
===================================================================
--- debugpy-1.6.6.orig/tests/debugpy/test_run.py
+++ debugpy-1.6.6/tests/debugpy/test_run.py
@@ -89,8 +89,7 @@ def test_run_relative_path(pyfile, run):
with open(pydevd_debug_file, "r") as stream:
contents = stream.read()
- assert "critical" not in contents
- assert "Traceback" not in contents
+ assert "FileNotFound" not in contents
@pytest.mark.parametrize("run", runners.all_launch)