FS#66699 - [spyder] Dependency on python-language-server

Attached to Project: Community Packages
Opened by Maxim (mxfm) - Monday, 18 May 2020, 19:03 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Wednesday, 27 May 2020, 17:47 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Muflone (muflone)
Bruno Pagani (ArchangeGabriel)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: The trick with spyder dependency on python-language-server is ignored.

Spyder (python IDE) depends on python-language-server. For some reason upstream decided to depend on exact version of outdated python-language-server (restriction PYLS_REQVER = '>=0.31.9;<0.32.0' in source code). However, this decision seems to be disabled in PKGBUILD (https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/spyder). Despite this fact, when I install spyder from community-testing repo, I receive startup message that python-language-server version is 0.32 which violates restriction <0.32. It seems that the trick with patching source code does not work, so it should be fixed.

P.S Spyder reports (in help->dependecies) that jedi>=0.15.2 and parso >=0.5.2, so other dependency version patches do work.

P.P.S Despite these version restrictions spyder continues to work normally.

Additional info:
* 4.1.3-1 (python-language-server 0.32.0-3)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:

* install spyder 4.1.3 with python-language-server >= 0.32
This task depends upon

Closed by  Bruno Pagani (ArchangeGabriel)
Wednesday, 27 May 2020, 17:47 GMT
Reason for closing:  Works for me
Additional comments about closing:  You don’t have latest version, I’ve pushed 4.1.3-2 that fixed on May 14th.

Loading...