python3-gpg 1.16.0-unknown version is incomparable, dependencies always fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gpgme1.0 (Debian) |
Fix Released
|
Unknown
|
|||
gpgme1.0 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Jammy |
Won't Fix
|
Undecided
|
Unassigned | ||
Kinetic |
Fix Released
|
Undecided
|
Unassigned | ||
Lunar |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The python version of the gpgme version contains "unknown" and is therefore not PEP440 order compatible.
See this example:
# pip3 freeze | grep gpg
gpg==
# pip3 install pstore
...
Successfully installed gpg-1.10.0
Successfully installed pstore-2.0.0
# pip3 freeze | grep gpg
gpg==1.10.0
Key takeways from that example:
- pstore depends on gpg>=1.10
- 1.16 SHOULD be higher than 1.10
- pip installs 1.10 even though 1.16 exists
- the triple-= (gpg===
Suggested fix:
- replace the '-' from `gpgme-config --version` "1.16.0-unknown" with a '+'; that will compare as expected;
- fix so "-unknown" isn't appended.
Apparently, this is caused by insufficient fixes in 0001-avoid-
I've attached a FIXED version, which should fix things.
Before:
$ autoreconf -ivf
$ grep Generated.*gpgme configure
# Generated by GNU Autoconf 2.71 for gpgme 1.16.0-unknown.
After:
$ quilt push
Applying patch 0001-avoid-
$ autoreconf -ivf
$ grep Generated.*gpgme configure
# Generated by GNU Autoconf 2.71 for gpgme 1.16.0.
Versions:
$ lsb_release -a 2>/dev/null| grep Codename
Codename: jammy
$ apt-cache policy python3-gpg | grep Installed
Installed: 1.16.0-1.2ubuntu4
Cheers,
Walter Doekes
OSSO B.V.
Changed in gpgme1.0 (Ubuntu): | |
importance: | Undecided → Medium |
summary: |
- python3-gpg "1.16.0-unknown" version is incomparable -> dependencies - always fail + python3-gpg 1.16.0-unknown version is incomparable, dependencies always + fail |
Changed in gpgme1.0 (Debian): | |
status: | Unknown → Fix Released |
Changed in gpgme1.0 (Ubuntu Kinetic): | |
status: | New → Fix Released |
Changed in gpgme1.0 (Ubuntu Lunar): | |
status: | New → Fix Released |
Changed in gpgme1.0 (Ubuntu Jammy): | |
status: | New → Triaged |
Changed in gpgme1.0 (Ubuntu): | |
status: | Confirmed → Fix Released |
Created PR at Debian: https:/ /salsa. debian. org/debian/ gpgme/- /merge_ requests/ 4