Hi Andreas,
yes: the tests for the Python package fail because they depend on which
packages are in the astro-education task. Specifically, the "starplot"
package was removed from Debian after Bookworm.
I now updated the debian-astro Blends package to reflect the package
changes after Bookworm. It needs to migrate to testing (because the
"testing" list is used in the tests, as the whole blends machinery is
based on "testing"), and then I will upload a blends-dev package with
the tests fixed.
astro-education evolves rather slowly, that's why I have chosen this one
for the test.
Cheers
Ole
On 01.11.23 10:29, Andreas Tille wrote:
Hi,
any idea what might be wrong here?
Kind regards
Andreas.
Am Fri, Oct 27, 2023 at 09:29:30PM +0200 schrieb Lucas Nussbaum:
Source: blends
Version: 0.7.5
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231027 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 '/<>'
pytest-3 --doctest-modules
= test session starts ==
platform linux -- Python 3.11.6, pytest-7.4.3, pluggy-1.3.0
rootdir: /<>
collected 8 items
blends.py F..F [100%]
=== FAILURES ===
[doctest] blends.Task.fix_dependencies
469 celestia-gnome | celestia-glut
470 starplot
471 gravit
472 >>> for dep in task.suggests:
473 ... print(dep.rawstr)
474 sunclock
475 xtide
476 >>> task += apt.Cache()
477 >>> missing = task.fix_dependencies()
478 >>> for dep in task.recommends:
Expected:
starplot
gravit
Got:
gravit
/<>/blends.py:478: DocTestFailure
_ [doctest] blends.Task.update _
434 Instead of using ``update()``, also the ``+=`` operator can be used:
435
436 >>> import apt
437 >>> with open('education') as fp:
438 ... task = Task('debian-astro', 'education', fp)
439 >>> dep = task.recommends[1][0]
440 >>> print(dep.name + ": ", dep.summary)
441 starplot: None
442 >>> task += apt.Cache()
443 >>> print(dep.name + ": ", dep.summary)
Expected:
starplot: 3-dimensional perspective star map viewer
Got:
starplot: None
/<>/blends.py:443: DocTestFailure
=== short test summary info
FAILED blends.py::blends.Task.fix_dependencies
FAILED blends.py::blends.Task.update
= 2 failed, 6 passed in 0.95s ==
make[1]: *** [debian/rules:20: override_dh_auto_test] Error 1
The full build log is available from:
http://qa-logs.debian.net/2023/10/27/blends_0.7.5_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231027;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na=ign=7=7=only=ftbfs-20231027=lu...@debian.org=1=1=1=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.