-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Some dependencies not getting installed #20
Comments
The thing is Poetry uses the PyPI JSON API to avoid having to download packages to retrieve dependency information. So, if you look at https://pypi.org/pypi/Sphinx/json you can see that the As for pylint, this is strange since the $ poetry debug:resolve pylint
Resolving dependencies...............
Resolution results:
- lazy-object-proxy (1.3.1)
- wrapt (1.10.11)
- enum34 (1.1.6)
- astroid (1.6.2)
- six (1.11.0)
- isort (4.3.4)
- mccabe (0.6.1)
- singledispatch (3.4.0.3)
- configparser (3.5.0)
- backports.functools-lru-cache (1.5)
- colorama (0.3.9)
- pylint (1.8.3) |
Ah ok, that makes sense regarding Sphinx. I guess the workaround would be to manually install Sphinx with pip then? Actually my pylint issue seems to be something else. If I have this [tool.poetry]
name = "example"
version = "0.1.0"
authors = [ "Name <[email protected]>",]
description = "Example package"
[tool.poetry.dependencies]
python = "^2.7"
pylint = "^1.8"
[tool.poetry.dev-dependencies] Then run $ poetry install
Updating dependencies
Resolving dependencies...............
Package operations: 11 installs, 0 updates, 0 removals
Writing lock file
- Installing lazy-object-proxy (1.3.1)
- Installing wrapt (1.10.11)
- Installing enum34 (1.1.6)
- Installing astroid (1.6.2)
- Installing six (1.11.0)
- Installing isort (4.3.4)
- Installing mccabe (0.6.1)
- Installing singledispatch (3.4.0.3)
- Installing backports.functools-lru-cache (1.5)
- Installing colorama (0.3.9)
- Installing pylint (1.8.3) It's missing
|
The installation of You can actually see this when installing by passing the $ poetry install -v |
The virtualenv I'm using is Python 2.7 though:
|
OK. I see where the problem is coming from. I will fix this and make a new bugfix release. |
The issue with pylint should be fixed in the latest release (0.6.2) |
I just tried this out on my end and I can confirm this is now fixed. Thank you! |
@sdispater I think I had a similar issue with
while in the lock file, I have the [[package]] [package.dependencies] |
@byronz Could you try with the |
github: clean up default test workflow
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. |
Trying to add Sphinx to my dependencies, but none of Sphinx's dependencies get installed.
Here's what my
pyproject.toml
looks like after runningpoetry add sphinx
:And my
pyproject.lock
:This was also happening when I was trying to install pylint, its dependencies weren't installed.
The text was updated successfully, but these errors were encountered: