From 91a208133aee17ae28c0d6a06031d30966259d661a73a728c4bdc017a7b82198 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 5 Dec 2023 17:16:52 +0000 Subject: [PATCH] - remove python 3.6 support as the version update to 1.8.0 dropped it - Update to version 1.6.3 * Look for the correct pthread library. - enable testsuite (multibuild) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-debugpy?expand=0&rev=26 --- python-debugpy.changes | 12 +++++++++--- python-debugpy.spec | 18 +++++++----------- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/python-debugpy.changes b/python-debugpy.changes index 0f959ac..5ddb0c8 100644 --- a/python-debugpy.changes +++ b/python-debugpy.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Dec 5 17:14:47 UTC 2023 - Dirk Müller + +- remove python 3.6 support as the version update to 1.8.0 dropped + it + ------------------------------------------------------------------- Mon Nov 20 09:17:20 UTC 2023 - Daniel Garcia @@ -57,7 +63,7 @@ Thu Dec 1 11:18:40 UTC 2022 - Daniel Garcia ------------------------------------------------------------------- Wed Oct 12 03:02:27 UTC 2022 - Yogalakshmi Arunachalam -- Update to version 1.6.3 +- Update to version 1.6.3 Fixes: #869, #973, #987, #995, #1008 Improvements: #951, #1001 @@ -78,7 +84,7 @@ Mon Dec 20 23:00:44 UTC 2021 - Ben Greiner Thu Sep 2 09:01:19 UTC 2021 - Steve Kowalik - Add correct-pthread-library-name.patch: - * Look for the correct pthread library. + * Look for the correct pthread library. ------------------------------------------------------------------- Tue Jun 29 13:04:38 UTC 2021 - Ben Greiner @@ -86,7 +92,7 @@ Tue Jun 29 13:04:38 UTC 2021 - Ben Greiner - Update to 1.3.0 * no release notes. - new requirement for ipykernel 6 -- enable testsuite (multibuild) +- enable testsuite (multibuild) - defer debundling pydevd - add pydevd-openSUSE-attach-autoarch.patch for support of non-intel architectures when injecting the debug library diff --git a/python-debugpy.spec b/python-debugpy.spec index 946fb4c..216c8c2 100644 --- a/python-debugpy.spec +++ b/python-debugpy.spec @@ -25,12 +25,8 @@ %define psuffix %{nil} %bcond_with test %endif -# Python 2 and 3.6 are officially supported, but debugpy is in openSUSE for ipykernel 6 which is for Python >= 3.7. -# Skip Py2 in Leap and Py36 in TW in order to save resources. -%define skip_python2 1 -%define skip_python36 1 -%define modname debugpy -Name: python-%{modname}%{psuffix} +%{?sle15_python_module_pythons} +Name: python-debugpy%{psuffix} Version: 1.8.0 Release: 0 Summary: An implementation of the Debug Adapter Protocol for Python @@ -38,15 +34,15 @@ License: MIT URL: https://github.com/microsoft/debugpy/ Source: https://github.com/microsoft/debugpy/archive/v%{version}.tar.gz#/debugpy-%{version}.tar.gz BuildRequires: %{python_module Cython} -BuildRequires: %{python_module devel} +BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: python-rpm-macros %if %{with test} -BuildRequires: %{python_module %{modname} = %{version}} BuildRequires: %{python_module Django} BuildRequires: %{python_module Flask} +BuildRequires: %{python_module debugpy = %{version}} BuildRequires: %{python_module gevent} BuildRequires: %{python_module greenlet} BuildRequires: %{python_module psutil} @@ -62,7 +58,7 @@ BuildRequires: gdb debugpy is an implementation of the Debug Adapter Protocol for Python. %prep -%autosetup -p1 -n %{modname}-%{version} +%autosetup -p1 -n debugpy-%{version} # don't remove vendored pydevd: upstream's intention is to always bundle it. Development happens in debugpy anyway @@ -129,8 +125,8 @@ donttest="$donttest or test_attach_pid_client" %if ! %{with test} %files %{python_files} -%{python_sitearch}/%{modname} -%{python_sitearch}/%{modname}-%{version}*-info +%{python_sitearch}/debugpy +%{python_sitearch}/debugpy-%{version}*-info %endif %changelog