• Bug#1064689: objgraph: FTBFS: dh_auto_test: error: pybuild --test --tes

    From Lucas Nussbaum@21:1/5 to All on Sun Feb 25 21:00:26 2024
    Source: objgraph
    Version: 3.6.0-1
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240224 ftbfs-trixie

    Hi,

    During a rebuild of all packages in sid, your package failed to build
    on amd64.


    Relevant part (hopefully):
    make[2]: Entering directory '/<<PKGBUILDDIR>>'
    sphinx-build -b html -d docs/_build/doctrees -NE docs/ docs/_build/html Running Sphinx v7.2.6
    making output directory... done
    loading intersphinx inventory from https://docs.python.org/3/objects.inv... building [mo]: targets for 0 po files that are out of date
    writing output...
    building [html]: targets for 11 source files that are out of date
    updating environment: [new config] 11 added, 0 changed, 0 removed
    reading sources... [ 9%] CHANGES
    reading sources... [ 18%] HACKING
    reading sources... [ 27%] chain
    reading sources... [ 36%] extra-info
    reading sources... [ 45%] generator-sample
    reading sources... [ 55%] highlighting
    reading sources... [ 64%] index
    reading sources... [ 73%] objgraph
    reading sources... [ 82%] quoting
    reading sources... [ 91%] references
    reading sources... [100%] uncollectable

    looking for now-outdated files... none found
    pickling environment... done
    checking consistency... done
    preparing documents... done
    copying assets... copying static files... done
    copying extra files... done
    done
    writing output... [ 9%] CHANGES
    writing output... [ 18%] HACKING
    writing output... [ 27%] chain
    writing output... [ 36%] extra-info
    writing output... [ 45%] generator-sample
    writing output... [ 55%] highlighting
    writing output... [ 64%] index
    writing output... [ 73%] objgraph
    writing output... [ 82%] quoting
    writing output... [ 91%] references
    writing output... [100%] uncollectable

    generating indices... py-modindex done
    writing additional pages... search done
    copying images... [ 8%] chain.png
    copying images... [ 15%] extra-info.png
    copying images... [ 23%] canary.png
    copying images... [ 31%] canary-chain.png
    copying images... [ 38%] highlight.png
    copying images... [ 46%] sample-graph.png
    copying images... [ 54%] sample-backref-graph.png
    copying images... [ 62%] roots.png
    copying images... [ 69%] too-many.png
    copying images... [ 77%] 42.png
    copying images... [ 85%] refcounts.png
    copying images... [ 92%] finalizers.png
    copying images... [100%] class-with-finalizers.png

    dumping search index in English (code: en)... done
    dumping object inventory... done
    build succeeded.

    The HTML pages are in docs/_build/html.

    Now look at docs/_build/html/index.html
    make[2]: Leaving directory '/<<PKGBUILDDIR>>'
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_auto_test -O--buildsystem=pybuild
    I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_objgraph/build; python3.12 -m pytest -v tests.py
    ============================= test session starts ==============================
    platform linux -- Python 3.12.2, pytest-7.4.4, pluggy-1.4.0 -- /usr/bin/python3.12
    cachedir: .pytest_cache
    rootdir: /<<PKGBUILDDIR>>
    collecting ... collected 49 items

    tests.py::ShowGraphTest::test_basic_file_output PASSED [ 2%]
    tests.py::ShowGraphTest::test_cull_func PASSED [ 4%]
    tests.py::ShowGraphTest::test_filename_and_output PASSED [ 6%]
    tests.py::ShowGraphTest::test_ipython PASSED [ 8%]
    tests.py::ShowGraphTest::test_simple_chain PASSED [ 10%]
    tests.py::ShowGraphTest::test_with_extra_node_attrs PASSED [ 12%]
    tests.py::FindChainTest::test_no_chain PASSED [ 14%]
    tests.py::CountTest::test_long_type_names PASSED [ 16%]
    tests.py::CountTest::test_no_new_reference_cycles PASSED [ 18%]
    tests.py::TypestatsTest::test_long_type_names PASSED [ 20%]
    tests.py::TypestatsTest::test_no_new_reference_cycles PASSED [ 22%]
    tests.py::TypestatsFilterArguTest::test_with_filter PASSED [ 24%]
    tests.py::TypestatsFilterArguTest::test_without_filter PASSED [ 26%]
    tests.py::GrowthTest::test_growth PASSED [ 28%]
    tests.py::GrowthTest::test_show_growth_custom_peak_stats PASSED [ 30%]
    tests.py::GetNewIdsTest::test_get_new_ids PASSED [ 32%]
    tests.py::GetNewIdsTest::test_get_new_ids_long_typename PASSED [ 34%]
    tests.py::GetNewIdsTest::test_get_new_ids_skip_update PASSED [ 36%]
    tests.py::ByTypeTest::test_long_type_names PASSED [ 38%]
    tests.py::ByTypeTest::test_new_garbage PASSED [ 40%]
    tests.py::AtAddrsTest::test_at_addrs FAILED [ 42%]
    tests.py::StringRepresentationTest::test_edge_label_bound_method PASSED [ 44%]
    tests.py::StringRepresentationTest::test_edge_label_frame_globals PASSED [ 46%]
    tests.py::StringRepresentationTest::test_edge_label_frame_locals PASSED [ 48%]
    tests.py::StringRepresentationTest::test_edge_label_long_type_names PASSED [ 51%]
    tests.py::StringRepresentationTest::test_edge_label_unbound_method SKIPPED [ 53%]
    tests.py::StringRepresentationTest::test_gradient_empty PASSED [ 55%]
    tests.py::StringRepresentationTest::test_long_typename_with_no_module PASSED [ 57%]
    tests.py::StringRepresentationTest::test_obj_attrs PASSED [ 59%]
    tests.py::StringRepresentationTest::test_obj_label_long_type_name PASSED [ 61%]
    tests.py::StringRepresentationTest::test_safe_repr PASSED [ 63%]
    tests.py::StringRepresentationTest::test_short_repr_frame PASSED [ 65%]
    tests.py::StringRepresentationTest::test_short_repr_function PASSED [ 67%]
    tests.py::StringRepresentationTest::test_short_repr_lambda PASSED [ 69%]
    tests.py::StringRepresentationTest::test_short_repr_magic_mocked_name PASSED [ 71%]
    tests.py::StringRepresentationTest::test_short_repr_mock_with_spec PASSED [ 73%]
    tests.py::StringRepresentationTest::test_short_repr_mocked_instance_method PASSED [ 75%]
    tests.py::StringRepresentationTest::test_short_repr_mocked_instance_method_bound PASSED [ 77%]
    tests.py::StringRepresentationTest::test_short_repr_mocked_instance_method_bound_with_mocked_name PASSED [ 79%]
    tests.py::StringRepresentationTest::test_short_repr_mocked_name PASSED [ 81%]
    tests.py::StringRepresentationTest::test_short_repr_unbound_method SKIPPED [ 83%]
    tests.py::PresentGraphTest::test_present_dot PASSED [ 85%]
    tests.py::PresentGraphTest::test_present_no_xdot PASSED [ 87%]
    tests.py::PresentGraphTest::test_present_no_xdot_and_no_not PASSED [ 89%]
    tests.py::PresentGraphTest::test_present_png PASSED [ 91%]
    tests.py::PresentGraphTest::test_present_png_failure PASSED [ 93%]
    tests.py::PresentGraphTest::test_present_png_no_dot PASSED [ 95%]
    tests.py::PresentGraphTest::test_present_xdot PASSED [ 97%]
    tests.py::test_suite PASSED [100%]

    =================================== FAILURES ===================================
    __________________________ AtAddrsTest.test_at_addrs ___________________________

    self = <tests.AtAddrsTest testMethod=test_at_addrs>

    def test_at_addrs(self):
    a = [0, 1, 2]
    new_ids = objgraph.get_new_ids(limit=0)
    new_lists = objgraph.at_addrs(new_ids['list'])
    self.assertIn(a, new_lists)
    E AssertionError: [0, 1, 2] not found in [[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [<HookImpl plugin_name='runner', plugin=<module '_pytest.runner' from '/usr/lib/python3/dist-packages/_pytest/runner.py'>>, <HookImpl plugin_
    name='skipping', plugin=<module '_pytest.skipping' from '/usr/lib/python3/dist-packages/_pytest/skipping.py'>>, <HookImpl plugin_name='capturemanager', plugin=<CaptureManager _method='fd' _global_capturing=<MultiCapture out=<FDCapture 1 oldfd=5 _state='
    started' tmpfile=<_io.TextIOWrapper name="<_io.FileIO name=6 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'>> err=<FDCapture 2 oldfd=7 _state='started' tmpfile=<_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding=
    'utf-8'>> in_=<FDCapture 0 oldfd=3 _state='started' tmpfile=<_io.TextIOWrapper name='/dev/null' mode='r' encoding='utf-8'>> _state='started' _in_suspended=False> _capture_fixture=None>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.
    LoggingPlugin object at 0x7fa9122e22a0>>, <HookImpl plugin_name='unraisableexception', plugin=<module '_pytest.unraisableexception' from '/usr/lib/python3/dist-packages/_pytest/unraisableexception.py'>>, <HookImpl plugin_name='threadexception', plugin=<
    module '_pytest.threadexception' from '/usr/lib/python3/dist-packages/_pytest/threadexception.py'>>], [(<generator object pytest_runtest_call at 0x7fa9117e2380>, <HookImpl plugin_name='threadexception', plugin=<module '_pytest.threadexception' from '/usr/
    lib/python3/dist-packages/_pytest/threadexception.py'>>), (<generator object pytest_runtest_call at 0x7fa9117e2140>, <HookImpl plugin_name='unraisableexception', plugin=<module '_pytest.unraisableexception' from '/usr/lib/python3/dist-packages/_pytest/
    unraisableexception.py'>>), (<generator object LoggingPlugin.pytest_runtest_call at 0x7fa912878040>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x7fa9122e22a0>>), (<generator object CaptureManager.pytest_
    runtest_call at 0x7fa911551e00>, <HookImpl plugin_name='capturemanager', plugin=<CaptureManager _method='fd' _global_capturing=<MultiCapture out=<FDCapture 1 oldfd=5 _state='started' tmpfile=<_io.TextIOWrapper name="<_io.FileIO name=6 mode='rb+' closefd=
    True>" mode='r+' encoding='utf-8'>> err=<FDCapture 2 oldfd=7 _state='started' tmpfile=<_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'>> in_=<FDCapture 0 oldfd=3 _state='started' tmpfile=<_io.TextIOWrapper
    name='/dev/null' mode='r' encoding='utf-8'>> _state='started' _in_suspended=False> _capture_fixture=None>>), (<generator object pytest_runtest_call at 0x7fa912afb030>, <HookImpl plugin_name='skipping', plugin=<module '_pytest.skipping' from '/usr/lib/
    python3/dist-packages/_pytest/skipping.py'>>)], [], [], [<TestCaseFunction test_at_addrs>], [], [], [], [], [<bound method TestCaseFunction.teardown of <TestCaseFunction test_at_addrs>>], [], []]

    tests.py:373: AssertionError
    =============================== warnings summary ===============================
    tests.py:110
    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_objgraph/build/tests.py:110: PytestCollectionWarning: cannot collect test class 'TestObject' because it has a __init__ constructor (from: .pybuild/cpython3_3.12_objgraph/build/tests.py)
    class TestObject:

    .pybuild/cpython3_3.12_objgraph/build/tests.py::test_suite
    /usr/lib/python3/dist-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.12_objgraph/build/tests.py::test_suite returned <unittest.suite.TestSuite tests=[<unittest.suite.TestSuite tests=[<unittest.suite.
    TestSuite tests=[<tests.AtAddrsTest testMethod=test_at_addrs>]>, <unittest.suite.TestSuite tests=[<tests.ByTypeTest testMethod=test_long_type_names>, <tests.ByTypeTest testMethod=test_new_garbage>]>, <unittest.suite.TestSuite tests=[<tests.CountTest
    testMethod=test_long_type_names>, <tests.CountTest testMethod=test_no_new_reference_cycles>]>, <unittest.suite.TestSuite tests=[<tests.FindChainTest testMethod=test_no_chain>]>, <unittest.suite.TestSuite tests=[<tests.GetNewIdsTest testMethod=test_get_
    new_ids>, <tests.GetNewIdsTest testMethod=test_get_new_ids_long_typename>, <tests.GetNewIdsTest testMethod=test_get_new_ids_skip_update>]>, <unittest.suite.TestSuite tests=[<tests.GrowthTest testMethod=test_growth>, <tests.GrowthTest testMethod=test_show_
    growth_custom_peak_stats>]>, <unittest.suite.TestSuite tests=[<tests.PresentGraphTest testMethod=test_present_dot>, <tests.PresentGraphTest testMethod=test_present_no_xdot>, <tests.PresentGraphTest testMethod=test_present_no_xdot_and_no_not>, <tests.
    PresentGraphTest testMethod=test_present_png>, <tests.PresentGraphTest testMethod=test_present_png_failure>, <tests.PresentGraphTest testMethod=test_present_png_no_dot>, <tests.PresentGraphTest testMethod=test_present_xdot>]>, <unittest.suite.TestSuite
    tests=[<tests.ShowGraphTest testMethod=test_basic_file_output>, <tests.ShowGraphTest testMethod=test_cull_func>, <tests.ShowGraphTest testMethod=test_filename_and_output>, <tests.ShowGraphTest testMethod=test_ipython>, <tests.ShowGraphTest testMethod=
    test_simple_chain>, <tests.ShowGraphTest testMethod=test_with_extra_node_attrs>]>, <unittest.suite.TestSuite tests=[<tests.StringRepresentationTest testMethod=test_edge_label_bound_method>, <tests.StringRepresentationTest testMethod=test_edge_label_frame_
    globals>, <tests.StringRepresentationTest testMethod=test_edge_label_frame_locals>, <tests.StringRepresentationTest testMethod=test_edge_label_long_type_names>, <tests.StringRepresentationTest testMethod=test_edge_label_unbound_method>, <tests.
    StringRepresentationTest testMethod=test_gradient_empty>, <tests.StringRepresentationTest testMethod=test_long_typename_with_no_module>, <tests.StringRepresentationTest testMethod=test_obj_attrs>, <tests.StringRepresentationTest testMethod=test_obj_label_
    long_type_name>, <tests.StringRepresentationTest testMethod=test_safe_repr>, <tests.StringRepresentationTest testMethod=test_short_repr_frame>, <tests.StringRepresentationTest testMethod=test_short_repr_function>, <tests.StringRepresentationTest
    testMethod=test_short_repr_lambda>, <tests.StringRepresentationTest testMethod=test_short_repr_magic_mocked_name>, <tests.StringRepresentationTest testMethod=test_short_repr_mock_with_spec>, <tests.StringRepresentationTest testMethod=test_short_repr_
    mocked_instance_method>, <tests.StringRepresentationTest testMethod=test_short_repr_mocked_instance_method_bound>, <tests.StringRepresentationTest testMethod=test_short_repr_mocked_instance_method_bound_with_mocked_name>, <tests.StringRepresentationTest
    testMethod=test_short_repr_mocked_name>, <tests.StringRepresentationTest testMethod=test_short_repr_unbound_method>]>, <unittest.suite.TestSuite tests=[<tests.TypestatsFilterArguTest testMethod=test_with_filter>, <tests.TypestatsFilterArguTest testMethod=
    test_without_filter>]>, <unittest.suite.TestSuite tests=[<tests.TypestatsTest testMethod=test_long_type_names>, <tests.TypestatsTest testMethod=test_no_new_reference_cycles>]>]>, <doctest._DocTestSuite tests=[]>, <doctest._DocTestSuite tests=[doctest_get_
    new_ids_prints (tests), doctest_setup_py_works (tests)]>]>, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`?
    warnings.warn(

    -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================
    FAILED tests.py::AtAddrsTest::test_at_addrs - AssertionError: [0, 1, 2] not f...
    ============= 1 failed, 46 passed, 2 skipped, 2 warnings in 1.06s ==============
    E: pybuild pybuild:391: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_objgraph/build; python3.12 -m pytest -v tests.py
    I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_objgraph/build; python3.11 -m pytest -v tests.py
    ============================= test session starts ==============================
    platform linux -- Python 3.11.8, pytest-7.4.4, pluggy-1.4.0 -- /usr/bin/python3.11
    cachedir: .pytest_cache
    rootdir: /<<PKGBUILDDIR>>
    collecting ... collected 49 items

    tests.py::ShowGraphTest::test_basic_file_output PASSED [ 2%]
    tests.py::ShowGraphTest::test_cull_func PASSED [ 4%]
    tests.py::ShowGraphTest::test_filename_and_output PASSED [ 6%]
    tests.py::ShowGraphTest::test_ipython PASSED [ 8%]
    tests.py::ShowGraphTest::test_simple_chain PASSED [ 10%]
    tests.py::ShowGraphTest::test_with_extra_node_attrs PASSED [ 12%]
    tests.py::FindChainTest::test_no_chain PASSED [ 14%]
    tests.py::CountTest::test_long_type_names PASSED [ 16%]
    tests.py::CountTest::test_no_new_reference_cycles PASSED [ 18%]
    tests.py::TypestatsTest::test_long_type_names PASSED [ 20%]
    tests.py::TypestatsTest::test_no_new_reference_cycles PASSED [ 22%]
    tests.py::TypestatsFilterArguTest::test_with_filter PASSED [ 24%]
    tests.py::TypestatsFilterArguTest::test_without_filter PASSED [ 26%]
    tests.py::GrowthTest::test_growth PASSED [ 28%]
    tests.py::GrowthTest::test_show_growth_custom_peak_stats PASSED [ 30%]
    tests.py::GetNewIdsTest::test_get_new_ids PASSED [ 32%]
    tests.py::GetNewIdsTest::test_get_new_ids_long_typename PASSED [ 34%]
    tests.py::GetNewIdsTest::test_get_new_ids_skip_update PASSED [ 36%]
    tests.py::ByTypeTest::test_long_type_names PASSED [ 38%]
    tests.py::ByTypeTest::test_new_garbage PASSED [ 40%]
    tests.py::AtAddrsTest::test_at_addrs PASSED [ 42%]
    tests.py::StringRepresentationTest::test_edge_label_bound_method PASSED [ 44%]
    tests.py::StringRepresentationTest::test_edge_label_frame_globals PASSED [ 46%]
    tests.py::StringRepresentationTest::test_edge_label_frame_locals PASSED [ 48%]
    tests.py::StringRepresentationTest::test_edge_label_long_type_names PASSED [ 51%]
    tests.py::StringRepresentationTest::test_edge_label_unbound_method SKIPPED [ 53%]
    tests.py::StringRepresentationTest::test_gradient_empty PASSED [ 55%]
    tests.py::StringRepresentationTest::test_long_typename_with_no_module PASSED [ 57%]
    tests.py::StringRepresentationTest::test_obj_attrs PASSED [ 59%]
    tests.py::StringRepresentationTest::test_obj_label_long_type_name PASSED [ 61%]
    tests.py::StringRepresentationTest::test_safe_repr PASSED [ 63%]
    tests.py::StringRepresentationTest::test_short_repr_frame PASSED [ 65%]
    tests.py::StringRepresentationTest::test_short_repr_function PASSED [ 67%]
    tests.py::StringRepresentationTest::test_short_repr_lambda PASSED [ 69%]
    tests.py::StringRepresentationTest::test_short_repr_magic_mocked_name PASSED [ 71%]
    tests.py::StringRepresentationTest::test_short_repr_mock_with_spec PASSED [ 73%]
    tests.py::StringRepresentationTest::test_short_repr_mocked_instance_method PASSED [ 75%]
    tests.py::StringRepresentationTest::test_short_repr_mocked_instance_method_bound PASSED [ 77%]
    tests.py::StringRepresentationTest::test_short_repr_mocked_instance_method_bound_with_mocked_name PASSED [ 79%]
    tests.py::StringRepresentationTest::test_short_repr_mocked_name PASSED [ 81%]
    tests.py::StringRepresentationTest::test_short_repr_unbound_method SKIPPED [ 83%]
    tests.py::PresentGraphTest::test_present_dot PASSED [ 85%]
    tests.py::PresentGraphTest::test_present_no_xdot PASSED [ 87%]
    tests.py::PresentGraphTest::test_present_no_xdot_and_no_not PASSED [ 89%]
    tests.py::PresentGraphTest::test_present_png PASSED [ 91%]
    tests.py::PresentGraphTest::test_present_png_failure PASSED [ 93%]
    tests.py::PresentGraphTest::test_present_png_no_dot PASSED [ 95%]
    tests.py::PresentGraphTest::test_present_xdot PASSED [ 97%]
    tests.py::test_suite PASSED [100%]

    =============================== warnings summary ===============================
    tests.py:110
    /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_objgraph/build/tests.py:110: PytestCollectionWarning: cannot collect test class 'TestObject' because it has a __init__ constructor (from: .pybuild/cpython3_3.11_objgraph/build/tests.py)
    class TestObject:

    .pybuild/cpython3_3.11_objgraph/build/tests.py::test_suite
    /usr/lib/python3/dist-packages/_pytest/python.py:198: PytestReturnNotNoneWarning: Expected None, but .pybuild/cpython3_3.11_objgraph/build/tests.py::test_suite returned <unittest.suite.TestSuite tests=[<unittest.suite.TestSuite tests=[<unittest.suite.
    TestSuite tests=[<tests.AtAddrsTest testMethod=test_at_addrs>]>, <unittest.suite.TestSuite tests=[<tests.ByTypeTest testMethod=test_long_type_names>, <tests.ByTypeTest testMethod=test_new_garbage>]>, <unittest.suite.TestSuite tests=[<tests.CountTest
    testMethod=test_long_type_names>, <tests.CountTest testMethod=test_no_new_reference_cycles>]>, <unittest.suite.TestSuite tests=[<tests.FindChainTest testMethod=test_no_chain>]>, <unittest.suite.TestSuite tests=[<tests.GetNewIdsTest testMethod=test_get_
    new_ids>, <tests.GetNewIdsTest testMethod=test_get_new_ids_long_typename>, <tests.GetNewIdsTest testMethod=test_get_new_ids_skip_update>]>, <unittest.suite.TestSuite tests=[<tests.GrowthTest testMethod=test_growth>, <tests.GrowthTest testMethod=test_show_
    growth_custom_peak_stats>]>, <unittest.suite.TestSuite tests=[<tests.PresentGraphTest testMethod=test_present_dot>, <tests.PresentGraphTest testMethod=test_present_no_xdot>, <tests.PresentGraphTest testMethod=test_present_no_xdot_and_no_not>, <tests.
    PresentGraphTest testMethod=test_present_png>, <tests.PresentGraphTest testMethod=test_present_png_failure>, <tests.PresentGraphTest testMethod=test_present_png_no_dot>, <tests.PresentGraphTest testMethod=test_present_xdot>]>, <unittest.suite.TestSuite
    tests=[<tests.ShowGraphTest testMethod=test_basic_file_output>, <tests.ShowGraphTest testMethod=test_cull_func>, <tests.ShowGraphTest testMethod=test_filename_and_output>, <tests.ShowGraphTest testMethod=test_ipython>, <tests.ShowGraphTest testMethod=
    test_simple_chain>, <tests.ShowGraphTest testMethod=test_with_extra_node_attrs>]>, <unittest.suite.TestSuite tests=[<tests.StringRepresentationTest testMethod=test_edge_label_bound_method>, <tests.StringRepresentationTest testMethod=test_edge_label_frame_
    globals>, <tests.StringRepresentationTest testMethod=test_edge_label_frame_locals>, <tests.StringRepresentationTest testMethod=test_edge_label_long_type_names>, <tests.StringRepresentationTest testMethod=test_edge_label_unbound_method>, <tests.
    StringRepresentationTest testMethod=test_gradient_empty>, <tests.StringRepresentationTest testMethod=test_long_typename_with_no_module>, <tests.StringRepresentationTest testMethod=test_obj_attrs>, <tests.StringRepresentationTest testMethod=test_obj_label_
    long_type_name>, <tests.StringRepresentationTest testMethod=test_safe_repr>, <tests.StringRepresentationTest testMethod=test_short_repr_frame>, <tests.StringRepresentationTest testMethod=test_short_repr_function>, <tests.StringRepresentationTest
    testMethod=test_short_repr_lambda>, <tests.StringRepresentationTest testMethod=test_short_repr_magic_mocked_name>, <tests.StringRepresentationTest testMethod=test_short_repr_mock_with_spec>, <tests.StringRepresentationTest testMethod=test_short_repr_
    mocked_instance_method>, <tests.StringRepresentationTest testMethod=test_short_repr_mocked_instance_method_bound>, <tests.StringRepresentationTest testMethod=test_short_repr_mocked_instance_method_bound_with_mocked_name>, <tests.StringRepresentationTest
    testMethod=test_short_repr_mocked_name>, <tests.StringRepresentationTest testMethod=test_short_repr_unbound_method>]>, <unittest.suite.TestSuite tests=[<tests.TypestatsFilterArguTest testMethod=test_with_filter>, <tests.TypestatsFilterArguTest testMethod=
    test_without_filter>]>, <unittest.suite.TestSuite tests=[<tests.TypestatsTest testMethod=test_long_type_names>, <tests.TypestatsTest testMethod=test_no_new_reference_cycles>]>]>, <doctest._DocTestSuite tests=[]>, <doctest._DocTestSuite tests=[doctest_get_
    new_ids_prints (tests), doctest_setup_py_works (tests)]>]>, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`?
    warnings.warn(

    -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================== 47 passed, 2 skipped, 2 warnings in 1.03s ===================
    dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13


    The full build log is available from: http://qa-logs.debian.net/2024/02/24/objgraph_3.6.0-1_unstable.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240224;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240224&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

    A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

    If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects

    If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Wed Feb 28 16:10:01 2024
    Processing control commands:

    tag -1 pending
    Bug #1064689 [src:objgraph] objgraph: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13
    Added tag(s) pending.

    --
    1064689: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064689
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefano Rivera@21:1/5 to All on Wed Feb 28 16:10:02 2024
    Control: tag -1 pending

    Hello,

    Bug #1064689 in objgraph reported by you has been fixed in the
    Git repository and is awaiting an upload. You can see the commit
    message below and you can check the diff of the fix at:

    https://salsa.debian.org/python-team/packages/objgraph/-/commit/a229c89ca98f31735686636bb6ec40f10bf1f735

    ------------------------------------------------------------------------
    Run tests using upstream's test.py, not pytest. (Closes: #1064689) ------------------------------------------------------------------------

    (this message was generated automatically)
    --
    Greetings

    https://bugs.debian.org/1064689

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Wed Feb 28 17:00:02 2024
    This is a multi-part message in MIME format...

    Your message dated Wed, 28 Feb 2024 15:49:35 +0000
    with message-id <E1rfMBb-006tMA-MT@fasolo.debian.org>
    and subject line Bug#1064689: fixed in objgraph 3.6.1-1
    has caused the Debian Bug report #1064689,
    regarding objgraph: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1064689: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064689
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 25 Feb 2024 19:49:30 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-105.2 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
    FROMDEVELOPER,FVGT_m_MULTI_ODD,SPF_HELO_NONE,SPF_NONE,
    T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,
    USER_IN_DKIM_WHITELIST,WEIRD_PORT autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 141; hammy, 150; neutral, 405; spammy,
    0. spammytokens: hammytokens:0.000-+--python3,
    0.000-+--Hx-spam-relays-external:sk:stravin, 0.000-+--H*RT:sk:stravin,
    0.000-+--Hx-spam-relays-external:311, 0.000-+--H*RT:108
    Return-path: <lucas@debian.org>
    Received: from