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
Command-line entry points are not created when installing Jupyter #301
Comments
The problem isn't even with the scripts: the dependencies for install_requires = [
'notebook',
'qtconsole',
'jupyter-console',
'nbconvert',
'ipykernel',
'ipywidgets',
] I could reproduce it here, so there is definitely something wrong with the dependency resolver. |
Because |
@simonpercivall I think you may be right: there are no |
Poetry does multiple checks to get the dependencies of a package:
Now, for this particular case, Poetry chooses the sdist, which doesn't hold the dependency information, and not the wheel, which has the appropriate information, because the wheel has been declared has compatible only with Python 3.4. That being said, I think we could do something similar as to what is currently done when using private repositories, i.e. if after using the compatible distributions without success we select wheels that are not necessarily compatible. I think it will work most of the time since wheels hold this information regardless of its specified Python version. |
This is fixed in commit ad55beb and it will land in the next bugfix release. |
Release |
Hmmm, I can still reproduce this with |
Well, at least you should now have the proper dependencies when installing Regarding entrypoints I must admit I am lost since Poetry uses |
Strange, I just created a new project and did |
I think many dependencies are still missing:
Followed by:
|
@jacebrowning Oh, this is a cache problem. You need to clear the jupyter-1.0.0 cache: poetry cache:clear pypi:jupyter:1.0.0 It should work after this. |
I think that this is still an issue... Steps to reproduce:
After installing the missing packages,
All three packages are python 3.7 +
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option).Issue
I assume that Jupyter might be doing something strange with their "meta" installer, but I think this should still work with Poetry:
But if I use
pip
instead:The text was updated successfully, but these errors were encountered: