Your message dated Sun, 12 Feb 2023 10:15:55 +0100
with message-id <y+ius6dwec7re...@ramacher.at>
and subject line Re: Bug#1028753: salt-pylint: FTBFS: ModuleNotFoundError: No
module named 'tomli'
has caused the Debian Bug report #1028753,
regarding salt-pylint: FTBFS: ModuleNotFoundError: No module named 'tomli'
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1028753: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1028753
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: salt-pylint
Version: 2020.9.28-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230113 ftbfs-bookworm
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:240: python3.10 setup.py config
> running config
> I: pybuild base:240: python3.11 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3.10 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint
> copying saltpylint/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint
> copying saltpylint/strings.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint
> copying saltpylint/smartup.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint
> copying saltpylint/blacklist.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint
> copying saltpylint/thirdparty.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint
> copying saltpylint/pep8.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint
> copying saltpylint/fileperms.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint
> copying saltpylint/virt.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint
> copying saltpylint/dunder_del.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint
> copying saltpylint/minpyver.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint
> copying saltpylint/checkers.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint
> copying saltpylint/version.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint
> copying saltpylint/pep263.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint/ext
> copying saltpylint/ext/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint/ext
> copying saltpylint/ext/pyqver2.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint/ext
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint/py3modernize
> copying saltpylint/py3modernize/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint/py3modernize
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint/py3modernize/fixes
> copying saltpylint/py3modernize/fixes/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint/py3modernize/fixes
> copying saltpylint/py3modernize/fixes/fix_map_salt_six.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint/py3modernize/fixes
> copying saltpylint/py3modernize/fixes/fix_dict_salt_six.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint/py3modernize/fixes
> copying saltpylint/py3modernize/fixes/fix_input_salt_six.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint/py3modernize/fixes
> copying saltpylint/py3modernize/fixes/fix_filter_salt_six.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint/py3modernize/fixes
> copying saltpylint/py3modernize/fixes/fix_xrange_salt_six.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint/py3modernize/fixes
> copying saltpylint/py3modernize/fixes/fix_zip_salt_six.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint/py3modernize/fixes
> copying saltpylint/py3modernize/fixes/fix_imports_salt_six.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint/py3modernize/fixes
> I: pybuild base:240: /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/strings.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint
> copying saltpylint/smartup.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint
> copying saltpylint/blacklist.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint
> copying saltpylint/thirdparty.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint
> copying saltpylint/pep8.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint
> copying saltpylint/fileperms.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint
> copying saltpylint/virt.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint
> copying saltpylint/dunder_del.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint
> copying saltpylint/minpyver.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint
> copying saltpylint/checkers.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint
> copying saltpylint/version.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/saltpylint
> copying saltpylint/pep263.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_dict_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_filter_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_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
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build;
> python3.10 -m unittest discover -v
> saltpylint.py3modernize (unittest.loader._FailedTest) ... ERROR
>
> ======================================================================
> ERROR: saltpylint.py3modernize (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: saltpylint.py3modernize
> Traceback (most recent call last):
> File "/usr/lib/python3.10/unittest/loader.py", line 470, in _find_test_path
> package = self._get_module_from_name(name)
> File "/usr/lib/python3.10/unittest/loader.py", line 377, in
> _get_module_from_name
> __import__(name)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint/py3modernize/__init__.py",
> line 24, in <module>
> from saltpylint.checkers import BaseChecker
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint/checkers.py", line
> 13, in <module>
> from pylint.checkers import BaseChecker as _BaseChecker
> File "/usr/lib/python3/dist-packages/pylint/checkers/__init__.py", line 48,
> in <module>
> from pylint.checkers.base_checker import (
> File "/usr/lib/python3/dist-packages/pylint/checkers/base_checker.py", line
> 17, in <module>
> from pylint.config.arguments_provider import _ArgumentsProvider
> File "/usr/lib/python3/dist-packages/pylint/config/__init__.py", line 25,
> in <module>
> from pylint.config.arguments_provider import UnsupportedAction
> File "/usr/lib/python3/dist-packages/pylint/config/arguments_provider.py",
> line 15, in <module>
> from pylint.config.arguments_manager import _ArgumentsManager
> File "/usr/lib/python3/dist-packages/pylint/config/arguments_manager.py",
> line 50, in <module>
> import tomli as tomllib
> ModuleNotFoundError: No module named 'tomli'
>
>
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
>
> FAILED (errors=1)
> E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m unittest
> discover -v
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build;
> python3.11 -m unittest discover -v
>
> ----------------------------------------------------------------------
> Ran 0 tests in 0.000s
>
> OK
> dh_auto_test: error: pybuild --test -i python{version} -p "3.10 3.11"
> returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2023/01/13/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-20230113;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&fusertaguser=lu...@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.
--- End Message ---
--- Begin Message ---
On 2023-01-19 11:50:18 +0100, Sebastiaan Couwenberg wrote:
> On Sat, 14 Jan 2023 13:44:49 +0100 Lucas Nussbaum wrote:
> > ======================================================================
> > ERROR: saltpylint.py3modernize (unittest.loader._FailedTest)
> > ----------------------------------------------------------------------
> > ImportError: Failed to import test module: saltpylint.py3modernize
> > Traceback (most recent call last):
> > File "/usr/lib/python3.10/unittest/loader.py", line 470, in
> > _find_test_path
> > package = self._get_module_from_name(name)
> > File "/usr/lib/python3.10/unittest/loader.py", line 377, in
> > _get_module_from_name
> > __import__(name)
> > File
> > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint/py3modernize/__init__.py",
> > line 24, in <module>
> > from saltpylint.checkers import BaseChecker
> > File
> > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/saltpylint/checkers.py",
> > line 13, in <module>
> > from pylint.checkers import BaseChecker as _BaseChecker
> > File "/usr/lib/python3/dist-packages/pylint/checkers/__init__.py", line
> > 48, in <module>
> > from pylint.checkers.base_checker import (
> > File "/usr/lib/python3/dist-packages/pylint/checkers/base_checker.py",
> > line 17, in <module>
> > from pylint.config.arguments_provider import _ArgumentsProvider
> > File "/usr/lib/python3/dist-packages/pylint/config/__init__.py", line 25,
> > in <module>
> > from pylint.config.arguments_provider import UnsupportedAction
> > File
> > "/usr/lib/python3/dist-packages/pylint/config/arguments_provider.py", line
> > 15, in <module>
> > from pylint.config.arguments_manager import _ArgumentsManager
> > File "/usr/lib/python3/dist-packages/pylint/config/arguments_manager.py",
> > line 50, in <module>
> > import tomli as tomllib
> > ModuleNotFoundError: No module named 'tomli'
>
> pylint has this dependency:
>
> python3-tomli | python3 (>> 3.11)
>
> Because python3.11 is now default python3-tomli doesn't get installed even
> though it's still required for python3.10.
>
> python3-tomli should probably be an hard dependency of pylint until
> python3.10 is removed.
python3.10 is no longer a supported Python version. Closing.
Cheers
--
Sebastian Ramacher
--- End Message ---