On 2023-04-03 14:35:35 +0100, Julian Gilbey wrote: > Package: release.debian.org > Severity: normal > User: release.debian....@packages.debian.org > Usertags: unblock > X-Debbugs-Cc: pyd...@packages.debian.org > Control: affects -1 + src:pydevd > > Please unblock package pydevd > > [ Reason ] > This is a small tweak to the autopkgtests to prevent them from failing > on a number of architectures not in the released architectures. It > closes #1029718, but I don't know whether it is appropriate for > transitioning to testing (it not being an RC bug). > > [ Impact ] > It is not currently buildable on those architectures. > > [ Tests ] > The autopkgtests cover everything; this patch just excludes some which > fail with Python 3.11. > > [ Risks ] > Code is trivial and only in the autopkgtest code. > > [ Checklist ] > [x] all changes are documented in the d/changelog > [x] I reviewed all changes and I approve them > [x] attach debdiff against the package in testing > > [ Other info ] > None > > unblock pydevd/2.9.5+ds-4
> diff -Nru pydevd-2.9.5+ds/debian/changelog pydevd-2.9.5+ds/debian/changelog > --- pydevd-2.9.5+ds/debian/changelog 2023-02-11 21:30:07.000000000 +0000 > +++ pydevd-2.9.5+ds/debian/changelog 2023-03-12 12:36:38.000000000 +0000 > @@ -1,3 +1,10 @@ > +pydevd (2.9.5+ds-4) unstable; urgency=medium > + > + * Exclude failing tests on a wider variety of architectures > + (closes: #1029718) > + > + -- Julian Gilbey <j...@debian.org> Sun, 12 Mar 2023 12:36:38 +0000 > + > pydevd (2.9.5+ds-3) unstable; urgency=medium > > * Update README.Debian > diff -Nru pydevd-2.9.5+ds/debian/get_test_exclusions > pydevd-2.9.5+ds/debian/get_test_exclusions > --- pydevd-2.9.5+ds/debian/get_test_exclusions 2023-02-11 > 21:30:07.000000000 +0000 > +++ pydevd-2.9.5+ds/debian/get_test_exclusions 2023-03-12 > 12:36:38.000000000 +0000 > @@ -91,10 +91,25 @@ > tests_python/test_debugger_json.py::test_function_breakpoints_async > ) > > - # s390x fails even more disastrously > - if [ $arch = s390x ] > + # failing tests on 32-bit big-endian targets and riscv64 > + if [ $arch = hppa -o $arch = m68k -o $arch = powerpc -o $arch = riscv64 ] > then > - EXCLUDES+=( > + EXCLUDES+=( > + tests_python/test_debugger.py::test_gevent > + tests_python/test_debugger.py::test_gevent_remote > + tests_python/test_debugger_json.py::test_wait_for_attach_gevent > + > tests_python/test_debugger_json.py::test_gevent_show_paused_greenlets > + > tests_python/test_debugger_json.py::test_gevent_subprocess_not_python > + tests_python/test_debugger_json.py::test_gevent_subprocess_python > + tests_python/test_debugger_json.py::test_notify_gevent > + tests_python/test_utilities.py::test_gevent_notify > + ) > + fi > + > + # failing tests on 64-bit big-endian targets > + if [ $arch = s390x -o $arch = s390x -o $arch = sparc64 ] That's s390x twice. Cheers > + then > + EXCLUDES+=( > tests_python/test_debugger.py::test_case_13 > tests_python/test_debugger.py::test_check_tracer_with_exceptions > tests_python/test_debugger.py::test_unhandled_exceptions_basic > @@ -106,7 +121,19 @@ > > tests_python/test_debugger_json.py::test_case_unhandled_exception[_debugger_case_unhandled_exceptions.py] > > tests_python/test_debugger_json.py::test_case_unhandled_exception[_debugger_case_unhandled_exceptions_custom.py] > tests_python/test_utilities.py::test_tracing_basic > - ) > + ) > + fi > + > + # Further failing tests on riscv64 (see bug#1024680) > + if [ $arch = riscv64 ] > + then > + EXCLUDES+=( > + > tests_python/test_debugger.py::test_attach_to_pid_no_threads[False] > + tests_python/test_debugger.py::test_attach_to_pid_halted > + tests_python/test_debugger.py::test_case_16_resolve_numpy_array > + > tests_python/test_debugger.py::test_gevent_show_paused_greenlets[False] > + tests_python/test_debugger_json.py::test_attach_to_pid[False] > + ) > fi > fi > > @@ -127,7 +154,7 @@ > > tests_python/test_debugger.py::test_case_django_template_inherits_no_exception > tests_python/test_debugger.py::test_case_flask > tests_python/test_debugger_json.py::test_attach_to_pid[True] > - tests_python/test_debugger_json.py::test_case_django_line_validation > + tests_python/test_debugger_json.py::test_case_django_line_validation > > tests_python/test_debugger_json.py::test_case_django_no_attribute_exception_breakpoint > tests_python/test_debugger_json.py::test_case_flask_line_validation > tests_python/test_debugger_json.py::test_code_reload > @@ -138,30 +165,10 @@ > ) > fi > > -# Further failing tests on riscv64 (see bug#1024680) > -if [ $arch = riscv64 ] > -then > - EXCLUDES+=( > - tests_python/test_debugger.py::test_attach_to_pid_no_threads[False] > - tests_python/test_debugger.py::test_attach_to_pid_halted > - tests_python/test_debugger.py::test_case_16_resolve_numpy_array > - tests_python/test_debugger.py::test_gevent > - > tests_python/test_debugger.py::test_gevent_show_paused_greenlets[False] > - tests_python/test_debugger.py::test_gevent_remote > - tests_python/test_debugger_json.py::test_wait_for_attach_gevent > - tests_python/test_debugger_json.py::test_gevent_show_paused_greenlets > - tests_python/test_debugger_json.py::test_gevent_subprocess_not_python > - tests_python/test_debugger_json.py::test_gevent_subprocess_python > - tests_python/test_debugger_json.py::test_notify_gevent > - tests_python/test_debugger_json.py::test_attach_to_pid[False] > - tests_python/test_utilities.py::test_gevent_notify > - ) > -fi > - > if [ $arch = ppc64el ] > then > EXCLUDES+=( > - tests_python/test_debugger_json.py::test_code_reload > + tests_python/test_debugger_json.py::test_code_reload > ) > fi > -- Sebastian Ramacher