- 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
This commit is contained in:
Dirk Mueller 2023-12-05 17:16:52 +00:00 committed by Git OBS Bridge
parent d19f9610bd
commit 91a208133a
2 changed files with 16 additions and 14 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Dec 5 17:14:47 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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 <daniel.garcia@suse.com>
@ -57,7 +63,7 @@ Thu Dec 1 11:18:40 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
-------------------------------------------------------------------
Wed Oct 12 03:02:27 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- 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 <code@bnavigator.de>
Thu Sep 2 09:01:19 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- 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 <code@bnavigator.de>
@ -86,7 +92,7 @@ Tue Jun 29 13:04:38 UTC 2021 - Ben Greiner <code@bnavigator.de>
- 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

View File

@ -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