Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#72318 - Python-plumbum reports 0.0.0 as version in egg-info
Attached to Project:
Community Packages
Opened by Henry-Joseph (ryolait) - Friday, 01 October 2021, 18:52 GMT
Last edited by kpcyrd (kpcyrd) - Monday, 11 October 2021, 21:19 GMT
Opened by Henry-Joseph (ryolait) - Friday, 01 October 2021, 18:52 GMT
Last edited by kpcyrd (kpcyrd) - Monday, 11 October 2021, 21:19 GMT
|
DetailsDescription:
python-plubmum 1.7.0-3 is reporting the wrong version number in egg-info metadata. $ pacman -Qi python-plumbum | grep -i version Version : 1.7.0-3 $ grep -R 1.7.0 /usr/lib/python3.9/site-packages/plumbum /usr/lib/python3.9/site-packages/plumbum/version.py:version = '1.7.0' However, $ pacman -Ql python-plumbum | grep egg-info python-plumbum /usr/lib/python3.9/site-packages/plumbum-0.0.0-py3.9.egg-info/ python-plumbum /usr/lib/python3.9/site-packages/plumbum-0.0.0-py3.9.egg-info/PKG-INFO python-plumbum /usr/lib/python3.9/site-packages/plumbum-0.0.0-py3.9.egg-info/SOURCES.txt python-plumbum /usr/lib/python3.9/site-packages/plumbum-0.0.0-py3.9.egg-info/dependency_links.txt python-plumbum /usr/lib/python3.9/site-packages/plumbum-0.0.0-py3.9.egg-info/requires.txt python-plumbum /usr/lib/python3.9/site-packages/plumbum-0.0.0-py3.9.egg-info/top_level.txt (note the "0.0.0" in the directory name) $ grep ^Version: /usr/lib/python3.9/site-packages/plumbum-0.0.0-py3.9.egg-info/PKG-INFO Version: 0.0.0 This result in pkg_resources detects incompatibility with requirements, e.g. "pkg_resources.ContextualVersionConflict: (plumbum 0.0.0 (/usr/lib/python3.9/site-packages), Requirement.parse('plumbum>=1.4.2'), {'walt-common', 'walt-client'})" Steps to Reproduce: Just check python-plumbum package files. |
This task depends upon
Closed by kpcyrd (kpcyrd)
Monday, 11 October 2021, 21:19 GMT
Reason for closing: Fixed
Additional comments about closing: 1.7.0-4
Monday, 11 October 2021, 21:19 GMT
Reason for closing: Fixed
Additional comments about closing: 1.7.0-4
(They also add python-toml, but it seems not required for me, not sure on that point).
With this patch to the PKGBUILD, the egg-info directory version number is correct (built from a clean chroot).
diff --git a/repos/community-any/PKGBUILD b/repos/community-any/PKGBUILD
index de6fedc..14327e0 100644
--- a/repos/community-any/PKGBUILD
+++ b/repos/community-any/PKGBUILD
@@ -9,8 +9,8 @@ url='https://github.com/tomerfiliba/plumbum'
arch=('any')
license=('MIT')
depends=('python')
-makedepends=('python-setuptools')
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+makedepends=('python-setuptools' 'python-setuptools-scm')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha512sums=('0a12891278c12bb98b8bbb825448375240ee347eb3ca166b9cbb4da3e083979d947a7bf0a843fd9a0b7c9a13d09f24e988ee877f29420a3f29f40e387eec8826')
b2sums=('19ae8a37dff38ac3d263d9400e44ac174c46ff8cef92cf45b9ea31d6d344543fba66de3fd0fcd15acc205af5939f11be6c56e6cd9ca39a666f92f18dcd29b9f7')