Your message dated Wed, 17 Jan 2024 07:34:28 +0000
with message-id <e1rq0rq-00epa0...@fasolo.debian.org>
and subject line Bug#1060894: fixed in pylint 3.0.3-1
has caused the Debian Bug report #1060894,
regarding pylint broken due to version 3 of python3-astroid
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.)


-- 
1060894: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1060894
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: pylint
Version: 2.17.4-1
Severity: grave
Justification: renders package unusable

pylint dies when given anything, try with the simple program "a = 1", se
stacktrace below.
Downgrading python3-astroid from 3.0.2-1 to 2.15.6-1 fixes the problem.

I'm not sure if the problem lies in pylint or astroid so feel
free to move this report to python3-astroid if needed. :-)

-----

Traceback (most recent call last):
  File "/bin/pylint", line 8, in <module>
    sys.exit(run_pylint())
             ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/pylint/__init__.py", line 36, in 
run_pylint
    PylintRun(argv or sys.argv[1:])
  File "/usr/lib/python3/dist-packages/pylint/lint/run.py", line 157, in 
__init__
    linter.load_default_plugins()
  File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", line 369, in 
load_default_plugins
    checkers.initialize(self)
  File "/usr/lib/python3/dist-packages/pylint/checkers/__init__.py", line 136, 
in initialize
    register_plugins(linter, __path__[0])
  File "/usr/lib/python3/dist-packages/pylint/utils/utils.py", line 204, in 
register_plugins
    module = modutils.load_module_from_file(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/astroid/modutils.py", line 235, in 
load_module_from_file
    return load_module_from_modpath(modpath)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/astroid/modutils.py", line 220, in 
load_module_from_modpath
    return load_module_from_name(".".join(parts))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/astroid/modutils.py", line 194, in 
load_module_from_name
    module = importlib.import_module(dotted_name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File 
"/usr/lib/python3/dist-packages/pylint/checkers/refactoring/__init__.py", line 
16, in <module>
    from pylint.checkers.refactoring.refactoring_checker import 
RefactoringChecker
  File 
"/usr/lib/python3/dist-packages/pylint/checkers/refactoring/refactoring_checker.py",
 line 36, in <module>
    nodes.TryExcept, nodes.TryFinally, nodes.While, nodes.For, nodes.If
    ^^^^^^^^^^^^^^^
AttributeError: module 'astroid.nodes' has no attribute 'TryExcept'



-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-5-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_DK.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.11.6-1
ii  python3-astroid            3.0.2-1
ii  python3-dill               0.3.7-1
ii  python3-isort              5.6.4-1
ii  python3-logilab-common     1.9.8-1
ii  python3-mccabe             0.7.0-1
ii  python3-platformdirs       4.1.0-1
ii  python3-setuptools         68.1.2-2
ii  python3-tomli              2.0.1-2
ii  python3-tomlkit            0.12.3-1
ii  python3-typing-extensions  4.7.1-2

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

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

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: pylint
Source-Version: 3.0.3-1
Done: Sandro Tosi <mo...@debian.org>

We believe that the bug you reported is fixed in the latest version of
pylint, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1060...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Tosi <mo...@debian.org> (supplier of updated pylint package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 17 Jan 2024 02:11:07 -0500
Source: pylint
Architecture: source
Version: 3.0.3-1
Distribution: unstable
Urgency: medium
Maintainer: Sandro Tosi <mo...@debian.org>
Changed-By: Sandro Tosi <mo...@debian.org>
Closes: 1032687 1056439 1058230 1058718 1060894
Changes:
 pylint (3.0.3-1) unstable; urgency=medium
 .
   [ Sandro Tosi ]
   * New upstream release; Closes: #1058718, #1058230, #1056439
   * stop building the -doc package, and so drop patches too
   * debian/pylint.install
     - delete, no longer needed
   * debian/control
     - add git, platformdirs to b-d, needed by tests
     - bump deps on astroid to >= 3.0.1; Closes: #1060894
   * update github organization from PyCQA to pylint-dev
   * debian/rules
     - re-enable some tests now fixed upstream
 .
   [ Nicolas Boulenguez ]
   * debian/pylint.conffiles
     - remove emacs script on upgrade. Closes: #1032687
Checksums-Sha1:
 48cdd824397117b6ea9750784bf72b3741927327 2308 pylint_3.0.3-1.dsc
 0c47cb971ac9d1ae037dcf34b93bc548a97c8712 1046780 pylint_3.0.3.orig.tar.xz
 3f789f3eae34e9a0af845e6787ac02cab70a7d4e 21532 pylint_3.0.3-1.debian.tar.xz
 64f16b58c18dafb3813c2b60b98eaf0ea795b310 9615 pylint_3.0.3-1_source.buildinfo
Checksums-Sha256:
 ec593c57b1d24da346f0481073421516ae7326ce241db46120056e75b8cb423f 2308 
pylint_3.0.3-1.dsc
 af4872afcd02676bc25214dc2b583f8722e6adb844a96c72e91d5eef71acfae9 1046780 
pylint_3.0.3.orig.tar.xz
 840cf45b4b19bc8e5ac0c6953dcf49d78b5a7c6f2012459bf36b138dbee315cf 21532 
pylint_3.0.3-1.debian.tar.xz
 f633e2d9945f9c7054fa3c6fbdaebe7a17a60cd95a0c6295e29188f8e7c6ae0f 9615 
pylint_3.0.3-1_source.buildinfo
Files:
 491763b72929df5a26c7229e50cf15a0 2308 python optional pylint_3.0.3-1.dsc
 d1f84832a684d7885248a5ff3fe1102e 1046780 python optional 
pylint_3.0.3.orig.tar.xz
 757037a1a3ce3e444fe48dcbb8da144b 21532 python optional 
pylint_3.0.3-1.debian.tar.xz
 ac8675dcc7f4f1b2aed3aac22eee2e31 9615 python optional 
pylint_3.0.3-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEufrTGSrz5KUwnZ05h588mTgBqU8FAmWnfagACgkQh588mTgB
qU/D4Q//Srp7E4PbJPnTU86cip8So6qNHNX06WE7e4Ig+tU1s3ku01eRcfTIVXPi
Ofb8WKhLxaFQ9C46/wEBsy7HwhlJWdBe04tcFqd+PkAgXPJ7oaBZf1XZ+ztI8vEi
gt/3hFNbkjyqzYvnXbGRCxWLCEVrogmUk/svoWvZUzWRnueN2P5xEJp8UaPLSN8P
OhlXLPWCBDZRnGPBWLfilGBXvD/y9np3MsNDB7AEuGSQi/5/yZNN+80f9tQnXPoq
XbONBbKA+StxjVkcevgYZYhSUV0A7FADv3cF9YUKQVTPkCtH8pdCSRXsEM6alHgx
rbLohskrSCXFfF2Ke66iOvOqDSDYVdCX03pip1DgGWsRAaMExK2+LPGImxCYVKXM
W2hckh+kCMCYRW0gkrvfTdS0ZkPw5Y3obtpFJYTL2jOUY7NJefodHqDc0M5oArMF
2pF/t6JBq/KI3DhrGICQFR5nOtAtiJ3iGABTkdndBkDA9SSX4oct6JGdn7rfaztn
oPZ+yvK1dFaFKjfbRMacGUgz0MjjVfA0zRgNVtaRIkFkE0jvmVkCx2HFOIuJsBAb
kl8j/hpnFHM4/3ivkUL7i3DeI4lMr9A5i756oaNP2zB996jMm3igu4eK/S2FBiVX
RLXiuEB21yc/3hiEegXIqKUplyW2+Vekjnqws7wyC0qqOmXX3nM=
=9rRj
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to