Skip to content

Reducing the size of venv by using common packages #310

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

Merged
merged 11 commits into from
Apr 2, 2024

Conversation

qu35t-code
Copy link
Member

Description

The package_base installs the most frequently used python packages (top 25).
Then the python venv uses the system environment to avoid duplicating packages and save installation time.

Related issues

The images are too big !

@qu35t-code qu35t-code added the enhancement New feature or request label Feb 22, 2024
Copy link
Member

@ShutdownRepo ShutdownRepo left a comment

Choose a reason for hiding this comment

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

nice! let's do it as well for pipx-installed tools

@ShutdownRepo
Copy link
Member

@qu35t-code can you remind here how much space and build time was gained? (for future reference when preparing the dev -> main release)

@qu35t-code
Copy link
Member Author

Sure :

Build time : 1h30 vs 1h45
Size : 52Go vs 55go

@ShutdownRepo ShutdownRepo merged commit 8ff16e3 into ThePorgs:dev Apr 2, 2024
@ShutdownRepo ShutdownRepo deleted the fix/python-venv branch April 2, 2024 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants