--- Begin Message ---
Package: src:pydevd
Version: 3.5.0+ds-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202605/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:pydevd, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=pybuild
debian/rules execute_before_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
libdir=/usr/lib/$(py3versions --min-supported); \
cp $libdir/runpy.py _pydevd_bundle/pydevd_runpy.py
patch -p1 < debian/runpy.patch
patching file _pydevd_bundle/pydevd_runpy.py
cd _pydevd_frame_eval/vendored && \
cp -a /usr/lib/python3/dist-packages/bytecode . && \
python3 pydevd_fix_code.py
fixed /<<PKGBUILDDIR>>/_pydevd_frame_eval/vendored/bytecode/__init__.py
fixed /<<PKGBUILDDIR>>/_pydevd_frame_eval/vendored/bytecode/concrete.py
fixed /<<PKGBUILDDIR>>/_pydevd_frame_eval/vendored/bytecode/flags.py
fixed /<<PKGBUILDDIR>>/_pydevd_frame_eval/vendored/bytecode/cfg.py
[... snipped ...]
tests_python/debugger_fixtures.py:489: AssertionError
________ test_case_django_invalid_template_exception_breakpoint[False] _________
case_setup_django =
<tests_python.debugger_fixtures.case_setup_django.<locals>.CaseSetup object at
0x7ff707faee40>
jmc = False
@pytest.mark.skipif(not TEST_DJANGO, reason="No django available")
@pytest.mark.parametrize("jmc", [False, True])
def
test_case_django_invalid_template_exception_breakpoint(case_setup_django, jmc):
kwargs = {}
if jmc:
def get_environ(writer):
env = os.environ.copy()
env.update(
{
"PYDEVD_FILTER_LIBRARIES": "1", # Global setting for
in project or not
}
)
return env
kwargs["get_environ"] = get_environ
> with case_setup_django.test_file(EXPECTED_RETURNCODE="any", **kwargs)
> as writer:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests_python/test_debugger.py:1293:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.13/contextlib.py:141: in __enter__
return next(self.gen)
^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <tests_python.debugger_fixtures.case_setup_django.<locals>.CaseSetup
object at 0x7ff707faee40>
kwargs = {'EXPECTED_RETURNCODE': 'any'}
django = <module 'django' from
'/usr/lib/python3/dist-packages/django/__init__.py'>
version = [5, 2]
@contextmanager
def test_file(self, **kwargs):
import django
version = [int(x) for x in django.get_version().split(".")][:2]
if version == [1, 7]:
django_folder = "my_django_proj_17"
elif version in ([2, 1], [2, 2], [3, 0], [3, 1], [3, 2], [4, 0], [4,
1], [4, 2]):
django_folder = "my_django_proj_21"
else:
> raise AssertionError("Can only check django 1.7 -> 4.2 right now.
> Found: %s" % (version,))
E AssertionError: Can only check django 1.7 -> 4.2 right now. Found:
[5, 2]
tests_python/debugger_fixtures.py:489: AssertionError
_________ test_case_django_invalid_template_exception_breakpoint[True] _________
case_setup_django =
<tests_python.debugger_fixtures.case_setup_django.<locals>.CaseSetup object at
0x7ff6ff339a90>
jmc = True
@pytest.mark.skipif(not TEST_DJANGO, reason="No django available")
@pytest.mark.parametrize("jmc", [False, True])
def
test_case_django_invalid_template_exception_breakpoint(case_setup_django, jmc):
kwargs = {}
if jmc:
def get_environ(writer):
env = os.environ.copy()
env.update(
{
"PYDEVD_FILTER_LIBRARIES": "1", # Global setting for
in project or not
}
)
return env
kwargs["get_environ"] = get_environ
> with case_setup_django.test_file(EXPECTED_RETURNCODE="any", **kwargs)
> as writer:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests_python/test_debugger.py:1293:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.13/contextlib.py:141: in __enter__
return next(self.gen)
^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <tests_python.debugger_fixtures.case_setup_django.<locals>.CaseSetup
object at 0x7ff6ff339a90>
kwargs = {'EXPECTED_RETURNCODE': 'any', 'get_environ': <function
test_case_django_invalid_template_exception_breakpoint.<locals>.get_environ at
0x7ff6ff0719e0>}
django = <module 'django' from
'/usr/lib/python3/dist-packages/django/__init__.py'>
version = [5, 2]
@contextmanager
def test_file(self, **kwargs):
import django
version = [int(x) for x in django.get_version().split(".")][:2]
if version == [1, 7]:
django_folder = "my_django_proj_17"
elif version in ([2, 1], [2, 2], [3, 0], [3, 1], [3, 2], [4, 0], [4,
1], [4, 2]):
django_folder = "my_django_proj_21"
else:
> raise AssertionError("Can only check django 1.7 -> 4.2 right now.
> Found: %s" % (version,))
E AssertionError: Can only check django 1.7 -> 4.2 right now. Found:
[5, 2]
tests_python/debugger_fixtures.py:489: AssertionError
__________ test_case_django_no_attribute_exception_breakpoint[False] ___________
case_setup_django_dap =
<tests_python.debugger_fixtures.case_setup_django.<locals>.CaseSetup object at
0x7ff707faee40>
jmc = False
@pytest.mark.skipif(not TEST_DJANGO, reason="No django available")
@pytest.mark.parametrize("jmc", [False, True])
def
test_case_django_no_attribute_exception_breakpoint(case_setup_django_dap, jmc):
import django # noqa (may not be there if TEST_DJANGO == False)
django_version = [int(x) for x in django.get_version().split(".")][:2]
if django_version < [2, 1]:
pytest.skip("Template exceptions only supporting Django 2.1
onwards.")
> with case_setup_django_dap.test_file(EXPECTED_RETURNCODE="any") as
> writer:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests_python/test_debugger_json.py:4811:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.13/contextlib.py:141: in __enter__
return next(self.gen)
^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <tests_python.debugger_fixtures.case_setup_django.<locals>.CaseSetup
object at 0x7ff707faee40>
kwargs = {'EXPECTED_RETURNCODE': 'any'}
django = <module 'django' from
'/usr/lib/python3/dist-packages/django/__init__.py'>
version = [5, 2]
@contextmanager
def test_file(self, **kwargs):
import django
version = [int(x) for x in django.get_version().split(".")][:2]
if version == [1, 7]:
django_folder = "my_django_proj_17"
elif version in ([2, 1], [2, 2], [3, 0], [3, 1], [3, 2], [4, 0], [4,
1], [4, 2]):
django_folder = "my_django_proj_21"
else:
> raise AssertionError("Can only check django 1.7 -> 4.2 right now.
> Found: %s" % (version,))
E AssertionError: Can only check django 1.7 -> 4.2 right now. Found:
[5, 2]
tests_python/debugger_fixtures.py:489: AssertionError
___________ test_case_django_no_attribute_exception_breakpoint[True] ___________
case_setup_django_dap =
<tests_python.debugger_fixtures.case_setup_django.<locals>.CaseSetup object at
0x7ff6ff33ae40>
jmc = True
@pytest.mark.skipif(not TEST_DJANGO, reason="No django available")
@pytest.mark.parametrize("jmc", [False, True])
def
test_case_django_no_attribute_exception_breakpoint(case_setup_django_dap, jmc):
import django # noqa (may not be there if TEST_DJANGO == False)
django_version = [int(x) for x in django.get_version().split(".")][:2]
if django_version < [2, 1]:
pytest.skip("Template exceptions only supporting Django 2.1
onwards.")
> with case_setup_django_dap.test_file(EXPECTED_RETURNCODE="any") as
> writer:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests_python/test_debugger_json.py:4811:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.13/contextlib.py:141: in __enter__
return next(self.gen)
^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <tests_python.debugger_fixtures.case_setup_django.<locals>.CaseSetup
object at 0x7ff6ff33ae40>
kwargs = {'EXPECTED_RETURNCODE': 'any'}
django = <module 'django' from
'/usr/lib/python3/dist-packages/django/__init__.py'>
version = [5, 2]
@contextmanager
def test_file(self, **kwargs):
import django
version = [int(x) for x in django.get_version().split(".")][:2]
if version == [1, 7]:
django_folder = "my_django_proj_17"
elif version in ([2, 1], [2, 2], [3, 0], [3, 1], [3, 2], [4, 0], [4,
1], [4, 2]):
django_folder = "my_django_proj_21"
else:
> raise AssertionError("Can only check django 1.7 -> 4.2 right now.
> Found: %s" % (version,))
E AssertionError: Can only check django 1.7 -> 4.2 right now. Found:
[5, 2]
tests_python/debugger_fixtures.py:489: AssertionError
_______________________ test_case_django_line_validation _______________________
case_setup_django_dap =
<tests_python.debugger_fixtures.case_setup_django.<locals>.CaseSetup object at
0x7ff707faee40>
@pytest.mark.skipif(not TEST_DJANGO, reason="No django available")
def test_case_django_line_validation(case_setup_django_dap):
import django # noqa (may not be there if TEST_DJANGO == False)
django_version = [int(x) for x in django.get_version().split(".")][:2]
support_lazy_line_validation = django_version >= [1, 9]
import django # noqa (may not be there if TEST_DJANGO == False)
> with case_setup_django_dap.test_file(EXPECTED_RETURNCODE="any") as
> writer:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests_python/test_debugger_json.py:4908:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.13/contextlib.py:141: in __enter__
return next(self.gen)
^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <tests_python.debugger_fixtures.case_setup_django.<locals>.CaseSetup
object at 0x7ff707faee40>
kwargs = {'EXPECTED_RETURNCODE': 'any'}
django = <module 'django' from
'/usr/lib/python3/dist-packages/django/__init__.py'>
version = [5, 2]
@contextmanager
def test_file(self, **kwargs):
import django
version = [int(x) for x in django.get_version().split(".")][:2]
if version == [1, 7]:
django_folder = "my_django_proj_17"
elif version in ([2, 1], [2, 2], [3, 0], [3, 1], [3, 2], [4, 0], [4,
1], [4, 2]):
django_folder = "my_django_proj_21"
else:
> raise AssertionError("Can only check django 1.7 -> 4.2 right now.
> Found: %s" % (version,))
E AssertionError: Can only check django 1.7 -> 4.2 right now. Found:
[5, 2]
tests_python/debugger_fixtures.py:489: AssertionError
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:858
/usr/lib/python3/dist-packages/_pytest/config/__init__.py:858:
PytestAssertRewriteWarning: Module already imported so cannot be rewritten;
tests_python.debugger_fixtures
self.import_plugin(import_spec)
tests_python/test_fixtures.py:48
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pydevd/build/tests_python/test_fixtures.py:48:
PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
Use @pytest.fixture instead; they are the same.
@pytest.yield_fixture
tests_python/test_pydevd_io.py:119
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pydevd/build/tests_python/test_pydevd_io.py:119:
PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
Use @pytest.fixture instead; they are the same.
@pytest.yield_fixture
tests_python/test_timeout_tracker.py:10
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pydevd/build/tests_python/test_timeout_tracker.py:10:
PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
Use @pytest.fixture instead; they are the same.
@pytest.yield_fixture(autouse=True)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests_python/test_debugger.py::test_case_django_step_next -
AssertionError: Can only check django 1.7 -> 4.2 right now. Found: [5, 2]
FAILED tests_python/test_debugger.py::test_case_django_b - AssertionError: Can
only check django 1.7 -> 4.2 right now. Found: [5, 2]
FAILED
tests_python/test_debugger.py::test_case_django_template_inherits_no_exception
- AssertionError: Can only check django 1.7 -> 4.2 right now. Found: [5, 2]
FAILED tests_python/test_debugger.py::test_case_django_no_var_error -
AssertionError: Can only check django 1.7 -> 4.2 right now. Found: [5, 2]
FAILED
tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint[False]
- AssertionError: Can only check django 1.7 -> 4.2 right now. Found: [5, 2]
FAILED
tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint[True]
- AssertionError: Can only check django 1.7 -> 4.2 right now. Found: [5, 2]
FAILED
tests_python/test_debugger.py::test_case_django_no_attribute_exception_breakpoint_and_regular_exceptions
- AssertionError: Can only check django 1.7 -> 4.2 right now. Found: [5, 2]
FAILED
tests_python/test_debugger.py::test_case_django_invalid_template_exception_breakpoint[False]
- AssertionError: Can only check django 1.7 -> 4.2 right now. Found: [5, 2]
FAILED
tests_python/test_debugger.py::test_case_django_invalid_template_exception_breakpoint[True]
- AssertionError: Can only check django 1.7 -> 4.2 right now. Found: [5, 2]
FAILED
tests_python/test_debugger_json.py::test_case_django_no_attribute_exception_breakpoint[False]
- AssertionError: Can only check django 1.7 -> 4.2 right now. Found: [5, 2]
FAILED
tests_python/test_debugger_json.py::test_case_django_no_attribute_exception_breakpoint[True]
- AssertionError: Can only check django 1.7 -> 4.2 right now. Found: [5, 2]
FAILED tests_python/test_debugger_json.py::test_case_django_line_validation -
AssertionError: Can only check django 1.7 -> 4.2 right now. Found: [5, 2]
========== 12 failed, 789 skipped, 72 deselected, 4 warnings in 1.47s ==========
*** END OF RUN 5: NOT ALL TESTS HAVE YET PASSED/XFAILED ***
*** SOME TESTS FAILED/ERRORED EVERY RUN, ABORTING ***
E: pybuild pybuild:485: test: plugin custom failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pydevd/build; if [ -n
"pydevd_cython.cpython-313-x86_64-linux-gnu.so" ]; then export
PYDEVD_USE_CYTHON=YES; else export PYDEVD_USE_CYTHON=NO; fi;
/<<PKGBUILDDIR>>/debian/run_tests /<<PKGBUILDDIR>>/debian/get_test_exclusions
python3.13 -m pytest
--deselect=tests_python/test_debugger.py::test_matplotlib_activation
--deselect=tests_python/test_debugger_json.py::test_pandas
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14
3.13" --parallel=2 returned exit code 13
make[1]: *** [debian/rules:70: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:20: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit
status 2
--------------------------------------------------------------------------------
--- End Message ---