Skip to content
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

Log verbose info from pip install #78

Open
jakirkham opened this issue Jul 2, 2024 · 0 comments
Open

Log verbose info from pip install #78

jakirkham opened this issue Jul 2, 2024 · 0 comments

Comments

@jakirkham
Copy link
Member

jakirkham commented Jul 2, 2024

When building packages with pip install using normal verbosity, information about CMake configuration and build steps is swallowed meaning this cannot be found in the CI logs. However a previous attempt to add -vv caused issues with GH logs rendering ( rapidsai/ci-imgs#151 )

To find a better balance between including this useful information and not making the logs unreadable, we might consider redirecting this information to a log file that is stored in the GH artifacts. That way we still have the information available to inspect when debugging issues with builds or packages while also not adding more content to GH logs

pip has support for logging builtin. So we could do something like this

[global]
log = pip_log.txt

Tried this locally with a package and it appears to do the right thing. The file is written in the same directory pip was called

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

No branches or pull requests

1 participant