forked from pool/python-debugpy
Compare commits
6 Commits
Author | SHA256 | Date | |
---|---|---|---|
6b44f367db | |||
061eca4ca0 | |||
61a8bfa47b | |||
5e921b1d1e | |||
ab10f414e4 | |||
7e7d25fe10 |
3
debugpy-1.8.14.tar.gz
Normal file
3
debugpy-1.8.14.tar.gz
Normal 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)
BIN
debugpy-1.8.2.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -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>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -27,7 +27,7 @@
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-debugpy%{psuffix}
|
||||
Version: 1.8.2
|
||||
Version: 1.8.14
|
||||
Release: 0
|
||||
Summary: An implementation of the Debug Adapter Protocol for Python
|
||||
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
|
||||
BuildRequires: %{python_module Cython}
|
||||
BuildRequires: %{python_module devel >= 3.8}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module Django}
|
||||
BuildRequires: %{python_module Flask}
|
||||
BuildRequires: %{python_module debugpy = %{version}}
|
||||
BuildRequires: %{python_module gevent}
|
||||
@@ -52,6 +52,8 @@ BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: gdb
|
||||
%endif
|
||||
Requires(post): alts
|
||||
Requires(postun): alts
|
||||
%python_subpackages
|
||||
|
||||
%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
|
||||
|
||||
# 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
|
||||
find src/debugpy/_vendored/pydevd/ -name .gitignore -delete
|
||||
# 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
|
||||
%endif
|
||||
popd
|
||||
%{$python_build}
|
||||
%pyproject_wheel
|
||||
}
|
||||
%endif
|
||||
|
||||
@@ -100,7 +97,9 @@ popd
|
||||
%if !%{with test}
|
||||
# Dont compile pydevd again
|
||||
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
|
||||
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}
|
||||
@@ -115,17 +114,17 @@ export DEBUGPY_PROCESS_EXIT_TIMEOUT=30
|
||||
export DEBUGPY_PROCESS_SPAWN_TIMEOUT=90
|
||||
# extra flags are not added
|
||||
donttest="test_custom_python_args"
|
||||
# python 3.11 failures
|
||||
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"
|
||||
rm -v tests/debugpy/test_django.py
|
||||
|
||||
# Disable broken tests in s390x, bsc#1217019
|
||||
%ifarch s390x
|
||||
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"
|
||||
%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
|
||||
donttest+=" or test_numpy"
|
||||
@@ -135,10 +134,18 @@ donttest+=" or attach_pid"
|
||||
%pytest_arch -k "not ($donttest)"
|
||||
%endif
|
||||
|
||||
%post
|
||||
%python_install_alternative debugpy debugpy-adapter
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative debugpy
|
||||
|
||||
%if ! %{with test}
|
||||
%files %{python_files}
|
||||
%{python_sitearch}/debugpy
|
||||
%{python_sitearch}/debugpy-%{version}*-info
|
||||
%python_alternative %{_bindir}/debugpy
|
||||
%python_alternative %{_bindir}/debugpy-adapter
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user