feature: add a `python-path` output by mayeut · Pull Request #405 · actions/setup-python
Conversation
mayeut
changed the title
feature: add an
feature: add a interpreter-path outputpython-path output
The failure for e2e-cache / Test poetry (Python pypy-3.7-v7.x, windows-latest) seems unrelated to changes in this PR.
Hi @mayeut, why you don't want to use pythonLocation environment variable for this purpose?
The output works doesn't rely on modifying the environment, and doesn't get overwritten. So you could do multiple setup-python's, and access the correct output. An example of this might be problematic:
- uses: actions/setup-python@v3 with: python-version: "3.7" - uses: some/composite-action@v1 # Runs a different setup-python internally # Now pythonLocation is no longer the 3.7 one!
The failure for e2e-cache / Test poetry (Python pypy-3.7-v7.x, windows-latest) seems unrelated to changes in this PR.
(the previous failure on the same test went away with a relaunch of the workflow by @vsafonkin)
mayeut
deleted the
interpreter-path
branch
tdfacer pushed a commit to ifit/setup-python that referenced this pull request
Oct 7, 2025This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters