[Python-modules-team] Bug#884220: pylint-common FTBFS: ImportError: cannot import name make_tests
Mattia Rizzolo
mattia at debian.org
Wed Sep 26 12:53:43 BST 2018
Control: severity -1 important
On Tue, Dec 12, 2017 at 08:42:03PM +0200, Adrian Bunk wrote:
> Source: pylint-common
> Version: 0.2.5-1
> Severity: serious
>
> Some recent change in unstable makes pylint-common FTBFS:
>
> https://tests.reproducible-builds.org/debian/history/pylint-common.html
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pylint-common.html
>
> ...
>
> debian/rules override_dh_auto_test
> make[1]: Entering directory '/build/1st/pylint-common-0.2.5'
> PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=. python2 test/test_func.py
> Traceback (most recent call last):
> File "test/test_func.py", line 4, in <module>
> from pylint.testutils import make_tests, LintTestUsingModule, LintTestUsingFile, cb_test_gen, linter
> ImportError: cannot import name make_tests
> debian/rules:10: recipe for target 'override_dh_auto_test' failed
> make[1]: *** [override_dh_auto_test] Error 1
This is caused by the new Pylint that made some stuff private. The
test need to be rewritten using a different way to load those classes.
For now I'm just disabling the tests, so this issue can be downgraded.
> There is a patch in Ubuntu that might fix it (untested).
It should, but for now I'm not taking it.
FTR, this is the patch:
http://launchpadlibrarian.net/333615422/pylint-common_0.2.5-1_0.2.5-1ubuntu1.diff.gz
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: https://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20180926/47479f74/attachment-0001.sig>
More information about the Python-modules-team
mailing list