Package: src:django-rich
Version: 1.8.0-1
Severity: serious
Tags: sid trixie ftbfs
User: debian-pyt...@lists.debian.org
Usertags: python3.12

With python3-defaults from experimental, the package fails to build:

Please note that the build was don in Ubuntu noble for now,
complete build log at
https://launchpadlibrarian.net/711661762/buildlog_ubuntu-noble-amd64.django-rich_1.8.0-1_BUILDING.txt.gz

[...]

dh_auto_test -- --system=custom --test-args="{interpreter} -m coverage run -m pytest tests"
I: pybuild base:305: python3.11 -m coverage run -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.11.7, pytest-7.4.4, pluggy-1.4.0
django: settings: tests.settings (from option)
rootdir: /<<PKGBUILDDIR>>
configfile: pyproject.toml
plugins: django-4.5.2
collected 48 items

tests/test_test.py sssssssssssss [ 27%] tests/test_management.py ........ [ 43%] tests/test_test.py .......................F... [100%]

=================================== FAILURES =================================== ______________________ TestRunnerTests.test_skip_verbose _______________________

self = <tests.test_test.TestRunnerTests testMethod=test_skip_verbose>

    def test_skip_verbose(self):
result = self.run_test("-v", "2", f"{__name__}.ExampleTests.test_skip")
        assert result.returncode == 0
        lines = result.stderr.splitlines()
        if sys.version_info >= (3, 11):
>           assert lines[1:4] == [
                (
"test_skip (tests.test_test.ExampleTests.test_skip) ... "
                    + "skipped 'some reason'"
                ),
                "",
                "-" * 70,
            ]
E assert ["skipped 'so...------------'] == ["test_skip (...------------'] E At index 0 diff: "skipped 'some reason'" != "test_skip (tests.test_test.ExampleTests.test_skip) ... skipped 'some reason'"
E             Use -v to get more diff

tests/test_test.py:224: AssertionError
=========================== short test summary info ============================ FAILED tests/test_test.py::TestRunnerTests::test_skip_verbose - assert ["skip... ================== 1 failed, 34 passed, 13 skipped in 33.52s =================== E: pybuild pybuild:391: test: plugin custom failed with: exit code=1: python3.11 -m coverage run -m pytest tests
I: pybuild base:305: python3.12 -m coverage run -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.12.1, pytest-7.4.4, pluggy-1.4.0
django: settings: tests.settings (from option)
rootdir: /<<PKGBUILDDIR>>
configfile: pyproject.toml
plugins: django-4.5.2
collected 48 items

tests/test_test.py sssssssssssss [ 27%] tests/test_management.py ........ [ 43%] tests/test_test.py .......................F... [100%]

=================================== FAILURES =================================== ______________________ TestRunnerTests.test_skip_verbose _______________________

self = <tests.test_test.TestRunnerTests testMethod=test_skip_verbose>

    def test_skip_verbose(self):
result = self.run_test("-v", "2", f"{__name__}.ExampleTests.test_skip")
        assert result.returncode == 0
        lines = result.stderr.splitlines()
        if sys.version_info >= (3, 11):
>           assert lines[1:4] == [
                (
"test_skip (tests.test_test.ExampleTests.test_skip) ... "
                    + "skipped 'some reason'"
                ),
                "",
                "-" * 70,
            ]
E assert ["skipped 'so...------------'] == ["test_skip (...------------'] E At index 0 diff: "skipped 'some reason'" != "test_skip (tests.test_test.ExampleTests.test_skip) ... skipped 'some reason'"
E             Use -v to get more diff

tests/test_test.py:224: AssertionError
=========================== short test summary info ============================ FAILED tests/test_test.py::TestRunnerTests::test_skip_verbose - assert ["skip... ================== 1 failed, 34 passed, 13 skipped in 33.71s =================== E: pybuild pybuild:391: test: plugin custom failed with: exit code=1: python3.12 -m coverage run -m pytest tests dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.11 3.12" --system=custom "--test-args={interpreter} -m coverage run -m pytest tests" returned exit code 13
make[1]: *** [debian/rules:19: override_dh_auto_test] Error 25

Reply via email to