Skip to content

Use --no-cache-dir for pip installs#114

Merged
TiTidom-RC merged 2 commits into
masterfrom
beta
Jun 13, 2026
Merged

Use --no-cache-dir for pip installs#114
TiTidom-RC merged 2 commits into
masterfrom
beta

Conversation

@TiTidom-RC

Copy link
Copy Markdown
Owner

This pull request makes a minor improvement to the Python package installation process in the resources/install_apt.sh script by ensuring that pip does not use the cache when installing or upgrading packages. This can help prevent issues related to stale or corrupted cached packages.

  • Installation process improvement:
    • Added the --no-cache-dir option to all pip install commands to disable pip's package cache during installation and upgrades.

Add the --no-cache-dir flag to pip install commands in resources/install_apt.sh (both the pip/wheel upgrade and the requirements installation) to avoid pip caching packages during automated installs. This reduces disk usage and prevents potential stale-cache issues in constrained or ephemeral environments.
Use --no-cache-dir for pip installs
@TiTidom-RC TiTidom-RC merged commit 3e6e2e0 into master Jun 13, 2026
1 check passed
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.

1 participant