1
0

22 Commits

Author SHA256 Message Date
6b44f367db Accepting request 1282964 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1282964
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-debugpy?expand=0&rev=20
2025-06-10 06:57:10 +00:00
061eca4ca0 - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-debugpy?expand=0&rev=41
2025-06-05 06:05:03 +00:00
61a8bfa47b Accepting request 1273249 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1273249
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-debugpy?expand=0&rev=19
2025-04-30 17:02:33 +00:00
5e921b1d1e - Update to 1.8.14
* fix ResourceWarning: unclosed socket
  * fix binskim warnings on linux

- Update to 1.8.12
  * To simplify command line usage, an debugpy entry point has been 
    added to the debugpy package.
  * To simplify command line usage, switches can now be read from 
    the environment.
  * Consuming PyDev.Debugger's sys.monitoring support to improve 
    performance of debugging 3.12
  * Support for 3.13
  * Multithreading fixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-debugpy?expand=0&rev=39
2025-04-28 19:22:18 +00:00
ab10f414e4 Accepting request 1203878 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1203878
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-debugpy?expand=0&rev=18
2024-09-29 16:09:06 +00:00
7e7d25fe10 - Drop unneeded Django test dependency
- Skip one failing test on aarch64

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-debugpy?expand=0&rev=37
2024-09-26 12:09:55 +00:00
19c3b78bff Accepting request 1184031 from devel:languages:python
- update to 1.8.2:
  * Fixed an issue where ApiScan couldn't scan some of our
    binaries correctly. This involved changing some linker flags
    and re-compiling/re-linking some of the pydevd executables
    and dlls.

OBS-URL: https://build.opensuse.org/request/show/1184031
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-debugpy?expand=0&rev=17
2024-07-01 09:19:22 +00:00
9f83a27c10 Accepting request 1164269 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1164269
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-debugpy?expand=0&rev=16
2024-04-03 15:18:26 +00:00
a53867ef03 Accepting request 1146922 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1146922
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-debugpy?expand=0&rev=15
2024-02-15 19:59:39 +00:00
c15cee8e7a Accepting request 1142263 from devel:languages:python
- Disable broken tests in s390x, bsc#1217019

