Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spyder-kernels dependency not correctly detected for dev version #12002

Closed
trougnouf opened this issue Mar 26, 2020 · 2 comments · Fixed by #12017
Closed

spyder-kernels dependency not correctly detected for dev version #12002

trougnouf opened this issue Mar 26, 2020 · 2 comments · Fixed by #12017

Comments

@trougnouf
Copy link

trougnouf commented Mar 26, 2020

Dependencies are not correctly detected when the installed version has a string after the last number.
In this case I am trying to use the git version of spyder and spyder_kernels, the required version of spyder_kernels is ">=1.9.0;<1.10.0" and it is not satisfied by "2.0.0.dev0".

I believe this has to do with utils/programs/check_version.

Reproducible w/ Arch AUR packages python-spyder-kernels-git and spyder3-git (there are no official spyder4 packages on Arch atm.)

@sylvain-bougnoux
Copy link
Contributor

I had the same issue, it is because spyder imports spyder_kernel from external-deps/spyder-kernels and not from the pip installation (which for me is 1.9.0).

It is definitely not the good solution but removing the folder external-deps/spyder-kernels & all __pycache__ work for me... until the next git pull.

@ccordoba12
Copy link
Member

Dependencies are not correctly detected when the installed version has a string after the last number.

I haven't had time to update our git subrepo, that's all.

It is definitely not the good solution but removing the folder external-deps/spyder-kernels

If you want to use Spyder from git, please do not do that ever again. It's there for a reason. Then people wonder why things break so badly.

@ccordoba12 ccordoba12 added this to the Sprint 03 - II milestone Mar 27, 2020
@ccordoba12 ccordoba12 changed the title Dependency not correctly detected for dev version spyder-kernels dependency not correctly detected for dev version Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants