Source: pyrcb2 Version: 0.6.2-2 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20231212 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > cd docs && \ > PYTHONPATH=/<<PKGBUILDDIR>> http_proxy='http://127.0.0.1:9/' > https_proxy='https://127.0.0.1:9/' \ > sphinx-build -N -E -T -b html . /<<PKGBUILDDIR>>/.pybuild/docs/html/ > Running Sphinx v7.2.6 > WARNING: Invalid configuration value found: 'language = None'. Update your > configuration to a valid language code. Falling back to 'en' (English). > making output directory... done > loading intersphinx inventory from https://docs.python.org/3/objects.inv... > WARNING: failed to reach any of the inventories with the following issues: > intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable > due to <class 'requests.exceptions.ProxyError'>: > HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded > with url: /3/objects.inv (Caused by ProxyError('Cannot connect to proxy.', > NewConnectionError('<urllib3.connection.HTTPSConnection object at > 0x7f19e1867e50>: Failed to establish a new connection: [Errno 111] Connection > refused'))) > building [mo]: targets for 0 po files that are out of date > writing output... > building [html]: targets for 16 source files that are out of date > updating environment: [new config] 16 added, 0 changed, 0 removed > [2Kreading sources... [ 6%] custom-commands > [2Kreading sources... [ 12%] getting-started > [2Kreading sources... [ 19%] index > [2Kreading sources... [ 25%] installation > [2Kreading sources... [ 31%] reference/bots > [2Kreading sources... [ 38%] reference/index > [2Kreading sources... [ 44%] reference/itypes > [2Kreading sources... [ 50%] reference/messages > [2Kreading sources... [ 56%] reference/other > [2Kreading sources... [ 62%] release-notes/0.1 > [2Kreading sources... [ 69%] release-notes/0.2 > [2Kreading sources... [ 75%] release-notes/0.3 > [2Kreading sources... [ 81%] release-notes/0.4 > [2Kreading sources... [ 88%] release-notes/0.5 > [2Kreading sources... [ 94%] release-notes/0.6 > [2Kreading sources... [100%] release-notes/index > > 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 > [2Kwriting output... [ 6%] custom-commands > [2Kwriting output... [ 12%] getting-started > [2Kwriting output... [ 19%] index > [2Kwriting output... [ 25%] installation > [2Kwriting output... [ 31%] reference/bots > [2Kwriting output... [ 38%] reference/index > [2Kwriting output... [ 44%] reference/itypes > [2Kwriting output... [ 50%] reference/messages > [2Kwriting output... [ 56%] reference/other > [2Kwriting output... [ 62%] release-notes/0.1 > [2Kwriting output... [ 69%] release-notes/0.2 > [2Kwriting output... [ 75%] release-notes/0.3 > [2Kwriting output... [ 81%] release-notes/0.4 > [2Kwriting output... [ 88%] release-notes/0.5 > [2Kwriting output... [ 94%] release-notes/0.6 > [2Kwriting output... [100%] release-notes/index > > generating indices... genindex py-modindex done > writing additional pages... search done > dumping search index in English (code: en)... done > dumping object inventory... done > build succeeded, 2 warnings. > > The HTML pages are in ../.pybuild/docs/html. > rm -rf /<<PKGBUILDDIR>>/.pybuild/docs/html/.doctrees > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyrcb2/build; > python3.12 -m pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0 > rootdir: /<<PKGBUILDDIR>> > collected 36 items > > tests/test_accounts.py ......................... [ > 69%] > tests/test_itypes.py F...F...... > [100%] > > =================================== FAILURES > =================================== > _________________________ TestItypes.test_idefaultdict > _________________________ > > self = <tests.test_itypes.TestItypes testMethod=test_idefaultdict> > > def test_idefaultdict(self): > self.test_idict(cls=partial(IDefaultDict, None)) > with self.assertRaises(TypeError): > IDefaultDict("test") > d = IDefaultDict(int) > self.assertEqual(d["test"], 0) > self.assertEqual(d["test"], 0) > expected_repr = "IDefaultDict(%r, [(IStr('test'), 0)])" % int > > self.assertEqual(repr(d), expected_repr) > E AssertionError: "IDefaultDict(<class 'int'>, {IStr('test'): 0})" != > "IDefaultDict(<class 'int'>, [(IStr('test'), 0)])" > E - IDefaultDict(<class 'int'>, {IStr('test'): 0}) > E ? ^ ^ ^ > E + IDefaultDict(<class 'int'>, [(IStr('test'), 0)]) > E ? ^^ ^ ^^ > > tests/test_itypes.py:62: AssertionError > ____________________________ TestItypes.test_idict > _____________________________ > > self = <tests.test_itypes.TestItypes testMethod=test_idict> > cls = <class 'pyrcb2.itypes.IDict'> > > def test_idict(self, cls=IDict): > d = cls(test=20) > d["Test^"] = 10 > d["TEST~"] += 5 > self.assertEqual(d["Test"], 20) > self.assertEqual(d["TEST~"], 15) > self.assertEqual(str(list(d.keys())[1]), "Test^") > if cls is IDict: > expected_repr = "IDict([(IStr('test'), 20), (IStr('Test^'), 15)])" > > self.assertEqual(repr(d), expected_repr) > E AssertionError: "IDict({IStr('test'): 20, IStr('Test^'): 15})" != > "IDict([(IStr('test'), 20), (IStr('Test^'), 15)])" > E - IDict({IStr('test'): 20, IStr('Test^'): 15}) > E ? ^ ^ ^ ^ > E + IDict([(IStr('test'), 20), (IStr('Test^'), 15)]) > E ? ^^ ^ + + ^ ^^ > > tests/test_itypes.py:52: AssertionError > =============================== warnings summary > =============================== > .pybuild/cpython3_3.12_pyrcb2/build/tests/test_accounts.py::TestAccountTracker::test_account_known > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyrcb2/build/tests/tests.py:90: > DeprecationWarning: There is no current event loop > loop = asyncio.get_event_loop() > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > =========================== short test summary info > ============================ > FAILED tests/test_itypes.py::TestItypes::test_idefaultdict - AssertionError: > ... > FAILED tests/test_itypes.py::TestItypes::test_idict - AssertionError: > "IDict(... > =================== 2 failed, 34 passed, 1 warning in 0.61s > ==================== > E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyrcb2/build; python3.12 -m pytest > tests > I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pyrcb2/build; > python3.11 -m pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0 > rootdir: /<<PKGBUILDDIR>> > collected 36 items > > tests/test_accounts.py ......................... [ > 69%] > tests/test_itypes.py ........... > [100%] > > ============================== 36 passed in 0.54s > ============================== > 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/2023/12/12/pyrcb2_0.6.2-2_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&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.