Source: python-semver Version: 2.10.2-2 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20211220 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>>' > make[1]: pyversions: No such file or directory > py3versions: no X-Python3-Version in control file, using supported versions > set -e ; for pyvers in 3.10 3.9; do \ > PYTHONPATH=/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages > python$pyvers -m pytest . ; \ > done > ============================= test session starts > ============================== > platform linux -- Python 3.10.1, pytest-6.2.5, py-1.10.0, pluggy-0.13.0 > rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg > plugins: cov-3.0.0 > collected 308 items > > README.rst . [ > 0%] > semver.py ............................. [ > 9%] > test_semver.py ......................................................... [ > 28%] > ........................................................................ [ > 51%] > ........................................................................ [ > 75%] > ........................................................................ [ > 98%] > ... [ > 99%] > docs/development.rst . [ > 99%] > docs/usage.rst F > [100%] > > =================================== FAILURES > =================================== > _____________________________ [doctest] usage.rst > ______________________________ > 431 True > 432 > 433 The opposite does also work:: > 434 > 435 >>> dict(major=1) < v > 436 True > 437 > 438 If the dictionary contains unknown keys, you get a :class:`TypeError` > exception:: > 439 > 440 >>> v > dict(major=1, unknown=42) > Differences (ndiff with -expected +actual): > Traceback (most recent call last): > - ... > + File "/usr/lib/python3.10/doctest.py", line 1346, in __run > + exec(compile(example.source, filename, "single", > + File "<doctest usage.rst[72]>", line 1, in <module> > + v > dict(major=1, unknown=42) > + File "/<<PKGBUILDDIR>>/semver.py", line 152, in wrapper > + return operator(self, other) > + File "/<<PKGBUILDDIR>>/semver.py", line 523, in __gt__ > + return self.compare(other) > 0 > + File "/<<PKGBUILDDIR>>/semver.py", line 429, in compare > + other = cls(**other) > - TypeError: __init__() got an unexpected keyword argument 'unknown' > + TypeError: VersionInfo.__init__() got an unexpected keyword argument > 'unknown' > ? ++++++++++++ > > /<<PKGBUILDDIR>>/docs/usage.rst:440: DocTestFailure > =========================== short test summary info > ============================ > FAILED docs/usage.rst::usage.rst > ======================== 1 failed, 307 passed in 0.55s > ========================= > make[1]: *** [debian/rules:15: override_dh_auto_test] Error 1 The full build log is available from: http://qa-logs.debian.net/2021/12/20/python-semver_2.10.2-2_unstable.log 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 marking 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.