Skip to content

Improve Python deps checks and logging#116

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

Improve Python deps checks and logging#116
TiTidom-RC merged 2 commits into
masterfrom
beta

Conversation

@TiTidom-RC

Copy link
Copy Markdown
Owner

This pull request makes improvements to the dependency checking logic in the tvremote class, focusing on more consistent logging and better pip command usage. The most important changes are:

Dependency checking improvements:

  • All logging calls in dependancy_info() now use __CLASS__ instead of the hardcoded 'tvremote', ensuring correct class-based logging throughout the method.
  • The pip commands used to check and list Python dependencies now include the --no-cache-dir option and no longer use sudo, which can improve reliability and security when running these commands.

Use __CLASS__ for log tags instead of hardcoded 'tvremote' to standardize logging. Remove sudo from pip commands and add --no-cache-dir to pip invocations when checking/installing dependencies. Switch pip freeze to use shell_exec and include its output in logs for easier debugging of missing Python packages.
Improve Python deps checks and logging
@TiTidom-RC TiTidom-RC merged commit ed68b1d 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