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#70779 - [python-pygls] is installed egg-info version 0.0.0
Attached to Project:
Community Packages
Opened by Mauro (pinku) - Monday, 10 May 2021, 11:03 GMT
Last edited by Daniel M. Capella (polyzen) - Monday, 10 May 2021, 11:56 GMT
Opened by Mauro (pinku) - Monday, 10 May 2021, 11:03 GMT
Last edited by Daniel M. Capella (polyzen) - Monday, 10 May 2021, 11:56 GMT
|
DetailsDescription:
In the latest version of `python-pygls` (0.10.3-1), the package is installed in the usual path (/usr/lib/python3.9/site-packages) with version 0.0.0. ``` - /usr/lib/python3.9/site-packages/pygls - /usr/lib/python3.9/site-packages/pygls-0.0.0-py3.9.egg-info ``` The following python script returns `0.0.0` ```python from importlib.metadata import version print(version('pygls')) ``` If the package is installed "by-hand" following the steps below: * download the source files by either pythonhosted.org or github.com * install as user or globally (sudo) with `pip install` or `python setup.py install` the package reports the expected value for its version (0.10.3). Even if following step by step the PKGBUILD found at the [github mirror](https://github.com/archlinux/svntogit-community/blob/packages/python-pygls/trunk/PKGBUILD) ``` build() { cd $_name-$pkgver python setup.py build } check() { cd $_name-$pkgver pytest } package() { cd $_name-$pkgver python setup.py install --root="$pkgdir" --optimize=1 --skip-build } ``` then the installed package still reports the right version. I've reported upstream (https://github.com/openlawlibrary/pygls/issues/189) but realized soon that following the "manual process" gave no issues. |
This task depends upon
Closed by Daniel M. Capella (polyzen)
Monday, 10 May 2021, 11:56 GMT
Reason for closing: Fixed
Additional comments about closing: https://github.com/archlinux/svntogit-co mmunity/commit/6d7c1a85c6d4032276e01b9b0 e960474cb97db68 (Didn't back out of the commit properly so the commit doesn't contain details.)
Monday, 10 May 2021, 11:56 GMT
Reason for closing: Fixed
Additional comments about closing: https://github.com/archlinux/svntogit-co mmunity/commit/6d7c1a85c6d4032276e01b9b0 e960474cb97db68 (Didn't back out of the commit properly so the commit doesn't contain details.)
(pacman cache need to be cleared).
Maybe it's a dependency issue.