-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Add dramatically improved queued installation #3209
Conversation
Signed-off-by: Dan Ryan <[email protected]>
Signed-off-by: Dan Ryan <[email protected]>
- Implement improvements and bugfixes in codebase - Remote archives will now resolve properly Signed-off-by: Dan Ryan <[email protected]>
- Specific construct for isolationg operations Signed-off-by: Dan Ryan <[email protected]>
Signed-off-by: Dan Ryan <[email protected]>
Signed-off-by: Dan Ryan <[email protected]>
Signed-off-by: Dan Ryan <[email protected]>
- Use queues and parallelized installation - Better UI/UX -- progress bar moves gradually as items are moved on and off the queue - Queue is handled by item instead of in massive batches - TODO: Call out when task is done from the install function? Signed-off-by: Dan Ryan <[email protected]>
Signed-off-by: Dan Ryan <[email protected]>
Signed-off-by: Dan Ryan <[email protected]>
Signed-off-by: Dan Ryan <[email protected]>
I just found that when using dummyspinner, For example, Line 606 in d03cfff
|
That's because the dummy spinner is not a real spinner, it only writes things to stderr |
Is it better to just disable output things when use dummy spinner? The above output looks a bit redundant when users disable spinner by |
Signed-off-by: Dan Ryan <[email protected]>
Signed-off-by: Dan Ryan <[email protected]>
Signed-off-by: Dan Ryan <[email protected]>
Signed-off-by: Dan Ryan <[email protected]>
Signed-off-by: Dan Ryan <[email protected]>
Thanks for the reviews, I cleaned up everything you guys caught and a bunch of other things also. Just cut releases of pythonfinder, requirementslib, and vistir. Now if this builds I can start merging for the last release |
Signed-off-by: Dan Ryan <[email protected]>
Signed-off-by: Dan Ryan <[email protected]>
Signed-off-by: Dan Ryan <[email protected]>
- Fix virtualenv - Update pythonfinder Signed-off-by: Dan Ryan <[email protected]>
Signed-off-by: Dan Ryan <[email protected]>
new_order = [] | ||
target = os.path.normcase(os.path.normpath(os.path.abspath(path))) | ||
path_map = { | ||
os.path.normcase(os.path.normpath(os.path.abspath(pth))): pth |
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.
The pth
may be a PosixPath
type, then abspath
will raise AttributeError: 'PosixPath' object has no attribute 'startswith'
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.
Just saw this. Pushed a fix on the other branch. Thanks for keeping track, I’m planning to annotate these non-pipenv codebases
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.
Nice 👍
attrs==18.2.0 | ||
distlib==0.2.8 | ||
packaging==18.0 | ||
pyparsing==2.2.2 | ||
pytoml==0.1.19 | ||
plette==0.2.2 | ||
tomlkit==0.4.6 | ||
tomlkit==0.5.2 |
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.
Don't update this line or otherwise vendoring build will fail.
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.
I undid this on the other branch since I need that to pass first anyway
Add dramatically improved queued installation
on and off the queue
/cc @frostming @jxltom @uranusjr