GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add GraalPy support by timfel · Pull Request #694 · actions/setup-python

Conversation

@timfel

@timfel timfel commented Jun 28, 2023

Copy link
Copy Markdown
Contributor

Description:
This adds support for graalpy as a Python to use when running setup-python

Related issue:
#693

Check list:

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

fniephaus reacted with thumbs up emoji alina-yur and lukasstadler reacted with rocket emoji
All reactions
  • 👍 1 reaction
  • 🚀 2 reactions
@timfel
timfel requested a review from a team as a code owner June 28, 2023 13:29
@timfel
timfel force-pushed the tim/graalpy-support branch from 41efa4a to 1cbe27a Compare June 28, 2023 13:32
@timfel timfel mentioned this pull request Jun 28, 2023
Add GraalPy support #693
Closed
@timfel

timfel commented Jun 30, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

Locally npm test is passing and running the test-graalpy workflow I added with act also passes. Please let me know if this is going the right direction :)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@timfel
timfel force-pushed the tim/graalpy-support branch from af8b00e to 2c87a2d Compare July 1, 2023 07:57
@timfel

timfel commented Jul 3, 2023

Copy link
Copy Markdown
Contributor Author

Any thoughts?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dmitry-shibanov

dmitry-shibanov commented Jul 12, 2023

Copy link
Copy Markdown
Contributor

Hello @timfel. Sorry for the late response. Could you please attach licenses information regarding to GraalPy ?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@timfel

timfel commented Jul 13, 2023

Copy link
Copy Markdown
Contributor Author

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dusan-trickovic dusan-trickovic linked an issue Jul 13, 2023 that may be closed by this pull request
Add GraalPy support #693
Closed
@dusan-trickovic dusan-trickovic removed a link to an issue Jul 13, 2023
Add GraalPy support #693
Closed
@dusan-trickovic dusan-trickovic linked an issue Jul 13, 2023 that may be closed by this pull request
Add GraalPy support #693
Closed
@timfel timfel mentioned this pull request Jul 18, 2023
Basic GraalPy Support PyO3/pyo3#3247
Merged
@timfel

timfel commented Jul 25, 2023

Copy link
Copy Markdown
Contributor Author

Anything else I can help with?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@timfel

timfel commented Aug 7, 2023

Copy link
Copy Markdown
Contributor Author

Friendly ping :) Anything I can help with or clarify?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dmitry-shibanov

dmitry-shibanov commented Aug 14, 2023

Copy link
Copy Markdown
Contributor

Hello @timfel. Sorry for the late response. For now we're investigating it. We'll ping you If we need any help. Thank you.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@agronholm agronholm mentioned this pull request Aug 20, 2023
Produce correct ABI tags for GraalPy pypa/wheel#557
Merged
timfel added 5 commits August 21, 2023 10:49
@timfel
Add support for graalpy
ad7b7ba
@timfel
add graalpy test workflow
f40a022
@timfel
format, lint and build
6db14b2
@timfel
symlink graalpy binaries names
928058c
@timfel
fix macos names for graalpy
b695933
@timfel
timfel force-pushed the tim/graalpy-support branch from 2c87a2d to b695933 Compare August 21, 2023 08:59
github-advanced-security[bot]
github-advanced-security AI found potential problems Aug 23, 2023
View reviewed changes
Comment thread src/install-graalpy.ts Fixed

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/install-graalpy.ts Fixed

Uh oh!

There was an error while loading. Please reload this page.

dmitry-shibanov
dmitry-shibanov reviewed Aug 23, 2023
View reviewed changes
Comment thread .github/workflows/test-graalpy.yml Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/install-graalpy.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/install-graalpy.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/install-graalpy.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/install-graalpy.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/install-graalpy.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/install-graalpy.ts Outdated
? 'aarch64'
: architecture;
const graalpyPlatform =
platform === 'win32'

@dmitry-shibanov dmitry-shibanov Aug 23, 2023

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Could you please change it to IS_WINDOWS from utils.ts

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@msimacek msimacek Aug 29, 2023

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

platform here is a parameter to the function. I think it would be weird if it overrode the passed parameter with the current platform.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/install-graalpy.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@dmitry-shibanov

dmitry-shibanov commented Aug 23, 2023

Copy link
Copy Markdown
Contributor

Could you please run the npm ci && npm run format && npm run build command to resolve Basic Validation builds.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

dmitry-shibanov
dmitry-shibanov reviewed Aug 23, 2023
View reviewed changes
Comment thread src/install-graalpy.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

msimacek added 4 commits August 25, 2023 17:44
@msimacek
Don't attempt to update pip for graalpy
b271e81
@msimacek
Remove test schedule
fb29473
@msimacek
Extract common getBinaryDirectory function for PyPy and GraalPy
08f6b91
@msimacek
Clean up and format
3d8a1eb
@msimacek

msimacek commented Aug 29, 2023

Copy link
Copy Markdown
Contributor

Hi @dmitry-shibanov, I believe I addressed all your comments (except one where I commented). Could you please check again?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

github-advanced-security[bot]
github-advanced-security AI found potential problems Aug 30, 2023
View reviewed changes
Comment thread src/install-graalpy.ts
"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

This shell command depends on an uncontrolled [file name](1).
msimacek added 6 commits August 30, 2023 10:01
@msimacek
Fix lint errors
546edbc
@msimacek
Deal with possible multiple artifacts for a single releases
8c79e75
@msimacek
Skip few GraalPy tests on windows - we don't have a windows release yet
cc7e956
@msimacek
Fix GraalPy test on Mac OS
7f48d18
@msimacek
Build
5b60f8c
@msimacek
Skip one more GraalPy test on windows
6713183
kurtmckee
kurtmckee reviewed Sep 11, 2023
View reviewed changes
Comment thread .github/workflows/test-graalpy.yml
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-20.04, ubuntu-latest]

@kurtmckee kurtmckee Sep 11, 2023

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

GraalPy is available for Windows, too. Would it be an option to test against Windows?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@timfel timfel Sep 11, 2023

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@timfel timfel Sep 11, 2023

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

kurtmckee and MiirzaBaig reacted with thumbs up emoji
All reactions
  • 👍 2 reactions
Comment thread __tests__/find-graalpy.test.ts
const toolDir = path.join(__dirname, 'runner', 'tools');
const tempDir = path.join(__dirname, 'runner', 'temp');

/* GraalPy doesn't have a windows release yet */

@kurtmckee kurtmckee Sep 11, 2023

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

GraalPy is downloadable for Windows; is this comment still correct?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@timfel timfel Sep 11, 2023

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

kurtmckee reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@timfel

timfel commented Sep 16, 2023

Copy link
Copy Markdown
Contributor Author

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 :)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@timfel

timfel commented Oct 5, 2023

Copy link
Copy Markdown
Contributor Author

Friendly ping :)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

dmitry-shibanov
dmitry-shibanov approved these changes Oct 6, 2023
View reviewed changes
@kurtmckee

kurtmckee commented Oct 6, 2023

Copy link
Copy Markdown
Contributor

When this merges, I'll work to update #611 so that GraalPy is supported for robust cache-busting as well.

timfel reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dmitry-shibanov
dmitry-shibanov merged commit 5f2af21 into actions:main Oct 10, 2023
@timfel
timfel deleted the tim/graalpy-support branch October 25, 2023 14:49
@kurtmckee kurtmckee mentioned this pull request Nov 1, 2023
GraalPy support tox-dev/tox#3148
Closed
renovate Bot referenced this pull request in rpdelaney/downforeveryone Dec 5, 2023
@renovate
Update actions/setup-python action to v4.8.0 (#284)
129552a
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](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
[@&#8203;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
[@&#8203;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
[@&#8203;jeffwidman](https://togithub.com/jeffwidman) in
[https://github.com/actions/setup-python/pull/723](https://togithub.com/actions/setup-python/pull/723)
- Bump [@&#8203;babel/traverse](https://togithub.com/babel/traverse)
from 7.9.0 to 7.23.2 by
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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

- [@&#8203;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)
- [@&#8203;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)
- [@&#8203;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==-->
averikitsch referenced this pull request in GoogleCloudPlatform/cymbal-air-toolbox-demo Dec 5, 2023
@renovate-bot
deps: Update actions/setup-python action to v4.8.0 (#114)
233214e
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](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
[@&#8203;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
[@&#8203;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
[@&#8203;jeffwidman](https://togithub.com/jeffwidman) in
[https://github.com/actions/setup-python/pull/723](https://togithub.com/actions/setup-python/pull/723)
- Bump [@&#8203;babel/traverse](https://togithub.com/babel/traverse)
from 7.9.0 to 7.23.2 by
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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

- [@&#8203;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)
- [@&#8203;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)
- [@&#8203;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==-->
@LoicGrobol LoicGrobol mentioned this pull request Dec 6, 2023
build(deps): bump actions/setup-python from 4 to 5 hopsparser/hopsparser#99
Closed
rpdelaney referenced this pull request in rpdelaney/uncolor Dec 9, 2023
@rpdelaney
Update dependencies (major) (#183)
aa76baf
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](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` |
[![age](https://developer.mend.io/api/mc/badges/age/github-tags/actions%2fsetup-python/v5.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/github-tags/actions%2fsetup-python/v5.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/github-tags/actions%2fsetup-python/v4.7.0/v5.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/actions%2fsetup-python/v4.7.0/v5.0.0?slim=true)](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` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/flake8/6.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/flake8/6.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/flake8/5.0.4/6.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/flake8/5.0.4/6.1.0?slim=true)](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
[@&#8203;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
[@&#8203;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
[@&#8203;jeffwidman](https://togithub.com/jeffwidman) in
[https://github.com/actions/setup-python/pull/723](https://togithub.com/actions/setup-python/pull/723)
- Bump [@&#8203;babel/traverse](https://togithub.com/babel/traverse)
from 7.9.0 to 7.23.2 by
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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

- [@&#8203;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)
- [@&#8203;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)
- [@&#8203;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
[@&#8203;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
[@&#8203;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==-->
petretiandrea referenced this pull request in petretiandrea/home-assistant-tapo-p100 Dec 10, 2023
@renovate
chore(deps): update actions/setup-python action to v5 (#635)
a06940f
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](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
[@&#8203;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
[@&#8203;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
[@&#8203;jeffwidman](https://togithub.com/jeffwidman) in
[https://github.com/actions/setup-python/pull/723](https://togithub.com/actions/setup-python/pull/723)
- Bump [@&#8203;babel/traverse](https://togithub.com/babel/traverse)
from 7.9.0 to 7.23.2 by
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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

- [@&#8203;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)
- [@&#8203;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)
- [@&#8203;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>
@fniephaus fniephaus mentioned this pull request Dec 11, 2023
Upgrade Java and Python Integration Example graalvm/graalvm-demos#225
Closed
@jasonjoh jasonjoh mentioned this pull request Dec 11, 2023
Bump actions/setup-python from 4 to 5 microsoftgraph/msgraph-sample-pythondjangoapp#126
Merged
lambchop4prez referenced this pull request in lambchop4prez/network Apr 7, 2024
@lambchop4prez
chore(deps): update actions/setup-python action to v5 (#70)
5fbba12
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](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
[@&#8203;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
[@&#8203;dependabot](https://togithub.com/dependabot) and
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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

- [@&#8203;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)
- [@&#8203;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)
- [@&#8203;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)
- [@&#8203;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)
- [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;jeffwidman](https://togithub.com/jeffwidman) in
[https://github.com/actions/setup-python/pull/723](https://togithub.com/actions/setup-python/pull/723)
- Bump [@&#8203;babel/traverse](https://togithub.com/babel/traverse)
from 7.9.0 to 7.23.2 by
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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

- [@&#8203;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)
- [@&#8203;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)
- [@&#8203;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
[@&#8203;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
[@&#8203;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-->
@kurtmckee

kurtmckee commented May 7, 2024

Copy link
Copy Markdown
Contributor

@timfel It looks like the 24.x release series is out. Does this include Windows support that could integrate with setup-python? 🤞

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@timfel

timfel commented May 7, 2024

Copy link
Copy Markdown
Contributor Author

@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.

kurtmckee and fniephaus reacted with hooray emoji
All reactions
  • 🎉 2 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@timfel timfel mentioned this pull request May 28, 2024
Add graalpy early-access and windows builds #880
Merged
1 task done
@gesslar gesslar mentioned this pull request Mar 11, 2025
Bump actions/setup-python from 4 to 5 gesslar/oxidus-mudlib#158
Merged
@timfel timfel mentioned this pull request Jun 23, 2025
Caching for Graal #954
Closed
tdfacer pushed a commit to ifit/setup-python that referenced this pull request Oct 7, 2025
@timfel @msimacek
Add GraalPy support (actions#694)
85e15c1
* 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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

3 more reviewers
@kurtmckee kurtmckee kurtmckee left review comments
@msimacek msimacek msimacek left review comments
@dmitry-shibanov dmitry-shibanov dmitry-shibanov approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Add GraalPy support

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@timfel @dmitry-shibanov @msimacek @kurtmckee @github-advanced-security
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.