[Ubuntu] Cartopy version 0.0.0 bug

Sebastiaan Couwenberg sebastic at xs4all.nl
Mon Feb 7 12:26:48 PST 2022


On 2/7/22 20:34, Bennett Kanuka wrote:
> Hi there,  I believe there is a bug in how python3-cartopy is being built.
> The .egg directory and PKG-INFO is reporting version 0.0.0 . This becomes
> an issue because pip also sees cartopy 0.0.0 is installed and often tries
> to upgrade it (for obvious reasons).  This can be tested by running `pip
> list` after installing python3-cartopy from the repo.

Cartopy doesn't specify a version in their setup() call. They use 
setuptools_scm to get the version from their git repo which is 
incompatible with Debian packaging in git.

Fixed with:

 
https://salsa.debian.org/debian-gis-team/python-cartopy/-/commit/8980cbfe4886eae31fd85aed94b12b563c312800

Kind Regards,

Bas

-- 
  GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1


More information about the Ubuntu mailing list