Control: reopen -1

On Mon, Oct 07, 2024 at 12:21:07PM +0000, Debian Bug Tracking System wrote:
> This is an automatic notification regarding your Bug report
> which was filed against the src:distro-info package:
> 
> #1084247: distro-info: FTBFS: FAIL: test_pylint 
> (distro_info_test.test_pylint.PylintTestCase.test_pylint)
[...]
>    * python: Disable pylint's too-many-positional-arguments (Closes: #1084247)

Unfortunately this fix can't migrate to testing, because the
too-many-positional-arguments check was new in pylint 3.3:

  ======================================================================
  FAIL: test_pylint (distro_info_test.test_pylint.PylintTestCase.test_pylint)
  Test: Run pylint on Python source code.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File 
"/tmp/autopkgtest-lxc.t3ae9xq_/downtmp/autopkgtest_tmp/distro_info_test/test_pylint.py",
 line 70, in test_pylint
      self.fail("\n".join(msgs))
  AssertionError: pylint found issues:
  ************* Module distro_info
  /usr/lib/python3/dist-packages/distro_info.py:56:0: W0012: Unknown option 
value for 'disable-next', expected a valid pylint message and got 
'too-many-positional-arguments' (unknown-option-value)

And pylint can't migrate to testing because it breaks distro-info's
autopkgtest, so we're stuck.

Maybe the simplest option would be to have the relevant
debian/tests/control stanza depend on pylint (>= 3.3.0)?  That should
hint things into understanding that the two packages need to be tested
together.

-- 
Colin Watson (he/him)                              [cjwat...@debian.org]

Reply via email to