Description
Description:
When using setup-python on Windows it generates a lot of output. 8k lines of files exist in a folder.
Action version: 5.6.0
Platform:
- UbuntumacOSWindows
Runner type:
- HostedSelf-hosted
Tools version: All
Repro steps: Use setup-python on Windows
Expected behavior: No unnecessary output
Actual behavior: Thousands of lines of output
Caused by actions/python-versions#319
Activity
mxschmitt commentedon Apr 28, 2025
PR with a fix: actions/python-versions#339 - I don't think having it in there provides any useful output to the users. Maybe I'm wrong tho!
[-]Verbose output (2-3k lines) on Windows[/-][+]Verbose output (8k lines) on Windows[/+]gowridurgad commentedon Apr 29, 2025
Hello @mxschmitt,
Thank you for reporting this issue. We will investigate it and get back to you as soon as we have some feedback.
aparnajyothi-y commentedon May 8, 2025
Hello @mxschmitt, We’ve investigated the issue and confirmed that the excessive logging originates from the changes introduced in PR #319, specifically this snippet:
This generates over 7,000 lines of logs during the setup process—even when the Python version isn't pre-installed on the runner images.
We’re currently reviewing PR #339 to trim or optimize this output. Going forward, only Python versions built after this change is merged will exclude the verbose logs.
We’ll follow up with updates once the cleanup is implemented.
Please feel free to reach out if you have any further questions or concerns.