-
Notifications
You must be signed in to change notification settings - Fork 26
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
micropipenv doesn't install all the dependencies of my main dependencies #295
Comments
In
Which seems relevant. I guess this is sort of a known issue but there weren't actually any issues open with it demonstrating the impact on a real project before... |
Thanks for the report. I'll take a look at it. |
So, the problem is in this part of the dependency graph:
and in the fact that we are processing the dependencies one by one in the order as they are in the poetry.lock. That means that we process h2 and hpack for example sooner than quart and at that time we don't know the category for them because quart hasn't been processed yet and because they are not explicit dependencies we put them to dev category. I think this is fixable but I don't know what will break. |
The fix is ready to be reviewed in #299 and I've prepared a new test with an exact copy of your configuration. |
Thanks for this everyone. I've tested my project with the new release and it works! One weird thing I've noticed is that running |
That is expected and can be controlled, see the README file:
|
Thanks :) |
Describe the bug
I've found that micropipenv is not installing some of the transitive dependencies of my project. That is, I depend on
hypercorn
, but the transitive dependenciesh2
,hpack
,hyperframe
andwsproto
are not installed.To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/yrro/ngfw-edl-server/ && cd ngfw-edl-server
python3 -m venv /tmp/1234
PIP_PYTHON=/tmp/1234/bin/python micropipenv install --deploy
(I can't include the full output because of GitHub's limit but I can see the missing dependencies show up in thedevelop
section instead of thedefault
section./tmp/1234/bin/python -m pip list
shows installed packages, buth2
,hpack
,hyperframe
,wsproto
are missing:Expected behavior
All the following packages to be installed:
Additional context
Maybe it's something about how hypercorn declares its dependencies in its own package metadata... not sure.
The text was updated successfully, but these errors were encountered: