Public bug reported:

The python3-tqdm (version 4.66.2-2) package is created with version
0.0.0 as the internal version specifier, meaning any attempt at using
Python to check it against a version will fail. I have a python script
using pkg_resources.require() / packaging.requirements which requires
tqdm>=4.62.3 (something the Ubuntu package satisifies).

HOWEVER:

/usr/lib/python3/dist-packages/ contains the folder tqdm-0.0.0.dist-info which 
contains the files
----
entry_points.txt  INSTALLER  METADATA  top_level.txt  WHEEL
----

The METADATA file contains at the top:
----
Metadata-Version: 2.1
Name: tqdm
Version: 0.0.0
----

**** Note the version 0.0.0 in both METADATA and folder name ****

python3-numpy is an example of being correct with both the folder and
METADATA file containing the correct version.

The result is that version checks work against python3-numpy but not
python3-tqdm.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: python3-tqdm 4.66.2-2
ProcVersionSignature: Ubuntu 6.8.0-45.45-generic 6.8.12
Uname: Linux 6.8.0-45-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Thu Sep 19 10:00:08 2024
Dependencies:
 
InstallationDate: Installed on 2024-09-18 (1 days ago)
InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 
(20240827.1)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 XDG_RUNTIME_DIR=<set>
SourcePackage: tqdm
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: tqdm (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2081150

Title:
  Python3 TQDM package is missing version specification

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to