Repository navigation
PyPy's resolvedPyPyVersion has a trailing newline #609
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Activity
I'm working to resolve this now and will open a PR shortly.
- added a commit that references this issue
on Feb 11, 2023 Hello @kurtmckee! Thank you for reporting this!
We will investigate the issue and get back to you as soon as we have updates.Thanks @e-korolevskii! I think I've fixed this in PR #610. Please take a look when you have an opportunity. 😀
- added a commit that references this issue
on Feb 20, 2023 Hello @kurtmckee. We've merged your pull request. Could you please try to use setup-python as
actions/setup-python@mainto confirm that everything works as expected? Later we'll prepare the release and update the major tag.Reacted by Kurt McKeeWill do! I'll report back shortly.
Hello @kurtmckee. Thank you for your response. For now I'll reopen the until the new version is released.
Reacted by Kurt McKeeThe fix was released in v4.6.0. Closing.
- added a commit that references this issue
on Oct 7, 2025
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Description:
While working on #606 I discovered that PyPy's
resolvedPyPyVersioncontains a trailing newline, which causes thepythonVersion(passed tocacheDependencies) to look like7.3.11\n-3.9.16.Action version:
I'm running code against the
mainbranch. The bug only exists on Ubuntu and macOS runners. The Windows runner does not have the trailing newline.Platform:
Runner type:
Tools version:
PyPy 7.3.11 with Python 3.9.16
Repro steps:
You can see the issue in the output of the "Installed versions" output group. I've created a repo to demonstrate the issue with a simple workflow:
https://github.com/kurtmckee/demonstrate-pypy-newlines/actions/runs/4151696169/jobs/7182162044
Expected behavior:
I expect that the
resolvedPyPyVersionvariable will not have a trailing newline.Actual behavior:
resolvedPyPyVersionhas a trailing newline, and this can be seen in the "Installed versions" output group's text:On Ubuntu and macOS:
On Windows: