Source: pydevd
Version: 3.3.0+ds-1
Severity: normal
Tags: patch
User: debian-loonga...@lists.debian.org
Usertags: loong64
Dear maintainers,
Compiling the pydevd failed for loong64 since 3.3.0+ds-1 (sid) in the
Debian Package Auto-Building environment.
The error log is as follows,
```
......
tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach[0-zero-uncaught-raised]
FAILED [ 41%]
tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach[0-zero-uncaught-]
FAILED [ 41%]
tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach[0-zero--raised]
FAILED [ 41%]
tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach[0-zero--]
FAILED [ 41%]
tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach[0--uncaught-raised]
FAILED [ 41%]
tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach[0--uncaught-]
FAILED [ 41%]
tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach[0---raised]
FAILED [ 42%]
tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach[0---]
FAILED [ 42%]
tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach[1-zero-uncaught-raised]
FAILED [ 42%]
tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach[1-zero-uncaught-]
FAILED [ 42%]
tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach[1-zero--raised]
FAILED [ 42%]
tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach[1-zero--]
FAILED [ 42%]
tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach[1--uncaught-raised]
FAILED [ 42%]
tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach[1--uncaught-]
FAILED [ 42%]
tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach[1---raised]
FAILED [ 43%]
tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach[1---]
FAILED [ 43%]
tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach[nan-zero-uncaught-raised]
FAILED [ 43%]
tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach[nan-zero-uncaught-]
FAILED [ 43%]
tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach[nan-zero--raised]
FAILED [ 43%]
tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach[nan-zero--]
FAILED [ 43%]
tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach[nan--uncaught-raised]
FAILED [ 43%]
tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach[nan--uncaught-]
FAILED [ 43%]
tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach[nan---raised]
FAILED [ 44%]
tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach[nan---]
FAILED [ 44%]
......
```
The full build log can be found at
https://buildd.debian.org/status/fetch.php?pkg=pydevd&arch=loong64&ver=3.3.0%2Bds-2&stamp=1743409782&raw=0.
Please consider the patch I attached.
Based on attached patch, I have built pydevd successfully on locally.
```
......
dh_builddeb -O--buildsystem=pybuild
dpkg-deb: building package 'python3-pydevd-dbgsym' in
'../python3-pydevd-dbgsym_3.3.0+ds-1_loong64.deb'.
dpkg-deb: building package 'python3-pydevd' in
'../python3-pydevd_3.3.0+ds-1_loong64.deb'.
dpkg-genbuildinfo --build=binary -O../pydevd_3.3.0+ds-1_loong64.buildinfo
dpkg-genchanges --build=binary -O../pydevd_3.3.0+ds-1_loong64.changes
```
Could your upload it in the next release?
Your opinions are welcome.
Best regards,
Dandan Zhang
diff --git a/debian/get_test_exclusions b/debian/get_test_exclusions
index ef0a23f..64326ee 100755
--- a/debian/get_test_exclusions
+++ b/debian/get_test_exclusions
@@ -163,6 +163,12 @@ case $arch in
tests_python/test_debugger_json.py::test_attach_to_pid[False]
)
;;&
+ # failing test on loong64
+ loong64)
+ EXCLUDES+=(
+ tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach
+ )
+ ;;&
# Another greenlets test is failing on powerpc
powerpc)
EXCLUDES+=(