Your message dated Sat, 14 Jan 2023 12:23:51 -0500
with message-id 
<CAB4XWXxDHBRF+KQnAv_vXyj6sn=vwsjbfc_hb3eui126pvf...@mail.gmail.com>
and subject line Re: Bug#1028704: distro-info: FTBFS: ModuleNotFoundError: No 
module named 'tomli'
has caused the Debian Bug report #1028704,
regarding distro-info: 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.)


-- 
1028704: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1028704
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: distro-info
Version: 1.2
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):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> ./test-debian-distro-info
> cd perl && ./test.pl
> testAlias
> testAll
> testDevel
> testOldstable
> py3versions: no X-Python3-Version in control file, using supported versions
> cd python && python3.10 setup.py test
> 1..35
> ok 1 - unique: Matching lists
> ok 2 - symmetric_difference: Matching lists
> ok 3 - unique: 1 Unique Item
> ok 4 - unique: 1 Unique Item in the haystack
> ok 5 - symmetric_difference: 1 Unique Item
> ok 6 - Debian all
> ok 7 - Debian devel
> ok 8 - Debian oldstable
> ok 9 - Debian stable
> ok 10 - Debian testing
> ok 11 - Debian valid
> ok 12 - Debian valid
> ok 13 - Debian invalid
> ok 14 - Debian supported
> ok 15 - Debian LTS
> ok 16 - Debian ELTS
> ok 17 - Debian unsupported
> ok 18 - Debian codename, invalid
> ok 19 - Debian codename
> ok 20 - Debian version, invalid
> ok 21 - Debian version
> ok 22 - Ubuntu all
> ok 23 - Ubuntu version
> ok 24 - Ubuntu LTS version
> ok 25 - Ubuntu devel
> ok 26 - Ubuntu LTS
> ok 27 - Ubuntu stable
> ok 28 - Ubuntu valid
> ok 29 - Ubuntu invalid
> ok 30 - Ubuntu is_lts
> ok 31 - Ubuntu !is_lts
> ok 32 - Ubuntu !is_lts
> ok 33 - Ubuntu supported
> ok 34 - Ubuntu ESM
> ok 35 - Ubuntu unsupported
> testStable
> testSupported
> testLTS
> testELTS
> testUnsupported
> testTesting
> testFullname
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> creating distro_info.egg-info
> writing distro_info.egg-info/PKG-INFO
> writing dependency_links to distro_info.egg-info/dependency_links.txt
> writing top-level names to distro_info.egg-info/top_level.txt
> writing manifest file 'distro_info.egg-info/SOURCES.txt'
> reading manifest file 'distro_info.egg-info/SOURCES.txt'
> writing manifest file 'distro_info.egg-info/SOURCES.txt'
> testRelease
> running build_ext
> testSeries
> test_black (distro_info_test.test_black.BlackTestCase)
> Test: Run black code formatter on Python source code. ... Running following 
> command:
> black --check --diff -l 99 debian-distro-info ubuntu-distro-info 
> distro_info_test distro_info.py setup.py
> testCombinedShortform
> testReleaseDate
> testHelp
> testExactlyOne
> testUnrecognizedOption
> testUnrecognizedArguments
> testMissingArgumentAlias
> testMissingArgumentDate
> testMissingArgumentSeries
> ok
> test_flake8 (distro_info_test.test_flake8.Flake8TestCase)
> Test: Run flake8 on Python source code. ... Running following command:
> /usr/bin/python3.10 -m flake8 --max-line-length=99 debian-distro-info 
> ubuntu-distro-info distro_info_test distro_info.py setup.py
> testInvalidAlias
> testInvalidDate
> testInvalidSeries
> testMultipleAlias
> testMultipleDates
> testMultipleSeries
> testUnknownSeries
> testDays
> ok
> test_all (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: List all known Debian distributions. ... ok
> test_codename (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: Codename decoding ... ok
> test_codename_result 
> (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: Check result set to codename. ... ok
> test_devel (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: Get latest development Debian distribution. ... ok
> test_elts_supported 
> (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: List all ELTS supported Debian distribution. ... ok
> test_fullname (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: Check result set to fullname. ... ok
> test_lts_supported 
> (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: List all LTS supported Debian distribution. ... ok
> test_old (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: Get old (stable) Debian distribution. ... ok
> test_release (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: Check result set to release. ... ok
> test_stable (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: Get latest stable Debian distribution. ... ok
> test_supported (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: List all supported Debian distribution. ... ok
> test_testing (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: Get latest testing Debian distribution. ... ok
> test_unsupported (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: List all unsupported Debian distribution. ... ok
> test_valid (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: Check for valid Debian distribution. ... ok
> test_version (distro_info_test.test_distro_info.DebianDistroInfoTestCase)
> Test: Version decoding ... ok
> test_all (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: List all known Ubuntu distributions. ... ok
> test_codename (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: Check result set to codename. ... ok
> test_current_unsupported 
> (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: List all unsupported Ubuntu distributions today. ... ok
> test_devel (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: Get latest development Ubuntu distribution. ... ok
> test_fullname (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: Check result set to fullname. ... ok
> test_is_lts (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: Check if Ubuntu distribution is an LTS. ... ok
> test_lts (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: Get latest long term support (LTS) Ubuntu distribution. ... ok
> test_release (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: Check result set to release. ... ok
> test_stable (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: Get latest stable Ubuntu distribution. ... ok
> test_supported (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: List all supported Ubuntu distribution. ... ok
> test_unsupported (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: List all unsupported Ubuntu distributions. ... ok
> test_valid (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: Check for valid Ubuntu distribution. ... ok
> test_version (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase)
> Test: Check result set to version. ... ok
> test_get_pep440_version_ubuntu (distro_info_test.test_setup.SetupTestCase)
> Test get_pep440_version() for version '1.1ubuntu1'. ... ok
> test_get_pep440_version_unchanged (distro_info_test.test_setup.SetupTestCase)
> Test get_pep440_version() for version '1.2'. ... ok
> test_pylint (distro_info_test.test_pylint.PylintTestCase)
> Test: Run pylint on Python source code. ... Running following command:
> /usr/bin/python3.10 -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
> test_isort (distro_info_test.test_isort.IsortTestCase)
> Test: Run isort on Python source code. ... Running following command:
> isort --check-only --diff -l 99 debian-distro-info ubuntu-distro-info 
> distro_info_test distro_info.py setup.py
> ok
> 
> ======================================================================
> 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 73, in 
> test_pylint
>     self.fail("\n".join(msgs))
> AssertionError: pylint exited with code 1 and has unexpected output on stderr:
> Traceback (most recent call last):
>   File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
>     return _run_code(code, main_globals, None,
>   File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
>     exec(code, run_globals)
>   File "/usr/lib/python3/dist-packages/pylint/__main__.py", line 10, in 
> <module>
>     pylint.run_pylint()
>   File "/usr/lib/python3/dist-packages/pylint/__init__.py", line 32, in 
> run_pylint
>     from pylint.lint import Run as PylintRun
>   File "/usr/lib/python3/dist-packages/pylint/lint/__init__.py", line 19, in 
> <module>
>     from pylint.config.exceptions import ArgumentPreprocessingError
>   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 34 tests in 1.209s
> 
> FAILED (failures=1)
> Test failed: <unittest.runner.TextTestResult run=34 errors=0 failures=1>
> error: Test failed: <unittest.runner.TextTestResult run=34 errors=0 
> failures=1>
> make[1]: *** [Makefile:39: test-python] Error 1
> make[1]: *** Waiting for unfinished jobs....
> 
> Ran 30 tests.
> 
> OK
> ./test-ubuntu-distro-info
> testAll
> testDevel
> testLatest
> testLTS
> testStable
> testSupported
> testUnsupported
> testFullname
> testRelease
> testSeries
> testCombinedShortform
> testReleaseDate
> testHelp
> testExactlyOne
> testUnrecognizedOption
> testUnrecognizedArguments
> testMissingArgumentDate
> testMissingArgumentSeries
> testDistributionDataOutdated
> testInvalidDate
> testInvalidSeries
> testMultipleDates
> testMultipleSeries
> testUnknownSeries
> testDays
> 
> Ran 25 tests.
> 
> OK
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test: error: make -j8 test returned exit code 2


The full build log is available from:
http://qa-logs.debian.net/2023/01/13/distro-info_1.2_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 ---
control: tags -1 +wontfix

On Sat, 14 Jan 2023 16:49:37 +0000 Stefano Rivera <stefa...@debian.org> wrote:
> Control: reassign -1 pylint
> Control: affects -1 src:distro-info
>
> This is the same class of issue as #1027947. As long as Python 3.10 is a
> supported release, please provide an explicit dependency on
> python3-tomli.
>
> The same thing could apply to any other dependencies that are generated
> as "foo | python3 (>> 3.11)".

pylint is a command-line tool, and it should not be invoked as a
module, aka `pythonX.Y -m pylint`.

this is what's happening for distro-info:

   /usr/bin/python3.10 -m pylint ...

there is no reason to call pylint that way, so please just call
`pylint` on the codebase and that's it (one could also argue why a
static code analyzer is being called during tests, but that's an
upstream choice i guess).

Closing as wontfix

Regards,
Sandro

--- End Message ---

Reply via email to