Your message dated Sun, 07 Sep 2025 20:35:43 +0000
with message-id <[email protected]>
and subject line Bug#1114591: fixed in flake8-cognitive-complexity 0.1.0-5
has caused the Debian Bug report #1114591,
regarding python3-flake8-cognitive-complexity: Missing dependency on 
python3-cognitive-complexity
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 [email protected]
immediately.)


-- 
1114591: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1114591
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-flake8-cognitive-complexity
Version: 0.1.0-4
Severity: important

Hi,

tl;dr:

  File "/usr/lib/python3/dist-packages/flake8_cognitive_complexity/checker.py", 
line 4, in <module>
    from cognitive_complexity.api import get_cognitive_complexity
ModuleNotFoundError: No module named 'cognitive_complexity'

Installing python3-cognitive-complexity fixed it.

Longer version, from my Emacs' Messages buffer, follows. I did not bother trying
to share a minimal reproducer since I hope the tl;dr above is sufficient to
demonstrate the bug.

Suspicious state from syntax checker python-flake8: Flycheck checker 
python-flake8 returned 1, but its output contained no errors: Traceback (most 
recent call last):
  File "/usr/lib/python3/dist-packages/flake8/plugins/finder.py", line 291, in 
_load_plugin
    obj = plugin.entry_point.load()
  File "/usr/lib/python3.13/importlib/metadata/__init__.py", line 179, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/lib/python3/dist-packages/flake8_cognitive_complexity/checker.py", 
line 4, in <module>
    from cognitive_complexity.api import get_cognitive_complexity
ModuleNotFoundError: No module named 'cognitive_complexity'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
    import sys;sys.path.pop(0);import runpy;runpy.run_module("flake8", 
run_name='__main__')
                                            
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen runpy>", line 229, in run_module
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/lib/python3/dist-packages/flake8/__main__.py", line 7, in <module>
    raise SystemExit(main())
                     ~~~~^^
  File "/usr/lib/python3/dist-packages/flake8/main/cli.py", line 23, in main
    app.run(argv)
    ~~~~~~~^^^^^^
  File "/usr/lib/python3/dist-packages/flake8/main/application.py", line 198, 
in run
    self._run(argv)
    ~~~~~~~~~^^^^^^
  File "/usr/lib/python3/dist-packages/flake8/main/application.py", line 186, 
in _run
    self.initialize(argv)
    ~~~~~~~~~~~~~~~^^^^^^
  File "/usr/lib/python3/dist-packages/flake8/main/application.py", line 165, 
in initialize
    self.plugins, self.options = parse_args(argv)
                                 ~~~~~~~~~~^^^^^^
  File "/usr/lib/python3/dist-packages/flake8/options/parse_args.py", line 42, 
in parse_args
    plugins = finder.load_plugins(raw_plugins, plugin_opts)
  File "/usr/lib/python3/dist-packages/flake8/plugins/finder.py", line 365, in 
load_plugins
    return _classify_plugins(_import_plugins(plugins, opts), opts)
                             ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/flake8/plugins/finder.py", line 307, in 
_import_plugins
    return [_load_plugin(p) for p in plugins]
            ~~~~~~~~~~~~^^^
  File "/usr/lib/python3/dist-packages/flake8/plugins/finder.py", line 293, in 
_load_plugin
    raise FailedToLoadPlugin(plugin.package, e)
flake8.exceptions.FailedToLoadPlugin: Flake8 failed to load plugin 
"flake8_cognitive_complexity" due to No module named 'cognitive_complexity'.

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (2, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.16.3+deb14-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER, TAINT_WARN
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_IE:en_US:en:C
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-flake8-cognitive-complexity depends on:
ii  python3  3.13.7-1

python3-flake8-cognitive-complexity recommends no packages.

python3-flake8-cognitive-complexity suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: flake8-cognitive-complexity
Source-Version: 0.1.0-5
Done: Edward Betts <[email protected]>

We believe that the bug you reported is fixed in the latest version of
flake8-cognitive-complexity, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Edward Betts <[email protected]> (supplier of updated 
flake8-cognitive-complexity 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 07 Sep 2025 20:50:38 +0100
Source: flake8-cognitive-complexity
Architecture: source
Version: 0.1.0-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Edward Betts <[email protected]>
Closes: 1114591
Changes:
 flake8-cognitive-complexity (0.1.0-5) unstable; urgency=medium
 .
   * Add dependency on python3-cognitive-complexity. (Closes: #1114591)
   * Switch to autopkgtest-pkg-pybuild.
   * Remove 'Rules-Requires-Root: no', now the default.
   * Update Standards-Version.
   * Add debian/salsa-ci.yml.
Checksums-Sha1:
 7dc01a27e9017918573798bac3a0ca1a88469aff 2357 
flake8-cognitive-complexity_0.1.0-5.dsc
 81f8951d09a3327e08292319865933a3a1dbb12d 2436 
flake8-cognitive-complexity_0.1.0-5.debian.tar.xz
 3fdcb2a712909d949d0013459fbcf9507ccff4d3 7224 
flake8-cognitive-complexity_0.1.0-5_source.buildinfo
Checksums-Sha256:
 bc93e0ff879f2b0555d14b3ef4f066b0b19645e9041f9211950a1b4cd3634dff 2357 
flake8-cognitive-complexity_0.1.0-5.dsc
 c62a58133fdf7ff7ce2bd0d02490d9ed22485b8cf6ca72b86cb4a5da64127001 2436 
flake8-cognitive-complexity_0.1.0-5.debian.tar.xz
 c3d44a780f99e9007f0717076c56f4eb3e2f6ae63411efab79bded96631b7f12 7224 
flake8-cognitive-complexity_0.1.0-5_source.buildinfo
Files:
 ccd9ec6bec2e411785a607c8e95d3c40 2357 python optional 
flake8-cognitive-complexity_0.1.0-5.dsc
 4a8fc871f8c5df32c953389a273de0e0 2436 python optional 
flake8-cognitive-complexity_0.1.0-5.debian.tar.xz
 45e08dd3897ac4615426fc897a3ff992 7224 python optional 
flake8-cognitive-complexity_0.1.0-5_source.buildinfo

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

iQIzBAEBCgAdFiEE+4rPp4xyYInDitAmlgWhCYxjuSoFAmi95nEACgkQlgWhCYxj
uSpLDQ//SUrprwDXxb5MqASOCSpYSifLa88bG89w2JY3IlciG8oqXRQCpXSc/cmS
3vABscycwFVploJFDxhe67LyJX5Qb8ySC5yRY6FYymyWrgfv9CEYJBoscNBXPalK
tny6cr8BN2XG64OTFsJwrt9JeIHBSSwh6xgKRuydwGnjxrPHz2NAGlyeqoUF6xGb
aGjXvQQEz6iHaxpICjFfQd3D19ShTUBG11WMRLoiWzYxHMXHWHfUD+JQR+t/ALFi
O5DSK2LrEqntFu3ycNDHeSp+kr9Hz+ZXzmbC/wHoEum0WuYa1r5LqVL8xiHlaiQe
y3a99PJp6CS7KEhclHhHziCuELW3YGYrDMLKcvhSTdGPw2pKDjZl63OqBlZ3FdOU
p2aNdtF7yE5YcY10fYdh+kPmmOcdi460lPtiavBq4xZ2QoBvgNqn8KmZqYy4hSvq
qIpj4YI/IKhsnyR6cOrVn+Qed9PCrSxZ8lCBaEsRcYganuUfeBOkGVjpmNw/GN5c
6a/fbxUB4vGsz9908r/tNNGz+EnP76/LyYnfCu3O2W1sP7Z0vbMuTPVAnKufy2PA
NQZK/k3CRtYYCx+fC+594m6JzvrcA0/ygh1IbuGf0kc4K52MUPleSaKfaX9ZHopS
FjSOp/5QjIz9MVSnqlZy5oWIRXOShLhDNMOFENgoIX3F7cLVSb0=
=o2DR
-----END PGP SIGNATURE-----

Attachment: pgpBLO1oy2fp2.pgp
Description: PGP signature


--- End Message ---

Reply via email to