python3Packages.spyder: add v3.x #82910
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation for this change
cq-editor requires the library Spyder v3, which in turn requires Spyder-kernels v0.x. I've added them as
python3Packages.spyder_3
andpython3Packages.spyder-kernels_0_5
respectively.I haven't touched the spyder application (v4),
pythonPackages.spyder
orpythonPackages.spyder-kernels
.Also, I enabled tests on
python3Packages.spyder-kernels_0_5
and got them to pass (with the exception of the tests for their optional UMR feature, which make assumptions about the filesystem that fail in nix).Regarding the still broken Spyder v4, it requires Jedi 14.0 but we have 15.2. If this commit sticks spyder-ide/spyder@694f1ce, the next release of Spyder should have Jedi pinned to 15.2. So if the stars align and no one bumps our Jedi version we might get it working then.
Related to #80083
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)cq-editor builds fine.
pythonPackages.spyder
builds for python 3.6 and 3.7, butpython35Packages.sqlalchemy
,python38Packages.rope
are currently broken preventing builds on those versions of Python.I think this will need to be backported to release-20.03 as well.