-
Notifications
You must be signed in to change notification settings - Fork 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
Dedent late download logs #8722
Conversation
4407b8b
to
534976d
Compare
May I have a review from you as well, @uranusjr? |
The dedents look good to me, but I feel I’m not qualified to give approval since I’m not familiar with the code around the area to know the possible nuances. |
Thanks, @uranusjr. I'll wait for a little longer then, this is not something urgent anyway. |
Ping gently to attract another review from a maintainer. |
@@ -515,55 +515,51 @@ def prepare_linked_requirements_more(self, reqs, parallel_builds=False): | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we have some reqs
to download, we might want to have a log line explaining that we are finishing the downloads here with an other indent_log()
?
This would transform:
$ pip --use-feature=2020-resolver --use-feature=fast-deps download scipy
WARNING: pip is using lazily downloaded wheels using HTTP range requests to obtain dependency information. This experimental feature is enabled through --use-feature=fast-deps and it is not ready for production.
Collecting scipy
Obtaining dependency information from scipy 1.5.2
Collecting numpy>=1.14.5
Obtaining dependency information from numpy 1.19.2
Downloading scipy-1.5.2-cp38-cp38-manylinux1_x86_64.whl (25.7 MB)
|████████████████████████████████| 25.7 MB 8.5 MB/s
Downloading numpy-1.19.2-cp38-cp38-manylinux2010_x86_64.whl (14.5 MB)
|████████████████████████████████| 14.5 MB 25.3 MB/s
Saved ./scipy-1.5.2-cp38-cp38-manylinux1_x86_64.whl
Saved ./numpy-1.19.2-cp38-cp38-manylinux2010_x86_64.whl
Successfully downloaded scipy numpy
to
$ pip --use-feature=2020-resolver --use-feature=fast-deps download scipy
WARNING: pip is using lazily downloaded wheels using HTTP range requests to obtain dependency information. This experimental feature is enabled through --use-feature=fast-deps and it is not ready for production.
Collecting scipy
Obtaining dependency information from scipy 1.5.2
Collecting numpy>=1.14.5
Obtaining dependency information from numpy 1.19.2
Completing dependencies download
Downloading scipy-1.5.2-cp38-cp38-manylinux1_x86_64.whl (25.7 MB)
|████████████████████████████████| 25.7 MB 8.5 MB/s
Downloading numpy-1.19.2-cp38-cp38-manylinux2010_x86_64.whl (14.5 MB)
|████████████████████████████████| 14.5 MB 25.3 MB/s
Saved ./scipy-1.5.2-cp38-cp38-manylinux1_x86_64.whl
Saved ./numpy-1.19.2-cp38-cp38-manylinux2010_x86_64.whl
Successfully downloaded scipy numpy
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review! Would it be OK to delay to GH-8771? I have no problem implemented what you're suggesting though (nor I have any strong opinion favoring either the this PR's current implementation or your suggestion).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be OK to delay to GH-8771?
Sure :)
534976d
to
8f8a1d6
Compare
This fixes GH-8721. The news file is trivial because the behavior described in the issue has never made it into any release.