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

Add pyton-version to setup PyPy output #365

merged 4 commits into from Apr 4, 2022

Add pyton-version to setup PyPy output #365

merged 4 commits into from Apr 4, 2022


Copy link

@dsame dsame commented Mar 31, 2022

During the migration from the legacy PyPy input the setting output "pyton-version" was omitted

Related issue:
link to the related issue

Test build

confirmation the output is set:

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

@dsame dsame requested a review from a team as a code owner Mar 31, 2022
Copy link

I think it'll be better to move such kind of logic here.

@vsafonkin vsafonkin self-requested a review Apr 1, 2022
Copy link
Contributor Author

dsame commented Apr 2, 2022

I think it'll be better to move such kind of logic here.

Yes, it is done,
test build:

@@ -52,6 +52,7 @@ export async function findPyPyVersion(
core.exportVariable('pythonLocation', pythonLocation);
core.setOutput('python-version', 'pypy' + resolvedPyPyVersion.trim());
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a test we can add to make sure it doesn't regress again?

@brcrista brcrista merged commit 7933d5a into actions:main Apr 4, 2022
84 of 96 checks passed
@vsafonkin vsafonkin deleted the v-sedoli/fix-pypy-version.output branch Apr 4, 2022
adilosa added a commit to adilosa/setup-python that referenced this pull request Apr 19, 2022
* upstream/main: (33 commits)
  Fix virtual-env toolcache links
  Updated @actions/cache (actions#382)
  ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows (actions#379)
  Cache hit output (actions#373)
  Add pyton-version to setup PyPy output (actions#365)
  Rework pipenv caching test (actions#375)
  Update to fix setup-python version  in example (actions#368)
  dist fix (actions#367)
  Cache on ghes (actions#363)
  Update dist
  Use `\n` instead of `os.EOL`
  Update dist
  Initialise pyproject.toml
  Build and format
  Remove console.log
  Remove unused file
  Reduce test matrix
  Parse values from poetry
  Add more tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

4 participants