Add GraalPy support - #694
Conversation
41efa4a to
1cbe27a
Compare
|
Locally |
af8b00e to
2c87a2d
Compare
|
Any thoughts? |
|
Hello @timfel. Sorry for the late response. Could you please attach licenses information regarding to GraalPy ? |
Hi. My changes pull GraalPy from the open source Github repo, which is under UPL: https://github.com/oracle/graalpython/blob/master/LICENSE.txt#L5 |
|
Anything else I can help with? |
|
Friendly ping :) Anything I can help with or clarify? |
|
Hello @timfel. Sorry for the late response. For now we're investigating it. We'll ping you If we need any help. Thank you. |
2c87a2d to
b695933
Compare
| ? 'aarch64' | ||
| : architecture; | ||
| const graalpyPlatform = | ||
| platform === 'win32' |
There was a problem hiding this comment.
Could you please change it to IS_WINDOWS from utils.ts
There was a problem hiding this comment.
platform here is a parameter to the function. I think it would be weird if it overrode the passed parameter with the current platform.
|
Could you please run the |
|
Hi @dmitry-shibanov, I believe I addressed all your comments (except one where I commented). Could you please check again? |
| "Installing pip (GraalPy doesn't update pip because it uses a patched version of pip)" | ||
| ); | ||
| const pythonBinary = path.join(pythonLocation, 'python'); | ||
| await exec.exec(`${pythonBinary} -m ensurepip --default-pip`); |
Check warning
Code scanning / CodeQL
Shell command built from environment values
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| os: [macos-latest, ubuntu-20.04, ubuntu-latest] |
There was a problem hiding this comment.
GraalPy is available for Windows, too. Would it be an option to test against Windows?
There was a problem hiding this comment.
For 23.0 there were no Windows binary releases. The upcoming 23.1 will have Windows releases, but they are very limited, things like native extensions do not work, yet. Tests for Windows will likely just not pass.
There was a problem hiding this comment.
Our plan is to have more complete Windows support for our 2024 release, so we'll have to do a follow up PR next year.
| const toolDir = path.join(__dirname, 'runner', 'tools'); | ||
| const tempDir = path.join(__dirname, 'runner', 'temp'); | ||
|
|
||
| /* GraalPy doesn't have a windows release yet */ |
There was a problem hiding this comment.
GraalPy is downloadable for Windows; is this comment still correct?
There was a problem hiding this comment.
It is correct, the last release for GraalPy is 23.0.1 and doesn't have Windows binaries. The upcoming 23.1 will have binaries, but they are very limited.
|
Anything else to do here? We would really like this to go in so that Python projects that already use setup-python can easily start testing against GraalPy :) |
|
Friendly ping :) |
|
When this merges, I'll work to update #611 so that GraalPy is supported for robust cache-busting as well. |
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/setup-python](https://togithub.com/actions/setup-python) | action | minor | `v4.7.1` -> `v4.8.0` | --- ### Release Notes <details> <summary>actions/setup-python (actions/setup-python)</summary> ### [`v4.8.0`](https://togithub.com/actions/setup-python/releases/tag/v4.8.0) [Compare Source](https://togithub.com/actions/setup-python/compare/v4.7.1...v4.8.0) #### What's Changed In scope of this release we added support for GraalPy ([https://github.com/actions/setup-python/pull/694](https://togithub.com/actions/setup-python/pull/694)). You can use this snippet to set up GraalPy: ```yaml steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: 'graalpy-22.3' - run: python my_script.py ``` Besides, the release contains such changes as: - Trim python version when reading from file by [@​FerranPares](https://togithub.com/FerranPares) in [https://github.com/actions/setup-python/pull/628](https://togithub.com/actions/setup-python/pull/628) - Use non-deprecated versions in examples by [@​jeffwidman](https://togithub.com/jeffwidman) in [https://github.com/actions/setup-python/pull/724](https://togithub.com/actions/setup-python/pull/724) - Change deprecation comment to past tense by [@​jeffwidman](https://togithub.com/jeffwidman) in [https://github.com/actions/setup-python/pull/723](https://togithub.com/actions/setup-python/pull/723) - Bump [@​babel/traverse](https://togithub.com/babel/traverse) from 7.9.0 to 7.23.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/actions/setup-python/pull/743](https://togithub.com/actions/setup-python/pull/743) - advanced-usage.md: Encourage the use actions/checkout@v4 by [@​cclauss](https://togithub.com/cclauss) in [https://github.com/actions/setup-python/pull/729](https://togithub.com/actions/setup-python/pull/729) - Examples now use checkout@v4 by [@​simonw](https://togithub.com/simonw) in [https://github.com/actions/setup-python/pull/738](https://togithub.com/actions/setup-python/pull/738) - Update actions/checkout to v4 by [@​dmitry-shibanov](https://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-python/pull/761](https://togithub.com/actions/setup-python/pull/761) #### New Contributors - [@​FerranPares](https://togithub.com/FerranPares) made their first contribution in [https://github.com/actions/setup-python/pull/628](https://togithub.com/actions/setup-python/pull/628) - [@​timfel](https://togithub.com/timfel) made their first contribution in [https://github.com/actions/setup-python/pull/694](https://togithub.com/actions/setup-python/pull/694) - [@​jeffwidman](https://togithub.com/jeffwidman) made their first contribution in [https://github.com/actions/setup-python/pull/724](https://togithub.com/actions/setup-python/pull/724) **Full Changelog**: actions/setup-python@v4...v4.8.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/rpdelaney/downforeveryone). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/setup-python](https://togithub.com/actions/setup-python) | action | minor | `v4.7.1` -> `v4.8.0` | --- ### Release Notes <details> <summary>actions/setup-python (actions/setup-python)</summary> ### [`v4.8.0`](https://togithub.com/actions/setup-python/releases/tag/v4.8.0) [Compare Source](https://togithub.com/actions/setup-python/compare/v4.7.1...v4.8.0) #### What's Changed In scope of this release we added support for GraalPy ([https://github.com/actions/setup-python/pull/694](https://togithub.com/actions/setup-python/pull/694)). You can use this snippet to set up GraalPy: ```yaml steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: 'graalpy-22.3' - run: python my_script.py ``` Besides, the release contains such changes as: - Trim python version when reading from file by [@​FerranPares](https://togithub.com/FerranPares) in [https://github.com/actions/setup-python/pull/628](https://togithub.com/actions/setup-python/pull/628) - Use non-deprecated versions in examples by [@​jeffwidman](https://togithub.com/jeffwidman) in [https://github.com/actions/setup-python/pull/724](https://togithub.com/actions/setup-python/pull/724) - Change deprecation comment to past tense by [@​jeffwidman](https://togithub.com/jeffwidman) in [https://github.com/actions/setup-python/pull/723](https://togithub.com/actions/setup-python/pull/723) - Bump [@​babel/traverse](https://togithub.com/babel/traverse) from 7.9.0 to 7.23.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/actions/setup-python/pull/743](https://togithub.com/actions/setup-python/pull/743) - advanced-usage.md: Encourage the use actions/checkout@v4 by [@​cclauss](https://togithub.com/cclauss) in [https://github.com/actions/setup-python/pull/729](https://togithub.com/actions/setup-python/pull/729) - Examples now use checkout@v4 by [@​simonw](https://togithub.com/simonw) in [https://github.com/actions/setup-python/pull/738](https://togithub.com/actions/setup-python/pull/738) - Update actions/checkout to v4 by [@​dmitry-shibanov](https://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-python/pull/761](https://togithub.com/actions/setup-python/pull/761) #### New Contributors - [@​FerranPares](https://togithub.com/FerranPares) made their first contribution in [https://github.com/actions/setup-python/pull/628](https://togithub.com/actions/setup-python/pull/628) - [@​timfel](https://togithub.com/timfel) made their first contribution in [https://github.com/actions/setup-python/pull/694](https://togithub.com/actions/setup-python/pull/694) - [@​jeffwidman](https://togithub.com/jeffwidman) made their first contribution in [https://github.com/actions/setup-python/pull/724](https://togithub.com/actions/setup-python/pull/724) **Full Changelog**: actions/setup-python@v4...v4.8.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/GoogleCloudPlatform/genai-databases-retrieval-app). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---|---|---| | [actions/setup-python](https://togithub.com/actions/setup-python) | action | major | `v4.7.0` -> `v5.0.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [flake8](https://togithub.com/pycqa/flake8) ([changelog](https://flake8.pycqa.org/en/latest/release-notes/index.html)) | dev-dependencies | major | `5.0.4` -> `6.1.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>actions/setup-python (actions/setup-python)</summary> ### [`v5.0.0`](https://togithub.com/actions/setup-python/releases/tag/v5.0.0) [Compare Source](https://togithub.com/actions/setup-python/compare/v4.8.0...v5.0.0) #### What's Changed In scope of this release, we update node version runtime from node16 to node20 ([https://github.com/actions/setup-python/pull/772](https://togithub.com/actions/setup-python/pull/772)). Besides, we update dependencies to the latest versions. **Full Changelog**: actions/setup-python@v4.8.0...v5.0.0 ### [`v4.8.0`](https://togithub.com/actions/setup-python/releases/tag/v4.8.0) [Compare Source](https://togithub.com/actions/setup-python/compare/v4.7.1...v4.8.0) #### What's Changed In scope of this release we added support for GraalPy ([https://github.com/actions/setup-python/pull/694](https://togithub.com/actions/setup-python/pull/694)). You can use this snippet to set up GraalPy: ```yaml steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: 'graalpy-22.3' - run: python my_script.py ``` Besides, the release contains such changes as: - Trim python version when reading from file by [@​FerranPares](https://togithub.com/FerranPares) in [https://github.com/actions/setup-python/pull/628](https://togithub.com/actions/setup-python/pull/628) - Use non-deprecated versions in examples by [@​jeffwidman](https://togithub.com/jeffwidman) in [https://github.com/actions/setup-python/pull/724](https://togithub.com/actions/setup-python/pull/724) - Change deprecation comment to past tense by [@​jeffwidman](https://togithub.com/jeffwidman) in [https://github.com/actions/setup-python/pull/723](https://togithub.com/actions/setup-python/pull/723) - Bump [@​babel/traverse](https://togithub.com/babel/traverse) from 7.9.0 to 7.23.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/actions/setup-python/pull/743](https://togithub.com/actions/setup-python/pull/743) - advanced-usage.md: Encourage the use actions/checkout@v4 by [@​cclauss](https://togithub.com/cclauss) in [https://github.com/actions/setup-python/pull/729](https://togithub.com/actions/setup-python/pull/729) - Examples now use checkout@v4 by [@​simonw](https://togithub.com/simonw) in [https://github.com/actions/setup-python/pull/738](https://togithub.com/actions/setup-python/pull/738) - Update actions/checkout to v4 by [@​dmitry-shibanov](https://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-python/pull/761](https://togithub.com/actions/setup-python/pull/761) #### New Contributors - [@​FerranPares](https://togithub.com/FerranPares) made their first contribution in [https://github.com/actions/setup-python/pull/628](https://togithub.com/actions/setup-python/pull/628) - [@​timfel](https://togithub.com/timfel) made their first contribution in [https://github.com/actions/setup-python/pull/694](https://togithub.com/actions/setup-python/pull/694) - [@​jeffwidman](https://togithub.com/jeffwidman) made their first contribution in [https://github.com/actions/setup-python/pull/724](https://togithub.com/actions/setup-python/pull/724) **Full Changelog**: actions/setup-python@v4...v4.8.0 ### [`v4.7.1`](https://togithub.com/actions/setup-python/releases/tag/v4.7.1) [Compare Source](https://togithub.com/actions/setup-python/compare/v4.7.0...v4.7.1) #### What's Changed - Bump word-wrap from 1.2.3 to 1.2.4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/actions/setup-python/pull/702](https://togithub.com/actions/setup-python/pull/702) - Add range validation for toml files by [@​dmitry-shibanov](https://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-python/pull/726](https://togithub.com/actions/setup-python/pull/726) **Full Changelog**: actions/setup-python@v4...v4.7.1 </details> <details> <summary>pycqa/flake8 (flake8)</summary> ### [`v6.1.0`](https://togithub.com/pycqa/flake8/compare/6.0.0...6.1.0) [Compare Source](https://togithub.com/pycqa/flake8/compare/6.0.0...6.1.0) ### [`v6.0.0`](https://togithub.com/pycqa/flake8/compare/5.0.4...6.0.0) [Compare Source](https://togithub.com/pycqa/flake8/compare/5.0.4...6.0.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/rpdelaney/uncolor). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/setup-python](https://togithub.com/actions/setup-python) | action | major | `v4.7.1` -> `v5.0.0` | --- ### Release Notes <details> <summary>actions/setup-python (actions/setup-python)</summary> ### [`v5.0.0`](https://togithub.com/actions/setup-python/releases/tag/v5.0.0) [Compare Source](https://togithub.com/actions/setup-python/compare/v4.8.0...v5.0.0) #### What's Changed In scope of this release, we update node version runtime from node16 to node20 ([https://github.com/actions/setup-python/pull/772](https://togithub.com/actions/setup-python/pull/772)). Besides, we update dependencies to the latest versions. **Full Changelog**: actions/setup-python@v4.8.0...v5.0.0 ### [`v4.8.0`](https://togithub.com/actions/setup-python/releases/tag/v4.8.0) [Compare Source](https://togithub.com/actions/setup-python/compare/v4.7.1...v4.8.0) #### What's Changed In scope of this release we added support for GraalPy ([https://github.com/actions/setup-python/pull/694](https://togithub.com/actions/setup-python/pull/694)). You can use this snippet to set up GraalPy: ```yaml steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: 'graalpy-22.3' - run: python my_script.py ``` Besides, the release contains such changes as: - Trim python version when reading from file by [@​FerranPares](https://togithub.com/FerranPares) in [https://github.com/actions/setup-python/pull/628](https://togithub.com/actions/setup-python/pull/628) - Use non-deprecated versions in examples by [@​jeffwidman](https://togithub.com/jeffwidman) in [https://github.com/actions/setup-python/pull/724](https://togithub.com/actions/setup-python/pull/724) - Change deprecation comment to past tense by [@​jeffwidman](https://togithub.com/jeffwidman) in [https://github.com/actions/setup-python/pull/723](https://togithub.com/actions/setup-python/pull/723) - Bump [@​babel/traverse](https://togithub.com/babel/traverse) from 7.9.0 to 7.23.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/actions/setup-python/pull/743](https://togithub.com/actions/setup-python/pull/743) - advanced-usage.md: Encourage the use actions/checkout@v4 by [@​cclauss](https://togithub.com/cclauss) in [https://github.com/actions/setup-python/pull/729](https://togithub.com/actions/setup-python/pull/729) - Examples now use checkout@v4 by [@​simonw](https://togithub.com/simonw) in [https://github.com/actions/setup-python/pull/738](https://togithub.com/actions/setup-python/pull/738) - Update actions/checkout to v4 by [@​dmitry-shibanov](https://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-python/pull/761](https://togithub.com/actions/setup-python/pull/761) #### New Contributors - [@​FerranPares](https://togithub.com/FerranPares) made their first contribution in [https://github.com/actions/setup-python/pull/628](https://togithub.com/actions/setup-python/pull/628) - [@​timfel](https://togithub.com/timfel) made their first contribution in [https://github.com/actions/setup-python/pull/694](https://togithub.com/actions/setup-python/pull/694) - [@​jeffwidman](https://togithub.com/jeffwidman) made their first contribution in [https://github.com/actions/setup-python/pull/724](https://togithub.com/actions/setup-python/pull/724) **Full Changelog**: actions/setup-python@v4...v4.8.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/petretiandrea/home-assistant-tapo-p100). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/setup-python](https://togithub.com/actions/setup-python) | action | major | `v4.7.0` -> `v5.1.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>actions/setup-python (actions/setup-python)</summary> ### [`v5.1.0`](https://togithub.com/actions/setup-python/releases/tag/v5.1.0) [Compare Source](https://togithub.com/actions/setup-python/compare/v5.0.0...v5.1.0) #### What's Changed - Leveraging the raw API to retrieve the version-manifest, as it does not impose a rate limit and hence facilitates unrestricted consumption without the need for a token for Github Enterprise Servers by [@​Shegox](https://togithub.com/Shegox) in [https://github.com/actions/setup-python/pull/766](https://togithub.com/actions/setup-python/pull/766). - Dependency updates by [@​dependabot](https://togithub.com/dependabot) and [@​HarithaVattikuti](https://togithub.com/HarithaVattikuti) in [https://github.com/actions/setup-python/pull/817](https://togithub.com/actions/setup-python/pull/817) - Documentation changes for version in README by [@​basnijholt](https://togithub.com/basnijholt) in [https://github.com/actions/setup-python/pull/776](https://togithub.com/actions/setup-python/pull/776) - Documentation changes for link in README by [@​ukd1](https://togithub.com/ukd1) in [https://github.com/actions/setup-python/pull/793](https://togithub.com/actions/setup-python/pull/793) - Documentation changes for link in Advanced Usage by [@​Jamim](https://togithub.com/Jamim) in [https://github.com/actions/setup-python/pull/782](https://togithub.com/actions/setup-python/pull/782) - Documentation changes for avoiding rate limit issues on GHES by [@​priya-kinthali](https://togithub.com/priya-kinthali) in [https://github.com/actions/setup-python/pull/835](https://togithub.com/actions/setup-python/pull/835) #### New Contributors - [@​basnijholt](https://togithub.com/basnijholt) made their first contribution in [https://github.com/actions/setup-python/pull/776](https://togithub.com/actions/setup-python/pull/776) - [@​ukd1](https://togithub.com/ukd1) made their first contribution in [https://github.com/actions/setup-python/pull/793](https://togithub.com/actions/setup-python/pull/793) - [@​Jamim](https://togithub.com/Jamim) made their first contribution in [https://github.com/actions/setup-python/pull/782](https://togithub.com/actions/setup-python/pull/782) - [@​Shegox](https://togithub.com/Shegox) made their first contribution in [https://github.com/actions/setup-python/pull/766](https://togithub.com/actions/setup-python/pull/766) - [@​priya-kinthali](https://togithub.com/priya-kinthali) made their first contribution in [https://github.com/actions/setup-python/pull/835](https://togithub.com/actions/setup-python/pull/835) **Full Changelog**: actions/setup-python@v5.0.0...v5.1.0 ### [`v5.0.0`](https://togithub.com/actions/setup-python/releases/tag/v5.0.0) [Compare Source](https://togithub.com/actions/setup-python/compare/v4.8.0...v5.0.0) #### What's Changed In scope of this release, we update node version runtime from node16 to node20 ([https://github.com/actions/setup-python/pull/772](https://togithub.com/actions/setup-python/pull/772)). Besides, we update dependencies to the latest versions. **Full Changelog**: actions/setup-python@v4.8.0...v5.0.0 ### [`v4.8.0`](https://togithub.com/actions/setup-python/releases/tag/v4.8.0) [Compare Source](https://togithub.com/actions/setup-python/compare/v4.7.1...v4.8.0) #### What's Changed In scope of this release we added support for GraalPy ([https://github.com/actions/setup-python/pull/694](https://togithub.com/actions/setup-python/pull/694)). You can use this snippet to set up GraalPy: ```yaml steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: 'graalpy-22.3' - run: python my_script.py ``` Besides, the release contains such changes as: - Trim python version when reading from file by [@​FerranPares](https://togithub.com/FerranPares) in [https://github.com/actions/setup-python/pull/628](https://togithub.com/actions/setup-python/pull/628) - Use non-deprecated versions in examples by [@​jeffwidman](https://togithub.com/jeffwidman) in [https://github.com/actions/setup-python/pull/724](https://togithub.com/actions/setup-python/pull/724) - Change deprecation comment to past tense by [@​jeffwidman](https://togithub.com/jeffwidman) in [https://github.com/actions/setup-python/pull/723](https://togithub.com/actions/setup-python/pull/723) - Bump [@​babel/traverse](https://togithub.com/babel/traverse) from 7.9.0 to 7.23.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/actions/setup-python/pull/743](https://togithub.com/actions/setup-python/pull/743) - advanced-usage.md: Encourage the use actions/checkout@v4 by [@​cclauss](https://togithub.com/cclauss) in [https://github.com/actions/setup-python/pull/729](https://togithub.com/actions/setup-python/pull/729) - Examples now use checkout@v4 by [@​simonw](https://togithub.com/simonw) in [https://github.com/actions/setup-python/pull/738](https://togithub.com/actions/setup-python/pull/738) - Update actions/checkout to v4 by [@​dmitry-shibanov](https://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-python/pull/761](https://togithub.com/actions/setup-python/pull/761) #### New Contributors - [@​FerranPares](https://togithub.com/FerranPares) made their first contribution in [https://github.com/actions/setup-python/pull/628](https://togithub.com/actions/setup-python/pull/628) - [@​timfel](https://togithub.com/timfel) made their first contribution in [https://github.com/actions/setup-python/pull/694](https://togithub.com/actions/setup-python/pull/694) - [@​jeffwidman](https://togithub.com/jeffwidman) made their first contribution in [https://github.com/actions/setup-python/pull/724](https://togithub.com/actions/setup-python/pull/724) **Full Changelog**: actions/setup-python@v4...v4.8.0 ### [`v4.7.1`](https://togithub.com/actions/setup-python/releases/tag/v4.7.1) [Compare Source](https://togithub.com/actions/setup-python/compare/v4.7.0...v4.7.1) #### What's Changed - Bump word-wrap from 1.2.3 to 1.2.4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/actions/setup-python/pull/702](https://togithub.com/actions/setup-python/pull/702) - Add range validation for toml files by [@​dmitry-shibanov](https://togithub.com/dmitry-shibanov) in [https://github.com/actions/setup-python/pull/726](https://togithub.com/actions/setup-python/pull/726) **Full Changelog**: actions/setup-python@v4...v4.7.1 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/lambchop4prez/network). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
|
@timfel It looks like the 24.x release series is out. Does this include Windows support that could integrate with setup-python? 🤞 |
It does indeed. We also finally managed to get nightly builds out with some json metadata (https://github.com/graalvm/graal-languages-ea-builds/blob/main/graalpy/versions/latest-ea.json), so we'll integrate that, too, so people can test on upcoming versions as well. |
* Add support for graalpy * add graalpy test workflow * format, lint and build * symlink graalpy binaries names * fix macos names for graalpy * Don't attempt to update pip for graalpy * Remove test schedule * Extract common getBinaryDirectory function for PyPy and GraalPy * Clean up and format * Pass GitHub token to GraalPy queries * Utilize pagination when querying GraalPy GitHub releases * Build * Fix lint errors * Deal with possible multiple artifacts for a single releases * Skip few GraalPy tests on windows - we don't have a windows release yet * Fix GraalPy test on Mac OS * Build * Skip one more GraalPy test on windows --------- Co-authored-by: Michael Simacek <michael.simacek@oracle.com>
Description:
This adds support for graalpy as a Python to use when running setup-python
Related issue:
#693
Check list: