Package: src:pytest
Version: 8.3.5-1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" 
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pytest  
* Building wheel...

[... snipped ...]

highlighting module code... [ 97%] _pytest.tmpdir
highlighting module code... [100%] builtins

writing additional pages... search done
copying images... [  8%] img/freiburg2.jpg
copying images... [ 17%] 
example/fixtures/test_fixtures_request_different_scope.svg
copying images... [ 25%] example/fixtures/fixture_availability.svg
copying images... [ 33%] example/fixtures/fixture_availability_plugins.svg
copying images... [ 42%] example/fixtures/test_fixtures_order_scope.svg
copying images... [ 50%] example/fixtures/test_fixtures_order_dependencies.svg
copying images... [ 58%] 
example/fixtures/test_fixtures_order_dependencies_flat.svg
copying images... [ 67%] 
example/fixtures/test_fixtures_order_dependencies_unclear.svg
copying images... [ 75%] example/fixtures/test_fixtures_order_autouse.svg
copying images... [ 83%] example/fixtures/test_fixtures_order_autouse_flat.svg
copying images... [ 92%] 
example/fixtures/test_fixtures_order_autouse_multiple_scopes.svg
copying images... [100%] 
example/fixtures/test_fixtures_order_autouse_temp_effects.svg

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

The HTML pages are in _build/html.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc/en'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild pybuild:308: mkdir -p 
/<<PKGBUILDDIR>>/debian/tmp/test-working-directory
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pytest/build; 
cd /<<PKGBUILDDIR>>/debian/tmp/test-working-directory && python3.13 -m pytest 
--lsof -rfsxX --ignore=/<<PKGBUILDDIR>>/testing/test_entry_points.py 
--ignore=/<<PKGBUILDDIR>>/testing/test_terminal.py -k 'not test_code_highlight' 
/<<PKGBUILDDIR>>/testing
lsof version information:
    revision: 4.99.4
    copyright notice: Copyright 1998 Purdue Research Foundation. All rights 
reserved.
    latest revision: https://github.com/lsof-org/lsof
    latest FAQ: https://github.com/lsof-org/lsof/blob/master/00FAQ
    latest (non-formatted) man page: 
https://github.com/lsof-org/lsof/blob/master/Lsof.8
    constructed on: x86_64-pc-linux-gnu
    compiler: gcc
    compiler flags: -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/lsof-4.99.4+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -D_FILE_OFFSET_BITS=64 
-I/usr/include/tirpc 
    loader flags: -Wl,-z,relro -Wl,-z,now -ltirpc  -lselinux
    features enabled: ipv6 ptyept rpc selinux soopt sostate tasks uxsockept
    Anyone can list all files.
    /dev warnings are disabled.
    Kernel ID check is disabled.
============================= test session starts ==============================
platform linux -- Python 3.13.2, pytest-8.3.5, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
configfile: pyproject.toml
plugins: hypothesis-6.127.4, typeguard-4.4.2
collected 3573 items / 4 deselected / 3569 selected

../../../testing/_py/test_local.py ..................................... [  1%]
............................ss..............s.................x.....Xs.. [  3%]
...................................sssssss............................x. [  5%]
..                                                                       [  5%]
../../../testing/acceptance_test.py .....                                [  5%]
../../../testing/code/test_code.py .................                     [  5%]
../../../testing/code/test_excinfo.py .................s................ [  6%]
........................................................................ [  8%]
..............................................                           [ 10%]
../../../testing/code/test_source.py ................................... [ 10%]
....................                                                     [ 11%]
../../../testing/deprecated_test.py ..........                           [ 11%]
../../../testing/freeze/tests/test_doctest.txt .                         [ 11%]
../../../testing/freeze/tests/test_trivial.py ..                         [ 11%]
../../../testing/io/test_pprint.py ..................................... [ 12%]
.                                                                        [ 12%]
../../../testing/io/test_saferepr.py .............                       [ 13%]
../../../testing/io/test_terminalwriter.py ............................. [ 14%]
................                                                         [ 14%]
../../../testing/io/test_wcwidth.py .................                    [ 15%]
../../../testing/logging/test_fixture.py ...................             [ 15%]
../../../testing/logging/test_formatter.py ....                          [ 15%]
../../../testing/logging/test_reporting.py ..                            [ 15%]
../../../testing/python/approx.py ...................................... [ 16%]
...............................................                          [ 18%]
../../../testing/python/collect.py ..                                    [ 18%]
../../../testing/python/fixtures.py ....s......                          [ 18%]
../../../testing/python/integration.py ....                              [ 18%]
../../../testing/python/metafunc.py .................................... [ 19%]
.....                                                                    [ 19%]
../../../testing/python/raises.py ........................               [ 20%]
../../../testing/test_argcomplete.py ..                                  [ 20%]
../../../testing/test_assertion.py ..................................... [ 21%]
....FFFFF...........................                                     [ 22%]
../../../testing/test_assertrewrite.py ................................. [ 23%]
...............                                                          [ 23%]
../../../testing/test_capture.py ....................................... [ 24%]
......................s..                                                [ 25%]
../../../testing/test_collection.py ..                                   [ 25%]
../../../testing/test_compat.py ...........                              [ 26%]
../../../testing/test_config.py ........................................ [ 27%]
.....................                                                    [ 27%]
../../../testing/test_conftest.py ...........                            [ 28%]
../../../testing/test_debugging.py .                                     [ 28%]
../../../testing/test_doctest.py .............                           [ 28%]
../../../testing/test_faulthandler.py ...                                [ 28%]
../../../testing/test_findpaths.py ..............s...                    [ 29%]
../../../testing/test_helpconfig.py .                                    [ 29%]
../../../testing/test_junitxml.py ....                                   [ 29%]
../../../testing/test_legacypath.py ....                                 [ 29%]
../../../testing/test_main.py .....                                      [ 29%]
../../../testing/test_mark.py ..............                             [ 29%]
../../../testing/test_mark_expression.py ............................... [ 30%]
........................................................................ [ 32%]
.....................................                                    [ 33%]
../../../testing/test_monkeypatch.py ...............................     [ 34%]
../../../testing/test_nodes.py ....                                      [ 34%]
../../../testing/test_parseopt.py .............................          [ 35%]
../../../testing/test_pastebin.py ....                                   [ 35%]
../../../testing/test_pluginmanager.py .........                         [ 35%]
../../../testing/test_pytester.py .....................                  [ 36%]
../../../testing/test_recwarn.py ....................................... [ 37%]
..................                                                       [ 38%]
../../../testing/test_runner.py ...............                          [ 38%]
../../../testing/test_scope.py ....                                      [ 38%]
../../../testing/test_skipping.py .                                      [ 38%]
../../../testing/test_stash.py .                                         [ 38%]
../../../testing/test_tmpdir.py ...s...............                      [ 39%]
../../../testing/test_warning_types.py ..............                    [ 39%]
../../../testing/test_warnings.py .                                      [ 39%]
../../../testing/acceptance_test.py .................................... [ 40%]
..................x....................s.                                [ 41%]
../../../testing/code/test_excinfo.py .............sssssssss......       [ 42%]
../../../testing/deprecated_test.py ....                                 [ 42%]
../../../testing/examples/test_issue519.py .                             [ 42%]
../../../testing/logging/test_fixture.py ........                        [ 42%]
../../../testing/logging/test_reporting.py ............................. [ 43%]
.....................                                                    [ 44%]
../../../testing/python/approx.py .                                      [ 44%]
../../../testing/python/collect.py ..................................... [ 45%]
..........................................                               [ 46%]
../../../testing/python/fixtures.py .................................... [ 47%]
....................................x................................... [ 49%]
........................................................................ [ 51%]
.....                                                                    [ 51%]
../../../testing/python/integration.py ..s.sss........                   [ 52%]
../../../testing/python/metafunc.py .................................... [ 53%]
.............................                                            [ 54%]
../../../testing/python/raises.py ....                                   [ 54%]
../../../testing/python/show_fixtures_per_test.py ........               [ 54%]
../../../testing/test_assertion.py 
.............................testing/test_assertion.py:1671: PytestWarning: 
***** 6 FD leakage detected
('DEL', '/dev/shm/sem.CWVmhF')
('DEL', '/dev/shm/sem.dCDCBr')
('DEL', '/dev/shm/sem.iaQo5M')
('DEL', '/dev/shm/sem.HnYuud')
('DEL', '/dev/shm/sem.vUkt4J')
('DEL', '/dev/shm/sem.ifK1t6')
*** Before:
('rtd', '/')
('0', '/dev/null')
('3', '/dev/null')
('4', '/dev/null')
('10', '/dev/null')
*** After:
('rtd', '/')
('DEL', '/dev/shm/sem.CWVmhF')
('DEL', '/dev/shm/sem.dCDCBr')
('DEL', '/dev/shm/sem.iaQo5M')
('DEL', '/dev/shm/sem.HnYuud')
('DEL', '/dev/shm/sem.vUkt4J')
('DEL', '/dev/shm/sem.ifK1t6')
('0', '/dev/null')
('3', '/dev/null')
('4', '/dev/null')
('10', '/dev/null')
***** 6 FD leakage detected
*** function testing/test_assertion.py:1670: 
test_exception_handling_no_traceback 
See issue #2366
........ [ 55%]
...........                                                              [ 55%]
../../../testing/test_assertrewrite.py ................................. [ 56%]
.................................                                        [ 57%]
../../../testing/test_cacheprovider.py ................................. [ 58%]
........................                                                 [ 59%]
../../../testing/test_capture.py ......x................................ [ 60%]
....                                                                     [ 60%]
../../../testing/test_collection.py ................x................... [ 61%]
.........................s................s..                            [ 62%]
../../../testing/test_compat.py ..                                       [ 62%]
../../../testing/test_config.py ..................x..................... [ 63%]
........................................................................ [ 65%]
.........................                                                [ 66%]
../../../testing/test_conftest.py .............s........................ [ 67%]
.....                                                                    [ 67%]
../../../testing/test_debugging.py .............                         [ 68%]
../../../testing/test_doctest.py ....................................... [ 69%]
.........................x.............................................. [ 71%]
...............s.                                                        [ 71%]
../../../testing/test_error_diffs.py ...........F                        [ 72%]
../../../testing/test_faulthandler.py ...                                [ 72%]
../../../testing/test_helpconfig.py ........                             [ 72%]
../../../testing/test_junitxml.py ...................................... [ 73%]
............................................................s...s....... [ 75%]
.................                                                        [ 75%]
../../../testing/test_legacypath.py ..........                           [ 76%]
../../../testing/test_link_resolve.py .                                  [ 76%]
../../../testing/test_main.py ..............                             [ 76%]
../../../testing/test_mark.py .......................................... [ 77%]
............................x.................                           [ 79%]
../../../testing/test_monkeypatch.py ....                                [ 79%]
../../../testing/test_nodes.py ....                                      [ 79%]
../../../testing/test_parseopt.py .                                      [ 79%]
../../../testing/test_pastebin.py ...                                    [ 79%]
../../../testing/test_pathlib.py ....................................... [ 80%]
.....................s.................................................. [ 82%]
                                                                         [ 82%]
../../../testing/test_pluginmanager.py ....s............                 [ 82%]
../../../testing/test_pytester.py x........................              [ 83%]
../../../testing/test_python_path.py .....                               [ 83%]
../../../testing/test_recwarn.py .....                                   [ 83%]
../../../testing/test_reports.py ..................                      [ 84%]
../../../testing/test_runner.py ........................x............... [ 85%]
............                                                             [ 85%]
../../../testing/test_runner_xunit.py .............                      [ 86%]
../../../testing/test_session.py ..........................              [ 86%]
../../../testing/test_setuponly.py ..........................            [ 87%]
../../../testing/test_setupplan.py ...                                   [ 87%]
../../../testing/test_skipping.py ...................................... [ 88%]
...................................................                      [ 90%]
../../../testing/test_stepwise.py ..............                         [ 90%]
../../../testing/test_threadexception.py ....                            [ 90%]
../../../testing/test_tmpdir.py ....................                     [ 91%]
../../../testing/test_unittest.py ......................sssssss......... [ 92%]
........................s............                                    [ 93%]
../../../testing/test_unraisableexception.py ....                        [ 93%]
../../../testing/test_warning_types.py .                                 [ 93%]
../../../testing/test_warnings.py ...................sss..........       [ 94%]
../../../testing/acceptance_test.py .....                                [ 94%]
../../../testing/python/collect.py .                                     [ 94%]
../../../testing/python/fixtures.py ..                                   [ 94%]
../../../testing/test_assertion.py ............                          [ 95%]
../../../testing/test_assertrewrite.py .........                         [ 95%]
../../../testing/test_capture.py ........................s               [ 96%]
../../../testing/test_collection.py ...                                  [ 96%]
../../../testing/test_compat.py s                                        [ 96%]
../../../testing/test_config.py ..                                       [ 96%]
../../../testing/test_debugging.py sssssssssss.ssssssssssssssss.sss....s [ 97%]
sss.sss                                                                  [ 97%]
../../../testing/test_faulthandler.py ..s.                               [ 97%]
../../../testing/test_helpconfig.py ..                                   [ 97%]
../../../testing/test_legacypath.py .                                    [ 97%]
../../../testing/test_meta.py .......................................... [ 98%]
.........................                                                [ 99%]
../../../testing/test_pytester.py ....s                                  [ 99%]
../../../testing/test_recwarn.py .                                       [ 99%]
../../../testing/test_reports.py .                                       [ 99%]
../../../testing/test_unittest.py s.                                     [ 99%]
../../../testing/test_warnings.py .........                              [100%]

=================================== FAILURES ===================================
_________________ TestAssert_reprcompare_attrsclass.test_attrs _________________

self = <test_assertion.TestAssert_reprcompare_attrsclass object at 
0x7fd0a71ede50>

    def test_attrs(self) -> None:
        @attr.s
        class SimpleDataObject:
            field_a = attr.ib()
            field_b = attr.ib()
    
        left = SimpleDataObject(1, "b")
        right = SimpleDataObject(1, "c")
    
        lines = callequal(left, right)
>       assert lines is not None
E       assert None is not None

/<<PKGBUILDDIR>>/testing/test_assertion.py:1054: AssertionError
____________ TestAssert_reprcompare_attrsclass.test_attrs_recursive ____________

self = <test_assertion.TestAssert_reprcompare_attrsclass object at 
0x7fd0a71edf90>

    def test_attrs_recursive(self) -> None:
        @attr.s
        class OtherDataObject:
            field_c = attr.ib()
            field_d = attr.ib()
    
        @attr.s
        class SimpleDataObject:
            field_a = attr.ib()
            field_b = attr.ib()
    
        left = SimpleDataObject(OtherDataObject(1, "a"), "b")
        right = SimpleDataObject(OtherDataObject(1, "b"), "b")
    
        lines = callequal(left, right)
>       assert lines is not None
E       assert None is not None

/<<PKGBUILDDIR>>/testing/test_assertion.py:1075: AssertionError
________ TestAssert_reprcompare_attrsclass.test_attrs_recursive_verbose ________

self = <test_assertion.TestAssert_reprcompare_attrsclass object at 
0x7fd0a6750d60>

    def test_attrs_recursive_verbose(self) -> None:
        @attr.s
        class OtherDataObject:
            field_c = attr.ib()
            field_d = attr.ib()
    
        @attr.s
        class SimpleDataObject:
            field_a = attr.ib()
            field_b = attr.ib()
    
        left = SimpleDataObject(OtherDataObject(1, "a"), "b")
        right = SimpleDataObject(OtherDataObject(1, "b"), "b")
    
        lines = callequal(left, right)
>       assert lines is not None
E       assert None is not None

/<<PKGBUILDDIR>>/testing/test_assertion.py:1096: AssertionError
_____________ TestAssert_reprcompare_attrsclass.test_attrs_verbose _____________

self = <test_assertion.TestAssert_reprcompare_attrsclass object at 
0x7fd0a6750c30>

    def test_attrs_verbose(self) -> None:
        @attr.s
        class SimpleDataObject:
            field_a = attr.ib()
            field_b = attr.ib()
    
        left = SimpleDataObject(1, "b")
        right = SimpleDataObject(1, "c")
    
        lines = callequal(left, right, verbose=2)
>       assert lines is not None
E       assert None is not None

/<<PKGBUILDDIR>>/testing/test_assertion.py:1110: AssertionError
__ TestAssert_reprcompare_attrsclass.test_attrs_with_attribute_comparison_off __

