Skip to content
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 download progress reporting #1885

Merged
merged 20 commits into from
Jun 27, 2023
Merged

Pip download progress reporting #1885

merged 20 commits into from
Jun 27, 2023

Conversation

joeyballentine
Copy link
Member

This PR adds the ability for us to report on native pip downloads, via a build of my pip fork. This can be replaced in the future when the change gets merged into pip and released.

The bundled pip is slightly modified from my fork, in that I renamed every instance of "pip" to "chainner_pip" so it wouldn't overwrite the normal pip.

I tested it, and it works pretty well.

Copy link
Member

@RunDevelopment RunDevelopment left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What exactly is the status code even for? It's not like it's checked anywhere. We currently just log it, but that seems pretty useless. If an error occurs, then the status code likely won't tell you much.

backend/src/dependencies/store.py Outdated Show resolved Hide resolved
src/common/Backend.ts Outdated Show resolved Hide resolved
backend/src/dependencies/store.py Outdated Show resolved Hide resolved
backend/src/server.py Outdated Show resolved Hide resolved
backend/src/dependencies/store.py Outdated Show resolved Hide resolved
src/common/Backend.ts Outdated Show resolved Hide resolved
src/main/gui/main-window.ts Outdated Show resolved Hide resolved
joeyballentine and others added 3 commits June 24, 2023 05:06
Co-authored-by: Michael Schmidt <mitchi5000.ms@googlemail.com>
Co-authored-by: Michael Schmidt <mitchi5000.ms@googlemail.com>
Co-authored-by: Michael Schmidt <mitchi5000.ms@googlemail.com>
backend/src/dependencies/store.py Outdated Show resolved Hide resolved
backend/src/dependencies/store.py Outdated Show resolved Hide resolved
backend/src/dependencies/store.py Outdated Show resolved Hide resolved
backend/src/server.py Outdated Show resolved Hide resolved
backend/src/server.py Outdated Show resolved Hide resolved
@joeyballentine
Copy link
Member Author

Assuming this is good. Merging so I can work on the optional dep installation with progress reporting

@joeyballentine joeyballentine merged commit afa9327 into main Jun 27, 2023
13 checks passed
@joeyballentine joeyballentine deleted the pip-download-progress branch June 27, 2023 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants