On Sun, Dec 22, 2019 at 08:33:00AM -0500, Mukundan Ragavan wrote:
I am looking to update Spyder-IDE to version 4.x  on rawhide and
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 .
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 . 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 .
functools.lru_cache() is provided by the standard library in python3.
We have diff-match-patch from 2012, latest version is 20181111.
I'd say it's ripe for an update.
How do I proceed? Can the SIG give me some pointers on how I can
forward? Anyone has experience with packaging Pyls?
I'd just go ahead with updating everything to the latest versions.
Feel free to put me in CC on any package reviews or PRs, I'll be happy
to review them.