[Bug 1823657] Re: distro-info ftbfs with cosmic toolchain updates
Matthias Klose
doko at ubuntu.com
Mon Apr 8 11:42:29 UTC 2019
fixed in the -updates pocket
** Changed in: distro-info (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to distro-info in Ubuntu.
https://bugs.launchpad.net/bugs/1823657
Title:
distro-info ftbfs with cosmic toolchain updates
Status in distro-info package in Ubuntu:
Invalid
Bug description:
https://launchpadlibrarian.net/418304497/buildlog_ubuntu-cosmic-amd64
.distro-info_0.18_BUILDING.txt.gz
Test: Run pylint on Python source code ... Running following command:
python3.7 -m pylint --rcfile=/<<PKGBUILDDIR>>/python/distro_info_test/pylint.conf -- debian-distro-info ubuntu-distro-info distro_info_test distro_info.py setup.py
FAIL
======================================================================
FAIL: test_pylint (distro_info_test.test_pylint.PylintTestCase)
Test: Run pylint on Python source code
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/python/distro_info_test/test_pylint.py", line 72, in test_pylint
self.fail("\n".join(msgs))
AssertionError: pylint found issues:
************* Module distro_info
distro_info.py:57:0: R0205: Class 'DistroRelease' inherits from object, can be safely removed from bases in python3 (useless-object-inheritance)
distro_info.py:82:0: R0205: Class 'DistroInfo' inherits from object, can be safely removed from bases in python3 (useless-object-inheritance)
distro_info.py:131:8: R1705: Unnecessary "elif" after "return" (no-else-return)
distro_info.py:248:48: R1716: Simplify chained comparison between the operands (chained-comparison)
----------------------------------------------------------------------
Ran 26 tests in 3.675s
FAILED (failures=1)
Test failed: <unittest.runner.TextTestResult run=26 errors=0 failures=1>
error: Test failed: <unittest.runner.TextTestResult run=26 errors=0 failures=1>
make[1]: *** [Makefile:45: test-python] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: make -j4 test returned exit code 2
make: *** [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/distro-info/+bug/1823657/+subscriptions
More information about the foundations-bugs
mailing list