self = <test_assertion.TestAssert_reprcompare_attrsclass object at 
0x7fd0a779b410>

    def test_attrs_with_attribute_comparison_off(self) -> None:
        @attr.s
        class SimpleDataObject:
            field_a = attr.ib()
            field_b = attr.ib(eq=False)
    
        left = SimpleDataObject(1, "b")
        right = SimpleDataObject(1, "b")
    
        lines = callequal(left, right, verbose=2)
>       assert lines is not None
E       assert None is not None

/<<PKGBUILDDIR>>/testing/test_assertion.py:1125: AssertionError
____________________ test_error_diff[Compare attrs classes] ____________________

code = "\n        import attr\n\n        @attr.s(auto_attribs=True)\n        
class A:\n            a: int\n            b: str...         result =   A(1, 
'spam')\n            expected = A(1, 'eggs')\n            assert result == 
expected\n        "
expected = "\n        >       assert result == expected\n        E       
AssertionError: assert A(a=1, b='spam') == A(a=1, b='egg...ttribute b:\n        
E           b: 'spam' != 'eggs'\n        E           - eggs\n        E          
 + spam\n        "
pytester = <Pytester 
PosixPath('/tmp/pytest-of-buildd/pytest-0/test_error_diff11')>

    @pytest.mark.parametrize("code, expected", TESTCASES)
    def test_error_diff(code: str, expected: str, pytester: Pytester) -> None:
        expected_lines = [line.lstrip() for line in expected.splitlines()]
        p = pytester.makepyfile(code)
        result = pytester.runpytest(p, "-vv")
>       result.stdout.fnmatch_lines(expected_lines)
E       Failed: nomatch: ''
E           and: '============================= test session starts 
=============================='
E           and: 'platform linux -- Python 3.13.2, pytest-8.3.5, pluggy-1.5.0 
-- /usr/bin/python3.13'
E           and: 'cachedir: .pytest_cache'
E           and: 'rootdir: /tmp/pytest-of-buildd/pytest-0/test_error_diff11'
E           and: 'collecting ... collected 1 item'
E       exact match: ''
E       nomatch: '>       assert result == expected'
E           and: 'test_error_diff.py::test_this FAILED                          
           [100%]'
E           and: ''
E           and: '=================================== FAILURES 
==================================='
E           and: '__________________________________ test_this 
___________________________________'
E           and: ''
E           and: '    def test_this():'
E           and: "        result =   A(1, 'spam')"
E           and: "        expected = A(1, 'eggs')"
E       exact match: '>       assert result == expected'
E       exact match: "E       AssertionError: assert A(a=1, b='spam') == A(a=1, 
b='eggs')"
E       nomatch: 'E         Matching attributes:'
E           and: ''
E           and: 'test_error_diff.py:11: AssertionError'
E           and: '=========================== short test summary info 
============================'
E           and: "FAILED test_error_diff.py::test_this - AssertionError: assert 
A(a=1, b='spam') == A(a=1, b='eggs')"
E           and: '============================== 1 failed in 0.01s 
==============================='
E       remains unmatched: 'E         Matching attributes:'

/<<PKGBUILDDIR>>/testing/test_error_diffs.py:295: Failed
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.13.2, pytest-8.3.5, pluggy-1.5.0 -- 
/usr/bin/python3.13
cachedir: .pytest_cache
rootdir: /tmp/pytest-of-buildd/pytest-0/test_error_diff11
collecting ... collected 1 item

test_error_diff.py::test_this FAILED                                     [100%]

=================================== FAILURES ===================================
__________________________________ test_this ___________________________________

    def test_this():
        result =   A(1, 'spam')
        expected = A(1, 'eggs')
>       assert result == expected
E       AssertionError: assert A(a=1, b='spam') == A(a=1, b='eggs')

test_error_diff.py:11: AssertionError
=========================== short test summary info ============================
FAILED test_error_diff.py::test_this - AssertionError: assert A(a=1, b='spam') 
== A(a=1, b='eggs')
============================== 1 failed in 0.01s ===============================
=================================== XPASSES ====================================
=========================== short test summary info ============================
FAILED 
../../../testing/test_assertion.py::TestAssert_reprcompare_attrsclass::test_attrs
FAILED 
../../../testing/test_assertion.py::TestAssert_reprcompare_attrsclass::test_attrs_recursive
FAILED 
../../../testing/test_assertion.py::TestAssert_reprcompare_attrsclass::test_attrs_recursive_verbose
FAILED 
../../../testing/test_assertion.py::TestAssert_reprcompare_attrsclass::test_attrs_verbose
FAILED 
../../../testing/test_assertion.py::TestAssert_reprcompare_attrsclass::test_attrs_with_attribute_comparison_off
FAILED ../../../testing/test_error_diffs.py::test_error_diff[Compare attrs 
classes]
SKIPPED [1] ../../../testing/_py/test_local.py:466: sys.version_info < (3,6)
SKIPPED [1] ../../../testing/_py/test_local.py:471: sys.version_info < (3,6)
SKIPPED [1] ../../../testing/_py/test_local.py:671: case-insensitive only on 
windows
SKIPPED [1] ../../../testing/_py/test_local.py:892: condition: not 
(sys.platform == 'win32' or getattr(os, '_name', None) == 'nt')
SKIPPED [1] ../../../testing/_py/test_local.py:1244: condition: not 
(sys.platform == 'win32' or getattr(os, '_name', None) == 'nt')
SKIPPED [1] ../../../testing/_py/test_local.py:1250: condition: not 
(sys.platform == 'win32' or getattr(os, '_name', None) == 'nt')
SKIPPED [1] ../../../testing/_py/test_local.py:1262: condition: not 
(sys.platform == 'win32' or getattr(os, '_name', None) == 'nt')
SKIPPED [1] ../../../testing/_py/test_local.py:1268: condition: not 
(sys.platform == 'win32' or getattr(os, '_name', None) == 'nt')
SKIPPED [1] ../../../testing/_py/test_local.py:1273: condition: not 
(sys.platform == 'win32' or getattr(os, '_name', None) == 'nt')
SKIPPED [1] ../../../testing/_py/test_local.py:1281: condition: not 
(sys.platform == 'win32' or getattr(os, '_name', None) == 'nt')
SKIPPED [1] ../../../testing/_py/test_local.py:1288: condition: not 
(sys.platform == 'win32' or getattr(os, '_name', None) == 'nt')
SKIPPED [1] ../../../testing/code/test_excinfo.py:283: could not import 
'decorator': No module named 'decorator'
SKIPPED [1] ../../../testing/python/fixtures.py:79: In python 3.13, this will 
raise FutureWarning:
functools.partial will be a method descriptor in future Python versions;
wrap it in staticmethod() if you want to preserve the old behavior

But the wrapped 'functools.partial' is tested by 
'test_getfuncargnames_staticmethod_partial' below.
SKIPPED [1] ../../../testing/test_capture.py:1437: only on windows
SKIPPED [1] ../../../testing/test_findpaths.py:144: condition: sys.platform != 
'win32'
SKIPPED [1] ../../../testing/test_tmpdir.py:359: win only
SKIPPED [1] ../../../testing/acceptance_test.py:1426: Test is not isolated
SKIPPED [9] ../../../testing/code/test_excinfo.py:1719: could not import 
'exceptiongroup': No module named 'exceptiongroup'
SKIPPED [1] ../../../testing/python/integration.py:100: could not import 
'mock': No module named 'mock'
SKIPPED [1] ../../../testing/python/integration.py:151: could not import 
'mock': No module named 'mock'
SKIPPED [1] ../../../testing/python/integration.py:184: could not import 
'mock': No module named 'mock'
SKIPPED [1] ../../../testing/python/integration.py:208: could not import 
'mock': No module named 'mock'
SKIPPED [1] 
../../../.pybuild/cpython3_3.13_pytest/build/_pytest/pathlib.py:469: symlinks 
not supported: [Errno 17] File exists: 
'/tmp/pytest-of-buildd/pytest-0/test_collect_symlink_dir0/symlink_dir' -> 
'/tmp/pytest-of-buildd/pytest-0/test_collect_symlink_dir0/dir'
SKIPPED [1] ../../../testing/test_collection.py:1757: Windows only
SKIPPED [1] ../../../testing/test_conftest.py:394: only relevant for 
case-insensitive file systems
SKIPPED [1] ../../../testing/test_doctest.py:1575: could not import 'mock': No 
module named 'mock'
SKIPPED [1] ../../../testing/test_junitxml.py:1365: could not import 'xdist': 
No module named 'xdist'
SKIPPED [1] ../../../testing/test_junitxml.py:1419: could not import 'xdist': 
No module named 'xdist'
SKIPPED [1] ../../../testing/test_pathlib.py:551: Windows only
SKIPPED [1] ../../../testing/test_pluginmanager.py:109: requires a 
case-insensitive file system
SKIPPED [1] ../../../testing/test_unittest.py:469: could not import 
'twisted.trial.unittest': No module named 'twisted'
SKIPPED [1] ../../../testing/test_unittest.py:493: could not import 
'twisted.trial.unittest': No module named 'twisted'
SKIPPED [1] ../../../testing/test_unittest.py:543: could not import 
'twisted.trial.unittest': No module named 'twisted'
SKIPPED [1] ../../../testing/test_unittest.py:621: could not import 
'twisted.trial.unittest': No module named 'twisted'
SKIPPED [1] ../../../testing/test_unittest.py:634: could not import 
'twisted.trial.unittest': No module named 'twisted'
SKIPPED [1] ../../../testing/test_unittest.py:647: could not import 
'twisted.trial.unittest': No module named 'twisted'
SKIPPED [1] ../../../testing/test_unittest.py:660: could not import 
'twisted.trial.unittest': No module named 'twisted'
SKIPPED [1] ../../../testing/test_unittest.py:1327: could not import 
'asynctest': No module named 'asynctest'
SKIPPED [3] ../../../testing/test_warnings.py:515: not relevant until pytest 9.0
SKIPPED [39] 
../../../.pybuild/cpython3_3.13_pytest/build/_pytest/pytester.py:1513: could 
not import 'pexpect': No module named 'pexpect'
SKIPPED [1] ../../../testing/test_compat.py:98: coroutine removed
SKIPPED [1] ../../../testing/test_faulthandler.py:74: sometimes crashes on CI 
(#7022)
SKIPPED [1] ../../../testing/test_unittest.py:607: could not import 
'twisted.trial.unittest': No module named 'twisted'
XFAIL ../../../testing/_py/test_local.py::TestLocalPath::test_long_filenames - 
reason: [NOTRUN] unreliable est for long filenames
XFAIL ../../../testing/_py/test_local.py::TestUnicode::test_read_write - 
changing read/write might break existing usages
XFAIL 
../../../testing/acceptance_test.py::TestInvocationVariants::test_noclass_discovery_if_not_testcase
 - decide: feature or bug
XFAIL 
../../../testing/python/fixtures.py::TestAutouseDiscovery::test_setup_enabled_functionnode
 - 'enabled' feature not implemented
XFAIL 
../../../testing/test_capture.py::TestPerTestCapturing::test_capture_scope_cache
 - unimplemented feature
XFAIL 
../../../testing/test_collection.py::TestPrunetraceback::test_collect_report_postprocessing
 - other mechanism for adding to reporting needed
XFAIL ../../../testing/test_config.py::TestParseIni::test_confcutdir - probably 
not needed
XFAIL 
../../../testing/test_doctest.py::TestLiterals::test_number_non_matches['3.1416'-'3.14']
XFAIL 
../../../testing/test_mark.py::TestKeywordSelection::test_keyword_extra_dash
XFAIL ../../../testing/test_pytester.py::test_make_hook_recorder - reason: 
internal reportrecorder tests need refactoring
XFAIL ../../../testing/test_runner.py::test_runtest_in_module_ordering
XPASS 
../../../testing/_py/test_local.py::TestLocalPath::test_make_numbered_dir_multiprocess_safe
 - #11603
= 6 failed, 3460 passed, 91 skipped, 4 deselected, 11 xfailed, 1 xpassed in 
136.30s (0:02:16) =
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pytest/build; cd 
{dir}/debian/tmp/test-working-directory && {interpreter} -m pytest --lsof 
-rfsxX --ignore={dir}/testing/test_entry_points.py 
--ignore={dir}/testing/test_terminal.py -k 'not test_code_highlight' 
{dir}/testing
dh_auto_test: error: pybuild --test -i python{version} -p 3.13 returned exit 
code 13
make: *** [debian/rules:20: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202504/

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 could not 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:pytest, so that this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to