Package: pylint
Version: 2.15.3-1
Severity: serious
Tags: patch
X-Debbugs-Cc: mo...@debian.org

Hi,

It seems that the new version of pylint does not honor the
"--" arg.
In particular, if you notice the autopkgtest for ionit[1] it fails with:

/usr/bin/python3 -m pylint 
--rcfile=/tmp/autopkgtest-lxc.2tqox33y/downtmp/build.geB/src/tests/pylint.conf 
-- /usr/bin/ionit tests /usr/lib/python3/dist-packages/ionit_plugin.py setup.py
[...]
AssertionError: pylint found issues:
************* Module --
--:1:0: F0001: No module named -- (fatal)

This seems to have been fixed upstream already in this commit[2]. Please - 
either
apply this or upgrade to latest upstream (which is just one patch release 
later).

[1]: 
https://ci.debian.net/data/autopkgtest/testing/amd64/i/ionit/27128934/log.gz
[2]: 
https://github.com/PyCQA/pylint/commit/43ecd7dbf34d9a4ed0e3085a9c6e047a8326e131

Thanks,
Nilesh

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-3-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pylint depends on:
ii  python3                 3.10.6-1
pn  python3-astroid         <none>
pn  python3-isort           <none>
pn  python3-logilab-common  <none>
pn  python3-mccabe          <none>
ii  python3-platformdirs    2.5.2-1
ii  python3-setuptools      59.6.0-1.2
ii  python3-toml            0.10.2-1

Versions of packages pylint recommends:
ii  python3-tk  3.10.7-1

Versions of packages pylint suggests:
pn  pylint-doc  <none>

Reply via email to