Fedora Account System
Red Hat Associate
Red Hat Customer
python-autopage fails to build in Fedora Rawhide. There is 8 test failures with very similar symptoms: ________________________ InvokePagerTest.test_exception ________________________ self = <autopage.tests.test_end_to_end.InvokePagerTest testMethod=test_exception> def test_exception(self) -> None: num_lines = 50 with isolation.isolate(with_exception) as env: pager = isolation.PagerControl(env) lines = num_lines while lines > 0: expected = min(lines, MAX_LINES_PER_PAGE) > self.assertEqual(expected, pager.advance()) E AssertionError: 23 != 50 autopage/tests/test_end_to_end.py:226: AssertionError ----------------------------- Captured stderr call ----------------------------- Raw output: ['0\n', '1\n', '2\n', '3\n', '4\n', '5\n', '6\n', '7\n', '8\n', '9\n', '10\n', '11\n', '12\n', '13\n', '14\n', '15\n', '16\n', '17\n', '18\n', '19\n', '20\n', '21\n', '22\n', '23\n', '24\n', '25\n', '26\n', '27\n', '28\n', '29\n', '30\n', '31\n', '32\n', '33\n', '34\n', '35\n', '36\n', '37\n', '38\n', '39\n', '40\n', '41\n', '42\n', '43\n', '44\n', '45\n', '46\n', '47\n', '48\n', '49\n'] Recorded output: ['0\n', '1\n', '2\n', '3\n', '4\n', '5\n', '6\n', '7\n', '8\n', '9\n', '10\n', '11\n', '12\n', '13\n', '14\n', '15\n', '16\n', '17\n', '18\n', '19\n', '20\n', '21\n', '22\n', '23\n', '24\n', '25\n', '26\n', '27\n', '28\n', '29\n', '30\n', '31\n', '32\n', '33\n', '34\n', '35\n', '36\n', '37\n', '38\n', '39\n', '40\n', '41\n', '42\n', '43\n', '44\n', '45\n', '46\n', '47\n', '48\n', '49\n'] How to reproduce: fedpkg mockbuild
https://src.fedoraproject.org/rpms/python-autopage/pull-request/2
Thanks Karolina, adding a build dependency on less makes sense; merged.