[Pkg-salt-team] Bug#1064678: salt-pylint: FTBFS: ImportError: cannot import name 'IRawChecker' from 'pylint.interfaces' (/usr/lib/python3/dist-packages/pylint/interfaces.py)
Lucas Nussbaum
lucas at debian.org
Sun Feb 25 19:40:03 GMT 2024
Source: salt-pylint
Version: 2020.9.28-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240224 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary --buildsystem=pybuild --with python3
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:305: python3.12 setup.py config
> running config
> I: pybuild base:305: python3.11 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:305: /usr/bin/python3.12 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint
> copying saltpylint/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint
> copying saltpylint/blacklist.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint
> copying saltpylint/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint
> copying saltpylint/dunder_del.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint
> copying saltpylint/virt.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint
> copying saltpylint/pep8.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint
> copying saltpylint/minpyver.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint
> copying saltpylint/thirdparty.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint
> copying saltpylint/checkers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint
> copying saltpylint/strings.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint
> copying saltpylint/smartup.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint
> copying saltpylint/pep263.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint
> copying saltpylint/fileperms.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint/ext
> copying saltpylint/ext/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint/ext
> copying saltpylint/ext/pyqver2.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint/ext
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint/py3modernize
> copying saltpylint/py3modernize/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint/py3modernize
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint/py3modernize/fixes
> copying saltpylint/py3modernize/fixes/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint/py3modernize/fixes
> copying saltpylint/py3modernize/fixes/fix_map_salt_six.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint/py3modernize/fixes
> copying saltpylint/py3modernize/fixes/fix_filter_salt_six.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint/py3modernize/fixes
> copying saltpylint/py3modernize/fixes/fix_input_salt_six.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint/py3modernize/fixes
> copying saltpylint/py3modernize/fixes/fix_zip_salt_six.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint/py3modernize/fixes
> copying saltpylint/py3modernize/fixes/fix_imports_salt_six.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint/py3modernize/fixes
> copying saltpylint/py3modernize/fixes/fix_xrange_salt_six.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint/py3modernize/fixes
> copying saltpylint/py3modernize/fixes/fix_dict_salt_six.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint/py3modernize/fixes
> I: pybuild base:305: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint
> copying saltpylint/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint
> copying saltpylint/blacklist.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint
> copying saltpylint/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint
> copying saltpylint/dunder_del.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint
> copying saltpylint/virt.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint
> copying saltpylint/pep8.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint
> copying saltpylint/minpyver.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint
> copying saltpylint/thirdparty.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint
> copying saltpylint/checkers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint
> copying saltpylint/strings.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint
> copying saltpylint/smartup.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint
> copying saltpylint/pep263.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint
> copying saltpylint/fileperms.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint/ext
> copying saltpylint/ext/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint/ext
> copying saltpylint/ext/pyqver2.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint/ext
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint/py3modernize
> copying saltpylint/py3modernize/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint/py3modernize
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint/py3modernize/fixes
> copying saltpylint/py3modernize/fixes/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint/py3modernize/fixes
> copying saltpylint/py3modernize/fixes/fix_map_salt_six.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint/py3modernize/fixes
> copying saltpylint/py3modernize/fixes/fix_filter_salt_six.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint/py3modernize/fixes
> copying saltpylint/py3modernize/fixes/fix_input_salt_six.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint/py3modernize/fixes
> copying saltpylint/py3modernize/fixes/fix_zip_salt_six.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint/py3modernize/fixes
> copying saltpylint/py3modernize/fixes/fix_imports_salt_six.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint/py3modernize/fixes
> copying saltpylint/py3modernize/fixes/fix_xrange_salt_six.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint/py3modernize/fixes
> copying saltpylint/py3modernize/fixes/fix_dict_salt_six.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint/py3modernize/fixes
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m unittest discover -v
> saltpylint.py3modernize (unittest.loader._FailedTest.saltpylint.py3modernize) ... ERROR
>
> ======================================================================
> ERROR: saltpylint.py3modernize (unittest.loader._FailedTest.saltpylint.py3modernize)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: saltpylint.py3modernize
> Traceback (most recent call last):
> File "/usr/lib/python3.12/unittest/loader.py", line 427, in _find_test_path
> package = self._get_module_from_name(name)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
> __import__(name)
> File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/saltpylint/py3modernize/__init__.py", line 23, in <module>
> from pylint.interfaces import IRawChecker
> ImportError: cannot import name 'IRawChecker' from 'pylint.interfaces' (/usr/lib/python3/dist-packages/pylint/interfaces.py)
>
>
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
>
> FAILED (errors=1)
> E: pybuild pybuild:391: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m unittest discover -v
> I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m unittest discover -v
> saltpylint.py3modernize (unittest.loader._FailedTest.saltpylint.py3modernize) ... ERROR
>
> ======================================================================
> ERROR: saltpylint.py3modernize (unittest.loader._FailedTest.saltpylint.py3modernize)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: saltpylint.py3modernize
> Traceback (most recent call last):
> File "/usr/lib/python3.11/unittest/loader.py", line 452, in _find_test_path
> package = self._get_module_from_name(name)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/unittest/loader.py", line 362, in _get_module_from_name
> __import__(name)
> File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint/py3modernize/__init__.py", line 23, in <module>
> from pylint.interfaces import IRawChecker
> ImportError: cannot import name 'IRawChecker' from 'pylint.interfaces' (/usr/lib/python3/dist-packages/pylint/interfaces.py)
>
>
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
>
> FAILED (errors=1)
> E: pybuild pybuild:391: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m unittest discover -v
> dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2024/02/24/salt-pylint_2020.9.28-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240224;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240224&fusertaguser=lucas@debian.org&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.
More information about the pkg-salt-team
mailing list