Your message dated Sun, 15 Jan 2023 07:49:36 +0000
with message-id <e1pgxlo-008ebv...@fasolo.debian.org>
and subject line Bug#1028847: fixed in django-rich 1.4.0-5
has caused the Debian Bug report #1028847,
regarding django-rich: FTBFS: dh_auto_test: error: pybuild --test --test-pytest 
-i python{version} -p "3.10 3.11" --system=custom "--test-args={interpreter} -m 
coverage run -m pytest tests" 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 ow...@bugs.debian.org
immediately.)


-- 
1028847: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1028847
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: django-rich
Version: 1.4.0-4
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230113 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> # Upstream uses a more agressive call, wont work here
> # as at least the package we build isn't installed so
> # using a modified pytest call.
> dh_auto_test -- --system=custom --test-args="{interpreter} -m coverage run -m 
> pytest tests"
> I: pybuild base:240: python3.10 -m coverage run -m pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0+repack
> 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 ......FFFF..F.FFF..F...FFFF                           
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _____________________ TestRunnerTests.test_does_not_exist 
> ______________________
> 
> self = <tests.test_test.TestRunnerTests testMethod=test_does_not_exist>
> 
>     def test_does_not_exist(self):
>         result = self.run_test("does_not_exist")
>         assert result.returncode == 1
>         lines = result.stderr.splitlines()
> >       assert lines[:6] == [
>             "E",
>             "─" * 80,
>             "ERROR: does_not_exist (unittest.loader._FailedTest)",
>             "─" * 80,
>             "ImportError: Failed to import test module: does_not_exist",
>             "Traceback (most recent call last):",
>         ]
> E       AssertionError: assert ['E', '──────... call last):'] == ['E', 
> '──────... call last):']
> E         At index 2 diff: 'ERROR: does_not_exist 
> (unittest.loader._FailedTest.does_not_exist)' != 'ERROR: does_not_exist 
> (unittest.loader._FailedTest)'
> E         Use -v to get more diff
> 
> tests/test_test.py:99: AssertionError
> ______________________ TestRunnerTests.test_error_normal 
> _______________________
> 
> self = <tests.test_test.TestRunnerTests testMethod=test_error_normal>
> 
>     def test_error_normal(self):
>         result = self.run_test(f"{__name__}.ExampleTests.test_error")
>         assert result.returncode == 1
>         lines = result.stderr.splitlines()
> >       assert lines[1:4] == [
>             "E",
>             "─" * 80,
>             "ERROR: test_error (tests.test_test.ExampleTests)",
>         ]
> E       AssertionError: assert ['E', '──────....test_error)'] == ['E', 
> '──────...xampleTests)']
> E         At index 2 diff: 'ERROR: test_error 
> (tests.test_test.ExampleTests.test_error)' != 'ERROR: test_error 
> (tests.test_test.ExampleTests)'
> E         Use -v to get more diff
> 
> tests/test_test.py:147: AssertionError
> _______________________ TestRunnerTests.test_error_quiet 
> _______________________
> 
> self = <tests.test_test.TestRunnerTests testMethod=test_error_quiet>
> 
>     def test_error_quiet(self):
>         result = self.run_test("-v", "0", 
> f"{__name__}.ExampleTests.test_error")
>         assert result.returncode == 1
>         lines = result.stderr.splitlines()
> >       assert lines[:2] == [
>             "─" * 80,
>             "ERROR: test_error (tests.test_test.ExampleTests)",
>         ]
> E       AssertionError: assert ['───────────....test_error)'] == 
> ['───────────...xampleTests)']
> E         At index 1 diff: 'ERROR: test_error 
> (tests.test_test.ExampleTests.test_error)' != 'ERROR: test_error 
> (tests.test_test.ExampleTests)'
> E         Use -v to get more diff
> 
> tests/test_test.py:137: AssertionError
> ______________________ TestRunnerTests.test_error_verbose 
> ______________________
> 
> self = <tests.test_test.TestRunnerTests testMethod=test_error_verbose>
> 
>     def test_error_verbose(self):
>         result = self.run_test("-v", "2", 
> f"{__name__}.ExampleTests.test_error")
>         assert result.returncode == 1
>         lines = result.stderr.splitlines()
> >       assert lines[1:5] == [
>             "test_error (tests.test_test.ExampleTests) ... ERROR",
>             "",
>             "─" * 80,
>             "ERROR: test_error (tests.test_test.ExampleTests)",
>         ]
> E       AssertionError: assert ['test_error ....test_error)'] == ['test_error 
> ...xampleTests)']
> E         At index 0 diff: 'test_error 
> (tests.test_test.ExampleTests.test_error) ... ERROR' != 'test_error 
> (tests.test_test.ExampleTests) ... ERROR'
> E         Use -v to get more diff
> 
> tests/test_test.py:158: AssertionError
> ________________ TestRunnerTests.test_expected_failure_verbose 
> _________________
> 
> self = <tests.test_test.TestRunnerTests 
> testMethod=test_expected_failure_verbose>
> 
>     def test_expected_failure_verbose(self):
>         result = self.run_test(
>             "-v", "2", f"{__name__}.ExampleTests.test_expected_failure"
>         )
>         assert result.returncode == 0
>         lines = result.stderr.splitlines()
> >       assert lines[1:4] == [
>             (
>                 "test_expected_failure (tests.test_test.ExampleTests)"
>                 + " ... expected failure"
>             ),
>             "",
>             "-" * 70,
>         ]
> E       AssertionError: assert ['test_expect...------------'] == 
> ['test_expect...------------']
> E         At index 0 diff: 'test_expected_failure 
> (tests.test_test.ExampleTests.test_expected_failure) ... expected failure' != 
> 'test_expected_failure (tests.test_test.ExampleTests) ... expected failure'
> E         Use -v to get more diff
> 
> tests/test_test.py:257: AssertionError
> _____________________ TestRunnerTests.test_failure_normal 
> ______________________
> 
> self = <tests.test_test.TestRunnerTests testMethod=test_failure_normal>
> 
>     def test_failure_normal(self):
>         result = self.run_test(f"{__name__}.ExampleTests.test_failure")
>         assert result.returncode == 1
>         lines = result.stderr.splitlines()
> >       assert lines[1:4] == [
>             "F",
>             "─" * 80,
>             "FAIL: test_failure (tests.test_test.ExampleTests)",
>         ]
> E       AssertionError: assert ['F', '──────...est_failure)'] == ['F', 
> '──────...xampleTests)']
> E         At index 2 diff: 'FAIL: test_failure 
> (tests.test_test.ExampleTests.test_failure)' != 'FAIL: test_failure 
> (tests.test_test.ExampleTests)'
> E         Use -v to get more diff
> 
> tests/test_test.py:180: AssertionError
> ______________________ TestRunnerTests.test_failure_quiet 
> ______________________
> 
> self = <tests.test_test.TestRunnerTests testMethod=test_failure_quiet>
> 
>     def test_failure_quiet(self):
>         result = self.run_test("-v", "0", 
> f"{__name__}.ExampleTests.test_failure")
>         assert result.returncode == 1
>         lines = result.stderr.splitlines()
> >       assert lines[:2] == [
>             "─" * 80,
>             "FAIL: test_failure (tests.test_test.ExampleTests)",
>         ]
> E       AssertionError: assert ['───────────...est_failure)'] == 
> ['───────────...xampleTests)']
> E         At index 1 diff: 'FAIL: test_failure 
> (tests.test_test.ExampleTests.test_failure)' != 'FAIL: test_failure 
> (tests.test_test.ExampleTests)'
> E         Use -v to get more diff
> 
> tests/test_test.py:170: AssertionError
> _____________________ TestRunnerTests.test_failure_verbose 
> _____________________
> 
> self = <tests.test_test.TestRunnerTests testMethod=test_failure_verbose>
> 
>     def test_failure_verbose(self):
>         result = self.run_test("-v", "2", 
> f"{__name__}.ExampleTests.test_failure")
>         assert result.returncode == 1
>         lines = result.stderr.splitlines()
> >       assert lines[1:5] == [
>             "test_failure (tests.test_test.ExampleTests) ... FAIL",
>             "",
>             "─" * 80,
>             "FAIL: test_failure (tests.test_test.ExampleTests)",
>         ]
> E       AssertionError: assert ['test_failur...est_failure)'] == 
> ['test_failur...xampleTests)']
> E         At index 0 diff: 'test_failure 
> (tests.test_test.ExampleTests.test_failure) ... FAIL' != 'test_failure 
> (tests.test_test.ExampleTests) ... FAIL'
> E         Use -v to get more diff
> 
> tests/test_test.py:191: AssertionError
> ______________________ TestRunnerTests.test_pass_verbose 
> _______________________
> 
> self = <tests.test_test.TestRunnerTests testMethod=test_pass_verbose>
> 
>     def test_pass_verbose(self):
>         result = self.run_test("-v", "2", 
> f"{__name__}.ExampleTests.test_pass")
>         assert result.returncode == 0
>         lines = result.stderr.splitlines()
> >       assert lines[1:4] == [
>             "test_pass (tests.test_test.ExampleTests) ... ok",
>             "",
>             "-" * 70,
>         ]
> E       AssertionError: assert ['test_pass (...------------'] == ['test_pass 
> (...------------']
> E         At index 0 diff: 'test_pass 
> (tests.test_test.ExampleTests.test_pass) ... ok' != 'test_pass 
> (tests.test_test.ExampleTests) ... ok'
> E         Use -v to get more diff
> 
> tests/test_test.py:127: AssertionError
> ______________________ 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) ... "
>                     + "skipped 'some reason'"
>                 ),
>                 "",
>                 "-" * 70,
>             ]
>         else:
> >           assert lines[1:4] == [
>                 "test_skip (tests.test_test.ExampleTests) ... skipped 'some 
> reason'",
>                 "",
>                 "-" * 70,
>             ]
> E           assert ["test_skip (...------------'] == ["test_skip 
> (...------------']
> E             At index 0 diff: "test_skip 
> (tests.test_test.ExampleTests.test_skip) ... skipped 'some reason'" != 
> "test_skip (tests.test_test.ExampleTests) ... skipped 'some reason'"
> E             Use -v to get more diff
> 
> tests/test_test.py:228: AssertionError
> ________________ TestRunnerTests.test_unexpected_success_normal 
> ________________
> 
> self = <tests.test_test.TestRunnerTests 
> testMethod=test_unexpected_success_normal>
> 
>     def test_unexpected_success_normal(self):
>         result = 
> self.run_test(f"{__name__}.ExampleTests.test_unexpected_success")
>     
>         if django.VERSION >= (4, 1):
>             assert result.returncode == 1
>         else:
>             assert result.returncode == 0
>         lines = result.stderr.splitlines()
> >       assert lines[1:3] == [
>             "u",
>             "-" * 70,
>         ]
> E       AssertionError: assert ['u', '======...============'] == ['u', 
> '------...------------']
> E         At index 1 diff: 
> '======================================================================' != 
> '----------------------------------------------------------------------'
> E         Use -v to get more diff
> 
> tests/test_test.py:286: AssertionError
> ________________ TestRunnerTests.test_unexpected_success_quiet 
> _________________
> 
> self = <tests.test_test.TestRunnerTests 
> testMethod=test_unexpected_success_quiet>
> 
>     def test_unexpected_success_quiet(self):
>         result = self.run_test(
>             "-v", "0", f"{__name__}.ExampleTests.test_unexpected_success"
>         )
>     
>         if django.VERSION >= (4, 1):
>             assert result.returncode == 1
>         else:
>             assert result.returncode == 0
>         lines = result.stderr.splitlines()
> >       assert lines[:1] == ["-" * 70]
> E       AssertionError: assert ['===========...============'] == 
> ['-----------...------------']
> E         At index 0 diff: 
> '======================================================================' != 
> '----------------------------------------------------------------------'
> E         Use -v to get more diff
> 
> tests/test_test.py:276: AssertionError
> _______________ TestRunnerTests.test_unexpected_success_verbose 
> ________________
> 
> self = <tests.test_test.TestRunnerTests 
> testMethod=test_unexpected_success_verbose>
> 
>     def test_unexpected_success_verbose(self):
>         result = self.run_test(
>             "-v", "2", f"{__name__}.ExampleTests.test_unexpected_success"
>         )
>         if django.VERSION >= (4, 1):
>             assert result.returncode == 1
>         else:
>             assert result.returncode == 0
>         lines = result.stderr.splitlines()
> >       assert lines[1:4] == [
>             (
>                 "test_unexpected_success (tests.test_test.ExampleTests) "
>                 + "... unexpected success"
>             ),
>             "",
>             "-" * 70,
>         ]
> E       AssertionError: assert ['test_unexpe...============'] == 
> ['test_unexpe...------------']
> E         At index 0 diff: 'test_unexpected_success 
> (tests.test_test.ExampleTests.test_unexpected_success) ... unexpected 
> success' != 'test_unexpected_success (tests.test_test.ExampleTests) ... 
> unexpected success'
> E         Use -v to get more diff
> 
> tests/test_test.py:300: AssertionError
> =========================== short test summary info 
> ============================
> FAILED tests/test_test.py::TestRunnerTests::test_does_not_exist - 
> AssertionEr...
> FAILED tests/test_test.py::TestRunnerTests::test_error_normal - 
> AssertionErro...
> FAILED tests/test_test.py::TestRunnerTests::test_error_quiet - 
> AssertionError...
> FAILED tests/test_test.py::TestRunnerTests::test_error_verbose - 
> AssertionErr...
> FAILED tests/test_test.py::TestRunnerTests::test_expected_failure_verbose - 
> A...
> FAILED tests/test_test.py::TestRunnerTests::test_failure_normal - 
> AssertionEr...
> FAILED tests/test_test.py::TestRunnerTests::test_failure_quiet - 
> AssertionErr...
> FAILED tests/test_test.py::TestRunnerTests::test_failure_verbose - 
> AssertionE...
> FAILED tests/test_test.py::TestRunnerTests::test_pass_verbose - 
> AssertionErro...
> FAILED tests/test_test.py::TestRunnerTests::test_skip_verbose - assert 
> ["test...
> FAILED tests/test_test.py::TestRunnerTests::test_unexpected_success_normal - 
> ...
> FAILED tests/test_test.py::TestRunnerTests::test_unexpected_success_quiet - 
> A...
> FAILED tests/test_test.py::TestRunnerTests::test_unexpected_success_verbose
> ================== 13 failed, 22 passed, 13 skipped in 26.91s 
> ==================
> E: pybuild pybuild:388: test: plugin custom failed with: exit code=1: 
> python3.10 -m coverage run -m pytest tests
> I: pybuild base:240: python3.11 -m coverage run -m pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0+repack
> 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 ......FFFF..F.FFF..F...FFFF                           
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _____________________ TestRunnerTests.test_does_not_exist 
> ______________________
> 
> self = <tests.test_test.TestRunnerTests testMethod=test_does_not_exist>
> 
>     def test_does_not_exist(self):
>         result = self.run_test("does_not_exist")
>         assert result.returncode == 1
>         lines = result.stderr.splitlines()
> >       assert lines[:6] == [
>             "E",
>             "─" * 80,
>             "ERROR: does_not_exist (unittest.loader._FailedTest)",
>             "─" * 80,
>             "ImportError: Failed to import test module: does_not_exist",
>             "Traceback (most recent call last):",
>         ]
> E       AssertionError: assert ['E', '──────... call last):'] == ['E', 
> '──────... call last):']
> E         At index 2 diff: 'ERROR: does_not_exist 
> (unittest.loader._FailedTest.does_not_exist)' != 'ERROR: does_not_exist 
> (unittest.loader._FailedTest)'
> E         Use -v to get more diff
> 
> tests/test_test.py:99: AssertionError
> ______________________ TestRunnerTests.test_error_normal 
> _______________________
> 
> self = <tests.test_test.TestRunnerTests testMethod=test_error_normal>
> 
>     def test_error_normal(self):
>         result = self.run_test(f"{__name__}.ExampleTests.test_error")
>         assert result.returncode == 1
>         lines = result.stderr.splitlines()
> >       assert lines[1:4] == [
>             "E",
>             "─" * 80,
>             "ERROR: test_error (tests.test_test.ExampleTests)",
>         ]
> E       AssertionError: assert ['E', '──────....test_error)'] == ['E', 
> '──────...xampleTests)']
> E         At index 2 diff: 'ERROR: test_error 
> (tests.test_test.ExampleTests.test_error)' != 'ERROR: test_error 
> (tests.test_test.ExampleTests)'
> E         Use -v to get more diff
> 
> tests/test_test.py:147: AssertionError
> _______________________ TestRunnerTests.test_error_quiet 
> _______________________
> 
> self = <tests.test_test.TestRunnerTests testMethod=test_error_quiet>
> 
>     def test_error_quiet(self):
>         result = self.run_test("-v", "0", 
> f"{__name__}.ExampleTests.test_error")
>         assert result.returncode == 1
>         lines = result.stderr.splitlines()
> >       assert lines[:2] == [
>             "─" * 80,
>             "ERROR: test_error (tests.test_test.ExampleTests)",
>         ]
> E       AssertionError: assert ['───────────....test_error)'] == 
> ['───────────...xampleTests)']
> E         At index 1 diff: 'ERROR: test_error 
> (tests.test_test.ExampleTests.test_error)' != 'ERROR: test_error 
> (tests.test_test.ExampleTests)'
> E         Use -v to get more diff
> 
> tests/test_test.py:137: AssertionError
> ______________________ TestRunnerTests.test_error_verbose 
> ______________________
> 
> self = <tests.test_test.TestRunnerTests testMethod=test_error_verbose>
> 
>     def test_error_verbose(self):
>         result = self.run_test("-v", "2", 
> f"{__name__}.ExampleTests.test_error")
>         assert result.returncode == 1
>         lines = result.stderr.splitlines()
> >       assert lines[1:5] == [
>             "test_error (tests.test_test.ExampleTests) ... ERROR",
>             "",
>             "─" * 80,
>             "ERROR: test_error (tests.test_test.ExampleTests)",
>         ]
> E       AssertionError: assert ['test_error ....test_error)'] == ['test_error 
> ...xampleTests)']
> E         At index 0 diff: 'test_error 
> (tests.test_test.ExampleTests.test_error) ... ERROR' != 'test_error 
> (tests.test_test.ExampleTests) ... ERROR'
> E         Use -v to get more diff
> 
> tests/test_test.py:158: AssertionError
> ________________ TestRunnerTests.test_expected_failure_verbose 
> _________________
> 
> self = <tests.test_test.TestRunnerTests 
> testMethod=test_expected_failure_verbose>
> 
>     def test_expected_failure_verbose(self):
>         result = self.run_test(
>             "-v", "2", f"{__name__}.ExampleTests.test_expected_failure"
>         )
>         assert result.returncode == 0
>         lines = result.stderr.splitlines()
> >       assert lines[1:4] == [
>             (
>                 "test_expected_failure (tests.test_test.ExampleTests)"
>                 + " ... expected failure"
>             ),
>             "",
>             "-" * 70,
>         ]
> E       AssertionError: assert ['test_expect...------------'] == 
> ['test_expect...------------']
> E         At index 0 diff: 'test_expected_failure 
> (tests.test_test.ExampleTests.test_expected_failure) ... expected failure' != 
> 'test_expected_failure (tests.test_test.ExampleTests) ... expected failure'
> E         Use -v to get more diff
> 
> tests/test_test.py:257: AssertionError
> _____________________ TestRunnerTests.test_failure_normal 
> ______________________
> 
> self = <tests.test_test.TestRunnerTests testMethod=test_failure_normal>
> 
>     def test_failure_normal(self):
>         result = self.run_test(f"{__name__}.ExampleTests.test_failure")
>         assert result.returncode == 1
>         lines = result.stderr.splitlines()
> >       assert lines[1:4] == [
>             "F",
>             "─" * 80,
>             "FAIL: test_failure (tests.test_test.ExampleTests)",
>         ]
> E       AssertionError: assert ['F', '──────...est_failure)'] == ['F', 
> '──────...xampleTests)']
> E         At index 2 diff: 'FAIL: test_failure 
> (tests.test_test.ExampleTests.test_failure)' != 'FAIL: test_failure 
> (tests.test_test.ExampleTests)'
> E         Use -v to get more diff
> 
> tests/test_test.py:180: AssertionError
> ______________________ TestRunnerTests.test_failure_quiet 
> ______________________
> 
> self = <tests.test_test.TestRunnerTests testMethod=test_failure_quiet>
> 
>     def test_failure_quiet(self):
>         result = self.run_test("-v", "0", 
> f"{__name__}.ExampleTests.test_failure")
>         assert result.returncode == 1
>         lines = result.stderr.splitlines()
> >       assert lines[:2] == [
>             "─" * 80,
>             "FAIL: test_failure (tests.test_test.ExampleTests)",
>         ]
> E       AssertionError: assert ['───────────...est_failure)'] == 
> ['───────────...xampleTests)']
> E         At index 1 diff: 'FAIL: test_failure 
> (tests.test_test.ExampleTests.test_failure)' != 'FAIL: test_failure 
> (tests.test_test.ExampleTests)'
> E         Use -v to get more diff
> 
> tests/test_test.py:170: AssertionError
> _____________________ TestRunnerTests.test_failure_verbose 
> _____________________
> 
> self = <tests.test_test.TestRunnerTests testMethod=test_failure_verbose>
> 
>     def test_failure_verbose(self):
>         result = self.run_test("-v", "2", 
> f"{__name__}.ExampleTests.test_failure")
>         assert result.returncode == 1
>         lines = result.stderr.splitlines()
> >       assert lines[1:5] == [
>             "test_failure (tests.test_test.ExampleTests) ... FAIL",
>             "",
>             "─" * 80,
>             "FAIL: test_failure (tests.test_test.ExampleTests)",
>         ]
> E       AssertionError: assert ['test_failur...est_failure)'] == 
> ['test_failur...xampleTests)']
> E         At index 0 diff: 'test_failure 
> (tests.test_test.ExampleTests.test_failure) ... FAIL' != 'test_failure 
> (tests.test_test.ExampleTests) ... FAIL'
> E         Use -v to get more diff
> 
> tests/test_test.py:191: AssertionError
> ______________________ TestRunnerTests.test_pass_verbose 
> _______________________
> 
> self = <tests.test_test.TestRunnerTests testMethod=test_pass_verbose>
> 
>     def test_pass_verbose(self):
>         result = self.run_test("-v", "2", 
> f"{__name__}.ExampleTests.test_pass")
>         assert result.returncode == 0
>         lines = result.stderr.splitlines()
> >       assert lines[1:4] == [
>             "test_pass (tests.test_test.ExampleTests) ... ok",
>             "",
>             "-" * 70,
>         ]
> E       AssertionError: assert ['test_pass (...------------'] == ['test_pass 
> (...------------']
> E         At index 0 diff: 'test_pass 
> (tests.test_test.ExampleTests.test_pass) ... ok' != 'test_pass 
> (tests.test_test.ExampleTests) ... ok'
> E         Use -v to get more diff
> 
> tests/test_test.py:127: AssertionError
> ______________________ 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) ... "
>                     + "skipped 'some reason'"
>                 ),
>                 "",
>                 "-" * 70,
>             ]
> E           assert ["test_skip (...------------'] == ["test_skip 
> (...------------']
> E             At index 0 diff: "test_skip 
> (tests.test_test.ExampleTests.test_skip) ... skipped 'some reason'" != 
> "test_skip (tests.test_test.ExampleTests) ... skipped 'some reason'"
> E             Use -v to get more diff
> 
> tests/test_test.py:219: AssertionError
> ________________ TestRunnerTests.test_unexpected_success_normal 
> ________________
> 
> self = <tests.test_test.TestRunnerTests 
> testMethod=test_unexpected_success_normal>
> 
>     def test_unexpected_success_normal(self):
>         result = 
> self.run_test(f"{__name__}.ExampleTests.test_unexpected_success")
>     
>         if django.VERSION >= (4, 1):
>             assert result.returncode == 1
>         else:
>             assert result.returncode == 0
>         lines = result.stderr.splitlines()
> >       assert lines[1:3] == [
>             "u",
>             "-" * 70,
>         ]
> E       AssertionError: assert ['u', '======...============'] == ['u', 
> '------...------------']
> E         At index 1 diff: 
> '======================================================================' != 
> '----------------------------------------------------------------------'
> E         Use -v to get more diff
> 
> tests/test_test.py:286: AssertionError
> ________________ TestRunnerTests.test_unexpected_success_quiet 
> _________________
> 
> self = <tests.test_test.TestRunnerTests 
> testMethod=test_unexpected_success_quiet>
> 
>     def test_unexpected_success_quiet(self):
>         result = self.run_test(
>             "-v", "0", f"{__name__}.ExampleTests.test_unexpected_success"
>         )
>     
>         if django.VERSION >= (4, 1):
>             assert result.returncode == 1
>         else:
>             assert result.returncode == 0
>         lines = result.stderr.splitlines()
> >       assert lines[:1] == ["-" * 70]
> E       AssertionError: assert ['===========...============'] == 
> ['-----------...------------']
> E         At index 0 diff: 
> '======================================================================' != 
> '----------------------------------------------------------------------'
> E         Use -v to get more diff
> 
> tests/test_test.py:276: AssertionError
> _______________ TestRunnerTests.test_unexpected_success_verbose 
> ________________
> 
> self = <tests.test_test.TestRunnerTests 
> testMethod=test_unexpected_success_verbose>
> 
>     def test_unexpected_success_verbose(self):
>         result = self.run_test(
>             "-v", "2", f"{__name__}.ExampleTests.test_unexpected_success"
>         )
>         if django.VERSION >= (4, 1):
>             assert result.returncode == 1
>         else:
>             assert result.returncode == 0
>         lines = result.stderr.splitlines()
> >       assert lines[1:4] == [
>             (
>                 "test_unexpected_success (tests.test_test.ExampleTests) "
>                 + "... unexpected success"
>             ),
>             "",
>             "-" * 70,
>         ]
> E       AssertionError: assert ['test_unexpe...============'] == 
> ['test_unexpe...------------']
> E         At index 0 diff: 'test_unexpected_success 
> (tests.test_test.ExampleTests.test_unexpected_success) ... unexpected 
> success' != 'test_unexpected_success (tests.test_test.ExampleTests) ... 
> unexpected success'
> E         Use -v to get more diff
> 
> tests/test_test.py:300: AssertionError
> =============================== warnings summary 
> ===============================
> ../../../usr/lib/python3/dist-packages/django/http/request.py:1
>   /usr/lib/python3/dist-packages/django/http/request.py:1: 
> DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
>     import cgi
> 
> ../../../usr/lib/python3/dist-packages/django/utils/encoding.py:266
>   /usr/lib/python3/dist-packages/django/utils/encoding.py:266: 
> DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead
>     encoding = locale.getdefaultlocale()[1] or 'ascii'
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info 
> ============================
> FAILED tests/test_test.py::TestRunnerTests::test_does_not_exist - 
> AssertionEr...
> FAILED tests/test_test.py::TestRunnerTests::test_error_normal - 
> AssertionErro...
> FAILED tests/test_test.py::TestRunnerTests::test_error_quiet - 
> AssertionError...
> FAILED tests/test_test.py::TestRunnerTests::test_error_verbose - 
> AssertionErr...
> FAILED tests/test_test.py::TestRunnerTests::test_expected_failure_verbose - 
> A...
> FAILED tests/test_test.py::TestRunnerTests::test_failure_normal - 
> AssertionEr...
> FAILED tests/test_test.py::TestRunnerTests::test_failure_quiet - 
> AssertionErr...
> FAILED tests/test_test.py::TestRunnerTests::test_failure_verbose - 
> AssertionE...
> FAILED tests/test_test.py::TestRunnerTests::test_pass_verbose - 
> AssertionErro...
> FAILED tests/test_test.py::TestRunnerTests::test_skip_verbose - assert 
> ["test...
> FAILED tests/test_test.py::TestRunnerTests::test_unexpected_success_normal - 
> ...
> FAILED tests/test_test.py::TestRunnerTests::test_unexpected_success_quiet - 
> A...
> FAILED tests/test_test.py::TestRunnerTests::test_unexpected_success_verbose
> ============ 13 failed, 22 passed, 13 skipped, 2 warnings in 27.79s 
> ============
> E: pybuild pybuild:388: test: plugin custom failed with: exit code=1: 
> python3.11 -m coverage run -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.10 
> 3.11" --system=custom "--test-args={interpreter} -m coverage run -m pytest 
> tests" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/01/13/django-rich_1.4.0-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&fusertaguser=lu...@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.

--- End Message ---
--- Begin Message ---
Source: django-rich
Source-Version: 1.4.0-5
Done: Carsten Schoenert <c.schoen...@t-online.de>

We believe that the bug you reported is fixed in the latest version of
django-rich, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1028...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Carsten Schoenert <c.schoen...@t-online.de> (supplier of updated django-rich 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 15 Jan 2023 08:24:53 +0100
Source: django-rich
Architecture: source
Version: 1.4.0-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Carsten Schoenert <c.schoen...@t-online.de>
Closes: 1028847
Changes:
 django-rich (1.4.0-5) unstable; urgency=medium
 .
   * [a7eab76] Rebuild patch queue from patch-queue branch
     Added patch:
     tests-Another-bunch-of-adoptions-for-Python-3.11.patch
     (Closes: #1028847)
   * [de134ad] d/control: Bump Standards-Version to 4.6.2
     No further changes needed.
   * [9c431c1] d/control: Reorder some build dependencies
   * [b4a7dd9] d/copyright: Update year data
Checksums-Sha1:
 1ae5684004aea33a616f535ec89006db5778b9c7 2408 django-rich_1.4.0-5.dsc
 60311dfdd4e9e0c7bcf3497f2019164e22f91422 5864 django-rich_1.4.0-5.debian.tar.xz
 5ef7fa2f88c62e985d136063d2cae3c1a73ff3a8 7430 
django-rich_1.4.0-5_amd64.buildinfo
Checksums-Sha256:
 faf444c747dc40ac72969085784755daa49c807c2ffd3dfb83c7ff690d74813d 2408 
django-rich_1.4.0-5.dsc
 5a9de34c4c964b0bd821004742cb0f959bd770c8c151a390c889355f3db52524 5864 
django-rich_1.4.0-5.debian.tar.xz
 1d73b022e61b0526a788222ed013dfc83c18407ec90414c87a5e816106401058 7430 
django-rich_1.4.0-5_amd64.buildinfo
Files:
 f53e845c23d3a91aac6f48462d401804 2408 python optional django-rich_1.4.0-5.dsc
 22c4a1f9e9b6a769545fae09f71d5f73 5864 python optional 
django-rich_1.4.0-5.debian.tar.xz
 b162ffc394b5c104b8c33ea868d1dd16 7430 python optional 
django-rich_1.4.0-5_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJMBAEBCgA2FiEEtw38bxNP7PwBHmKqgwFgFCUdHbAFAmPDrLoYHGMuc2Nob2Vu
ZXJ0QHQtb25saW5lLmRlAAoJEIMBYBQlHR2wwpQP/RawrCUC3FYpY5c9yWNm1ij6
HDC8xG1TOhf7i+jJpwN9GSbXEpSpHz35NjubLP5bPxeXOcgvOncj6blTpiAYyum4
EI4+hp36hPMSZLWbMdA1JhnmBuyZRf/KBtCLQv5HZRqW5d9Vj9704yNaqebvRGJ1
ZX5tGsK5e9SVtgmAtnwEJ2GExWPxIeWPxTo9uzKrlLEZFqavExzgIqNQxrCCIUdO
VwERoIvoZzkTzR4mUL0ELZSDaiJePaEzoV3f6c/CaHSi7C9VXwsRiw8DCrmJ3kMC
yWH6xO5juTP8iWBt2qNcVev50QUDWK6nj7WOxMjsTKyeYAUBdDgyFK/Zlxa5YcwS
IYB7qctLkuBSbDngGS3gvEGmcm5It8//NKUwrj7rE6TVHSiUktadoMEI6/gUOZXU
eErJeBBXgKTIiJ2ytDr5oYTZYFvXt5/Xxo4U5PmTKwplMojFqCwSd5Vm0uNWcwt1
XPQZY5ZdT/++SdJaO33gliLn0RfNoMtn/Mz+zjZ9OIv9rJqMySI5s7EU4yMg0liC
c2Dr75ThubkcqWKsg+MGvzT1KQO+AOtIcA0BHqJK/gCUIldNEHmAXCeupIDtHHyv
xKAMpQ4hR7abB6YZyzxv7Ct/9Zq1uPQhMTackbaNDxsJhAobbNcn0OlooM1ayXvK
pwKfC0p/c2+NKLRQ9SuL
=jbdi
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to