OBS-URL: https://build.opensuse.org/request/show/1142263
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-debugpy?expand=0&rev=14
2024-01-30 17:23:56 +00:00
2d0bf79304 Accepting request 1131030 from devel:languages:python
- 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/request/show/1131030
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-debugpy?expand=0&rev=13
2023-12-06 22:47:46 +00:00
0613da5e99 Accepting request 1129088 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1129088
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-debugpy?expand=0&rev=12
2023-11-27 21:43:52 +00:00
09f4c4df84 Accepting request 1127362 from devel:languages:python
- 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
- Skip test test_attach_pid_client (gh#microsoft/debugpy#1462)

OBS-URL: https://build.opensuse.org/request/show/1127362
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-debugpy?expand=0&rev=11
2023-11-19 19:15:34 +00:00
4079abeddc Accepting request 1087981 from devel:languages:python
- refresh the tarball from upstream

OBS-URL: https://build.opensuse.org/request/show/1087981
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-debugpy?expand=0&rev=10
2023-05-20 15:23:38 +00:00
0cf8287a9f Accepting request 1072342 from devel:languages:python
- Add setuptools-67.3.0.patch to fix test issues with new setuptools.
  gh#microsoft/debugpy#1230

OBS-URL: https://build.opensuse.org/request/show/1072342
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-debugpy?expand=0&rev=9
2023-03-17 16:01:10 +00:00
a053642134 Accepting request 1062640 from devel:languages:python
- skip more tests for python 3.11

OBS-URL: https://build.opensuse.org/request/show/1062640
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-debugpy?expand=0&rev=8
2023-02-03 21:04:43 +00:00
01a7aa1f99 Accepting request 1060514 from devel:languages:python
- update to v1.6.6:
  * Disable optimization causing issues when debugging Python 3.10 and 3.11.

OBS-URL: https://build.opensuse.org/request/show/1060514
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-debugpy?expand=0&rev=7
2023-01-25 16:42:20 +00:00
aa1e3dc3d7 Accepting request 1059952 from devel:languages:python
- update to v1.6.5:
  * Fixes: #1078, #1129, #1138, #1142, #1146, #1148, #1154

OBS-URL: https://build.opensuse.org/request/show/1059952
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-debugpy?expand=0&rev=6
2023-01-21 18:10:15 +00:00
68e6b241c7 Accepting request 1039300 from devel:languages:python
- Update to version 1.6.4
  Fixes: #985, #1003, #1005, #1018, #1024, #1025, #1030, #1031, #1042, #1064,
         #1081, #1100, #1104, #1111, #1126
  Improvements: #532, #989, #1022, #1056, #1099

OBS-URL: https://build.opensuse.org/request/show/1039300
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-debugpy?expand=0&rev=5
2022-12-02 12:12:07 +00:00
01b56dbdce Accepting request 1010150 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1010150
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-debugpy?expand=0&rev=4
2022-10-14 13:40:27 +00:00
eb540ff452 Accepting request 941846 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/941846
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-debugpy?expand=0&rev=3
2021-12-22 19:17:50 +00:00
66a4ef6319 Accepting request 915711 from devel:languages:python
- Add correct-pthread-library-name.patch:
  * Look for the correct pthread library.

OBS-URL: https://build.opensuse.org/request/show/915711
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-debugpy?expand=0&rev=2
2021-09-04 20:32:09 +00:00
4 changed files with 56 additions and 18 deletions

3
debugpy-1.8.14.tar.gz Normal file
View File

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

BIN
debugpy-1.8.2.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 5 06:01:35 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Mon Apr 28 15:12:46 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Update to 1.8.14
* fix ResourceWarning: unclosed socket
* fix binskim warnings on linux
-------------------------------------------------------------------
Mon Feb 10 15:07:45 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Update to 1.8.12
* To simplify command line usage, an debugpy entry point has been
added to the debugpy package.
* To simplify command line usage, switches can now be read from
the environment.
* Consuming PyDev.Debugger's sys.monitoring support to improve
performance of debugging 3.12
* Support for 3.13
* Multithreading fixes
-------------------------------------------------------------------
Thu Sep 26 10:32:41 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Drop unneeded Django test dependency
- Skip one failing test on aarch64
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jun 29 19:34:29 UTC 2024 - Dirk Müller <dmueller@suse.com> Sat Jun 29 19:34:29 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-debugpy # spec file for package python-debugpy
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -27,7 +27,7 @@
%endif %endif
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-debugpy%{psuffix} Name: python-debugpy%{psuffix}
Version: 1.8.2 Version: 1.8.14
Release: 0 Release: 0
Summary: An implementation of the Debug Adapter Protocol for Python Summary: An implementation of the Debug Adapter Protocol for Python
License: MIT License: MIT
@@ -35,12 +35,12 @@ URL: https://github.com/microsoft/debugpy/
Source: https://github.com/microsoft/debugpy/archive/v%{version}.tar.gz#/debugpy-%{version}.tar.gz Source: https://github.com/microsoft/debugpy/archive/v%{version}.tar.gz#/debugpy-%{version}.tar.gz
BuildRequires: %{python_module Cython} BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
%if %{with test} %if %{with test}
BuildRequires: %{python_module Django}
BuildRequires: %{python_module Flask} BuildRequires: %{python_module Flask}
BuildRequires: %{python_module debugpy = %{version}} BuildRequires: %{python_module debugpy = %{version}}
BuildRequires: %{python_module gevent} BuildRequires: %{python_module gevent}
@@ -52,6 +52,8 @@ BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests} BuildRequires: %{python_module requests}
BuildRequires: gdb BuildRequires: gdb
%endif %endif
Requires(post): alts
Requires(postun): alts
%python_subpackages %python_subpackages
%description %description
@@ -62,11 +64,6 @@ debugpy is an implementation of the Debug Adapter Protocol for Python.
# don't remove vendored pydevd: upstream's intention is to always bundle it. Development happens in debugpy anyway # don't remove vendored pydevd: upstream's intention is to always bundle it. Development happens in debugpy anyway
# remove precompiled libs
rm src/debugpy/_vendored/pydevd/pydevd_attach_to_process/*.{so,dll,dylib,exe,pdb}
# remove script interpreter lines
sed -i '1 {/^#!/ d}' \
src/debugpy/_vendored/pydevd/pydevd_attach_to_process/winappdbg/*/*.py
# remove gitignore file # remove gitignore file
find src/debugpy/_vendored/pydevd/ -name .gitignore -delete find src/debugpy/_vendored/pydevd/ -name .gitignore -delete
# remove a performance tweak not compatible with older gdb: https://github.com/microsoft/debugpy/issues/762 # remove a performance tweak not compatible with older gdb: https://github.com/microsoft/debugpy/issues/762
@@ -92,7 +89,7 @@ mv ../attach_${pyarch}.so ../attach_linux_amd64.so
mv ../attach_${pyarch}.so ../attach_linux_x86.so mv ../attach_${pyarch}.so ../attach_linux_x86.so
%endif %endif
popd popd
%{$python_build} %pyproject_wheel
} }
%endif %endif
@@ -100,7 +97,9 @@ popd
%if !%{with test} %if !%{with test}
# Dont compile pydevd again # Dont compile pydevd again
export SKIP_CYTHON_BUILD=1 export SKIP_CYTHON_BUILD=1
%python_install %pyproject_install
%python_clone -a %{buildroot}%{_bindir}/debugpy
%python_clone -a %{buildroot}%{_bindir}/debugpy-adapter
%{python_expand # remove source files %{python_expand # remove source files
rm -r %{buildroot}%{$python_sitearch}/debugpy/_vendored/pydevd/pydevd_attach_to_process/{common,linux_and_mac,windows}/ rm -r %{buildroot}%{$python_sitearch}/debugpy/_vendored/pydevd/pydevd_attach_to_process/{common,linux_and_mac,windows}/
rm %{buildroot}%{$python_sitearch}/debugpy/_vendored/pydevd/_*/*.{c,h,pxd,pyx} rm %{buildroot}%{$python_sitearch}/debugpy/_vendored/pydevd/_*/*.{c,h,pxd,pyx}
@@ -115,17 +114,17 @@ export DEBUGPY_PROCESS_EXIT_TIMEOUT=30
export DEBUGPY_PROCESS_SPAWN_TIMEOUT=90 export DEBUGPY_PROCESS_SPAWN_TIMEOUT=90
# extra flags are not added # extra flags are not added
donttest="test_custom_python_args" donttest="test_custom_python_args"
# python 3.11 failures rm -v tests/debugpy/test_django.py
donttest="$donttest or test_redirect_output or test_with_no_output or test_systemexit or test_exceptions_and_partial_exclude_rules or test_exception_stack or test_flask_template_exception_no_multiproc or test_flask_exception_no_multiproc or test_gevent"
rm -v tests/debugpy/test_exception.py tests/debugpy/test_django.py
# gh#microsoft/debugpy#1462
donttest="$donttest or test_attach_pid_client"
# Disable broken tests in s390x, bsc#1217019 # Disable broken tests in s390x, bsc#1217019
%ifarch s390x %ifarch s390x
sed -i "s/timeout=30/timeout=60/g" pytest.ini sed -i "s/timeout=30/timeout=60/g" pytest.ini
donttest+=" or test_attach_api or test_reattach or test_break_api or test_set_variable or test_unicode or test_debugpySystemInfo or test_debug_this_thread or test_tracing" donttest+=" or test_attach_api or test_reattach or test_break_api or test_set_variable or test_unicode or test_debugpySystemInfo or test_debug_this_thread or test_tracing"
%endif %endif
# Attach-to-PID is not supported on ARM https://github.com/microsoft/debugpy/issues/1220
%ifarch aarch64
donttest+=" or test_reattach"
%endif
# Do not have numpy dependency # Do not have numpy dependency
donttest+=" or test_numpy" donttest+=" or test_numpy"
@@ -135,10 +134,18 @@ donttest+=" or attach_pid"
%pytest_arch -k "not ($donttest)" %pytest_arch -k "not ($donttest)"
%endif %endif
%post
%python_install_alternative debugpy debugpy-adapter
%postun
%python_uninstall_alternative debugpy
%if ! %{with test} %if ! %{with test}
%files %{python_files} %files %{python_files}
%{python_sitearch}/debugpy %{python_sitearch}/debugpy
%{python_sitearch}/debugpy-%{version}*-info %{python_sitearch}/debugpy-%{version}*-info
%python_alternative %{_bindir}/debugpy
%python_alternative %{_bindir}/debugpy-adapter
%endif %endif
%changelog %changelog