Skip to content

Commit

Permalink
log: bring back output for build command loggers
Browse files Browse the repository at this point in the history
The virtualenv creation resets any existing root logger, so the build command that uses a custom build script loses the ability to log anything below WARNING. Not mentioning the usual IOHandler gets swapped for the default stdout StreamHandler.
  • Loading branch information
vit-zikmund committed Dec 7, 2023
1 parent 56b6ede commit 32ae194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/poetry/utils/env/env_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ def build_venv(

args.append(str(path))

cli_result = virtualenv.cli_run(args)
cli_result = virtualenv.cli_run(args, setup_logging=False)

# Exclude the venv folder from from macOS Time Machine backups
# TODO: Add backup-ignore markers for other platforms too
Expand Down

0 comments on commit 32ae194

Please sign in to comment.