[Python-modules-team] Bug#888157: pylint-celery FTBFS and Debci failure: ImportError: cannot import name make_tests

Mattia Rizzolo mattia at debian.org
Wed Sep 26 12:41:41 BST 2018


Control: severity -1 important

On Tue, Jan 23, 2018 at 07:43:16PM +0200, Adrian Bunk wrote:
> Some recent change in unstable makes pylint-celery FTBFS and Debci fail:
> 
> https://ci.debian.net/packages/p/pylint-celery/unstable/amd64/
> https://tests.reproducible-builds.org/debian/history/pylint-celery.html
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pylint-celery.html
> 
> ...
>    debian/rules override_dh_auto_test
> make[1]: Entering directory '/build/1st/pylint-celery-0.3'
> PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=. {interpreter} test/test_func.py" dh_auto_test
> I: pybuild base:184: PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=. python2.7 test/test_func.py
> Traceback (most recent call last):
>   File "test/test_func.py", line 5, in <module>
>     from pylint.testutils import make_tests, LintTestUsingModule, LintTestUsingFile, cb_test_gen, linter
> ImportError: cannot import name make_tests
> E: pybuild pybuild:283: test: plugin custom failed with: exit code=1: PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=. python2.7 test/test_func.py

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.

-- 
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/966c761b/attachment-0001.sig>


More information about the Python-modules-team mailing list