Skip to content

Conversation

smortex
Copy link
Member

@smortex smortex commented Sep 28, 2025

When passing a --log option to pip install, verbose logging is appended to the specified file, and the default logging captured by puppet is quieter than without the option.

When an installation error occur, the quieter output does not contain the reason for the failure, and inspection of the log file is necessary to determine the reason of the error. This is impractical in CI systems where this file cannot be retrieved easily, and makes fixing regressions harder.

On production systems, this log is also mostly useless since projects dependencies versions are generally expected to be found in the requirement file used for installation in order for deployments to be reproducible.

When passing a `--log` option to `pip install`, _verbose_ logging is
appended to the specified file, and the default logging captured by
puppet is _quitter_ than the default.

When an installation error occur, the quieter output does not contain
the reason for the failure, and inspection of the log file is necessary
to determine the reason of the error.  This is impractical in CI systems
where this file cannot be retrieved easily, and makes fixing regressions
harder.

On production systems, this log is also mostly useless since projects
dependencies versions are generally expected to be found in the
requirement file used for installation in order for deployments to be
reproducible.
@smortex smortex added the enhancement New feature or request label Sep 29, 2025
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