Skip to content

Use pip --no-cache-dir and remove sudo#274

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

Use pip --no-cache-dir and remove sudo#274
TiTidom-RC merged 2 commits into
mainfrom
beta

Conversation

@TiTidom-RC

Copy link
Copy Markdown
Owner

This pull request updates the way Python dependencies are checked in the ttscast core class. The main improvement is to ensure that the dependency check uses a more reliable and efficient command by removing unnecessary sudo usage and disabling pip's cache.

Dependency check improvement:

  • Updated the dependency check in ttscast.class.php to run the pip freeze command without sudo and with the --no-cache-dir flag for better reliability and security.

Update dependency check in core/class/ttscast.class.php to invoke Python's pip without system::getCmdSudo() and add the --no-cache-dir flag to pip freeze. This avoids relying on sudo and prevents pip cache interference when counting installed dependencies via grep, improving reliability of the check.
Use pip --no-cache-dir and remove sudo
@TiTidom-RC TiTidom-RC merged commit 2f359c0 into main 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