** Also affects: dh-python (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to dh-python in Ubuntu.
https://bugs.launchpad.net/bugs/2076497

Title:
  pip list WARNING: Skipping /usr/lib/python3.12/dist-
  packages/charset_normalizer-3.3.2.dist-info due to invalid metadata
  entry 'name'

Status in asciinema package in Ubuntu:
  New
Status in dh-python package in Ubuntu:
  New
Status in python-charset-normalizer package in Ubuntu:
  Confirmed

Bug description:
  I recently upgraded from 23.10 to 24.04 of Ubuntu. When running pip3
  list installed or sudo pip3 list installed I get the warning:

  WARNING: Skipping /usr/lib/python3.12/dist-
  packages/charset_normalizer-3.3.2.dist-info due to invalid metadata
  entry 'name'

  Navigating to this path, it is a directory with only one file called
  "INSTALLER" with the contents "Debian". None of the other files
  regarding the package info are in this folder.

  This is the only folder in the /usr/lib/python3.12/dist-packages
  directory as well.

  I then attempted to reinstall the python-charset-normalizer package.
  This made no change.

  Removing the /usr/lib/python3.12/dist-
  packages/charset_normalizer-3.3.2.dist-info directory resolves the
  error, and I can still see the charset_normalizer pip module is
  installed.

  The package seems to be completely installed in /usr/lib/python3/dist-
  packages/charset_normalizer-3.3.2.dist-info and /usr/lib/python3/dist-
  packages/charset_normalizer.

  As further troubleshooting, I installed the package on my additional
  Ubuntu 24.04 machine, and the same behaviour is occurring.

  This warning is a little annoying but, I don't think it's causing any
  issues other than a warning in pip output. My guess is that it's a deb
  packaging issue copying this file to the /usr/lib/python3.12/dist-
  packages/charset_normalizer-3.3.2.dist-info directory inadvertently
  during deb install.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/asciinema/+bug/2076497/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to