Hello.

On 12/22/19 2:33 PM, Mukundan Ragavan wrote:
I am looking to update Spyder-IDE to version 4.x [0] on rawhide and ran
into some issues. Spyder 4 introduces a few new dependencies are not yet
available in Fedora or have been retired. These dependencies are
qdarksuite, diff-match-patch and python-language-server.

qdarksuite is not necessarily a problem. It depends on qtsass and
helpdev. These three are fairly easily packaged [1].

diff-patch-match is already present in Fedora but has not been updated
for sometime by the looks of it. Although I have not tested if the
latest upstream version builds, I suspect this should not be a problem.

python-language-server (pyls), on the other hand, may be a problem. pyls
depends on several packages including jsonrpc-server, versioneer and
backports.functools_lru_cache in the simple configuration. The first two
packages are straightforward to build [1]. However, lru_cache seems to
python2 only as far as I can tell. Furthermore, it was recently retired
in Fedora for the exact same reason [2].

How do I proceed? Can the SIG give me some pointers on how I can move
forward? Anyone has experience with packaging Pyls?

I don't know the package but from the setup.py [0] it seems that it requires functools_lru_cache only for Python < 3.2 which makes perfect sense because the module is in the standard library since Python 3.2.

So, if you package all the new dependencies for Python 3, it should be fine without functools_lru_cache.

[0] https://github.com/palantir/python-language-server/blob/develop/setup.py#L37

Have a nice day.

Lumír


Thanks.


[0] https://github.com/spyder-ide/spyder/releases
[1] https://copr.fedorainfracloud.org/coprs/nonamedotc/spyder4/packages/
[2]
https://src.fedoraproject.org/rpms/python-backports-functools_lru_cache/c/1651e061a19e43948a25661a1cafcaaf2c5a5cfb?branch=master


_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org