-
-
Notifications
You must be signed in to change notification settings - Fork 611
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
pip-compile skips transitive dependencies on python 3.7 #928
Comments
Uh, I think Annoying, next time this happens, what information (and how) can I provide, to get to the root of it? |
Hello @tuukkamustonen, Aw, you've caught it again. Next time this happens run pip-compile with
|
Thanks! I'll try to remember this and embed full details :| Closing this now. |
Just wondering, have you used constraints files with |
@atugushev Appreciate for checking back on this 🙏. Yeah, I'm using pip constraints these days, but I'm not sure if I had those back when I encountered the problems. I'll check the linked ticket! (And thanks for the awesome tool btw.) |
pip-compile
skips transitive dependency on python 3.7.Environment Versions
3.7.4
19.2.3
4.1.0
Steps to replicate
Works on python 3.6 (and 3.5):
$ pyenv install 3.6.6 py36 $ pyenv activate py36 $ pip install -U pip pip-tools $ pip-compile --no-header --no-index pydocstyle==4.0.1 snowballstemmer==2.0.0 # via pydocstyle
(
snowballstemmer
is the transitive dependency we are after here. Read on.)Fails on python 3.7:
$ pyenv install 3.7.4 py37 $ pyenv activate py37 $ pip install -U pip pip-tools $ pip-compile --no-header --no-index pydocstyle==4.0.1 $ pip install pydocstyle # the missing requirement is actually needed on py3.7, too ... Installing collected packages: snowballstemmer, pydocstyle Successfully installed pydocstyle-4.0.1 snowballstemmer-2.0.0
Interestingly,
pydocstyle < 4
installs just fine! Still within python3.7
env:Took a look at
pydocstyle
changes into4.x
, but they have only addedpython_requires='>=3.5'
tosetup.py
as far as I can tell.Also reproduces with
pylint
(where it skips even more dependencies).The text was updated successfully, but these errors were encountered: