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#67914 - [python-ujson] Incorrect PEP 440 version, breaking python-language-server
Attached to Project:
Community Packages
Opened by Chih-Hsuan Yen (yan12125) - Thursday, 17 September 2020, 04:50 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Friday, 18 September 2020, 07:33 GMT
Opened by Chih-Hsuan Yen (yan12125) - Thursday, 17 September 2020, 04:50 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Friday, 18 September 2020, 07:33 GMT
|
DetailsDescription:
$ pyls (...other backtrace lines omitted...) pkg_resources.ContextualVersionConflict: (ujson 0.0.0 (/usr/lib/python3.8/site-packages), Requirement.parse('ujson>=3.0.0'), {'python-jsonrpc-server'}) Additional info: python-ujson 3.2.0-1 python-jsonrpc-server 0.4.0-1 python-language-server 0.34.1-2 ujson has been broken for some time. It was not user-visible as python-jsonrpc-server does not require new ujson until 0.4.0 [1] A possible fix is using $SETUPTOOLS_SCM_PRETEND_VERSION like several other Arch packages [2]. Here is a working patch for PKGBUILD: https://fars.ee/ViqX [1] https://github.com/palantir/python-jsonrpc-server/pull/44 [2] https://pkgbuild.vdwaa.nl/?q=SETUPTOOLS_SCM_PRETEND_VERSION&i=nope&files=&repos= Steps to reproduce: Upgrade the system and run `pyls` |
This task depends upon
Closed by Massimiliano Torromeo (mtorromeo)
Friday, 18 September 2020, 07:33 GMT
Reason for closing: Fixed
Additional comments about closing: python-ujson-3.2.0-2
Friday, 18 September 2020, 07:33 GMT
Reason for closing: Fixed
Additional comments about closing: python-ujson-3.2.0-2