Source: ipython-genutils
Version: 0.2.0-5
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
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>>'
> PYBUILD_SYSTEM=custom dh_auto_test
> I: pybuild base:310: python3.12 -m nose
> /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no
> addDuration method
> warnings.warn("TestResult has no addDuration method",
> ...EEEEES........
> ======================================================================
> ERROR: ipython_genutils.tests.test_path.TestLinkOrCopy.test_link_into_dir
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
> self.test(*self.arg)
> File "/<<PKGBUILDDIR>>/ipython_genutils/testing/decorators.py", line 186,
> in skipper_func
> return f(*args, **kwargs)
> ^^^^^^^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/ipython_genutils/tests/test_path.py", line 74, in
> test_link_into_dir
> self.assert_inode_equal(self.src, expected_dst)
> File "/<<PKGBUILDDIR>>/ipython_genutils/tests/test_path.py", line 54, in
> assert_inode_equal
> nt.assert_equals(os.stat(a).st_ino, os.stat(b).st_ino,
> ^^^^^^^^^^^^^^^^
> AttributeError: module 'nose.tools' has no attribute 'assert_equals'. Did you
> mean: 'assert_equal'?
>
> ======================================================================
> ERROR: ipython_genutils.tests.test_path.TestLinkOrCopy.test_link_successful
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
> self.test(*self.arg)
> File "/<<PKGBUILDDIR>>/ipython_genutils/testing/decorators.py", line 186,
> in skipper_func
> return f(*args, **kwargs)
> ^^^^^^^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/ipython_genutils/tests/test_path.py", line 66, in
> test_link_successful
> self.assert_inode_equal(self.src, dst)
> File "/<<PKGBUILDDIR>>/ipython_genutils/tests/test_path.py", line 54, in
> assert_inode_equal
> nt.assert_equals(os.stat(a).st_ino, os.stat(b).st_ino,
> ^^^^^^^^^^^^^^^^
> AttributeError: module 'nose.tools' has no attribute 'assert_equals'. Did you
> mean: 'assert_equal'?
>
> ======================================================================
> ERROR: ipython_genutils.tests.test_path.TestLinkOrCopy.test_link_twice
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
> self.test(*self.arg)
> File "/<<PKGBUILDDIR>>/ipython_genutils/tests/test_path.py", line 107, in
> test_link_twice
> self.assert_inode_equal(self.src, dst)
> File "/<<PKGBUILDDIR>>/ipython_genutils/tests/test_path.py", line 54, in
> assert_inode_equal
> nt.assert_equals(os.stat(a).st_ino, os.stat(b).st_ino,
> ^^^^^^^^^^^^^^^^
> AttributeError: module 'nose.tools' has no attribute 'assert_equals'. Did you
> mean: 'assert_equal'?
>
> ======================================================================
> ERROR: ipython_genutils.tests.test_path.TestLinkOrCopy.test_no_link
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
> self.test(*self.arg)
> File "/<<PKGBUILDDIR>>/ipython_genutils/testing/decorators.py", line 186,
> in skipper_func
> return f(*args, **kwargs)
> ^^^^^^^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/ipython_genutils/tests/test_path.py", line 90, in
> test_no_link
> self.assert_content_equal(self.src, dst)
> File "/<<PKGBUILDDIR>>/ipython_genutils/tests/test_path.py", line 60, in
> assert_content_equal
> nt.assert_equals(a_f.read(), b_f.read())
> ^^^^^^^^^^^^^^^^
> AttributeError: module 'nose.tools' has no attribute 'assert_equals'. Did you
> mean: 'assert_equal'?
>
> ======================================================================
> ERROR: ipython_genutils.tests.test_path.TestLinkOrCopy.test_target_exists
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
> self.test(*self.arg)
> File "/<<PKGBUILDDIR>>/ipython_genutils/testing/decorators.py", line 186,
> in skipper_func
> return f(*args, **kwargs)
> ^^^^^^^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/ipython_genutils/tests/test_path.py", line 81, in
> test_target_exists
> self.assert_inode_equal(self.src, dst)
> File "/<<PKGBUILDDIR>>/ipython_genutils/tests/test_path.py", line 54, in
> assert_inode_equal
> nt.assert_equals(os.stat(a).st_ino, os.stat(b).st_ino,
> ^^^^^^^^^^^^^^^^
> AttributeError: module 'nose.tools' has no attribute 'assert_equals'. Did you
> mean: 'assert_equal'?
>
> ----------------------------------------------------------------------
> Ran 17 tests in 0.047s
>
> FAILED (SKIP=1, errors=5)
> E: pybuild pybuild:395: test: plugin custom failed with: exit code=1:
> python3.12 -m nose
> I: pybuild base:310: python3.11 -m nose
> ........S........
> ----------------------------------------------------------------------
> Ran 17 tests in 0.051s
>
> OK (SKIP=1)
> dh_auto_test: error: pybuild --test --test-nose -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/ipython-genutils_0.2.0-5_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&[email protected]&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.