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 GraalPy support #694

Merged
merged 18 commits into from
Oct 10, 2023
Merged

Conversation

timfel
Copy link
Contributor

@timfel timfel commented Jun 28, 2023

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.

@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
@timfel
Copy link
Contributor Author

timfel commented Jun 30, 2023

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

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

timfel commented Jul 3, 2023

Any thoughts?

@dmitry-shibanov
Copy link
Contributor

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

@timfel
Copy link
Contributor Author

timfel commented Jul 13, 2023

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

@dusan-trickovic dusan-trickovic linked an issue Jul 13, 2023 that may be closed by this pull request
@dusan-trickovic dusan-trickovic removed a link to an issue Jul 13, 2023
@dusan-trickovic dusan-trickovic linked an issue Jul 13, 2023 that may be closed by this pull request
@timfel
Copy link
Contributor Author

timfel commented Jul 25, 2023

Anything else I can help with?

@timfel
Copy link
Contributor Author

timfel commented Aug 7, 2023

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

@dmitry-shibanov
Copy link
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.

@timfel timfel force-pushed the tim/graalpy-support branch from 2c87a2d to b695933 Compare August 21, 2023 08:59
src/install-graalpy.ts Fixed Show fixed Hide fixed
src/install-graalpy.ts Fixed Show fixed Hide fixed
.github/workflows/test-graalpy.yml Outdated Show resolved Hide resolved
src/install-graalpy.ts Outdated Show resolved Hide resolved
src/install-graalpy.ts Show resolved Hide resolved
src/install-graalpy.ts Outdated Show resolved Hide resolved
src/install-graalpy.ts Outdated Show resolved Hide resolved
src/install-graalpy.ts Outdated Show resolved Hide resolved
? 'aarch64'
: architecture;
const graalpyPlatform =
platform === 'win32'
Copy link
Contributor

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

Copy link
Contributor

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.

src/install-graalpy.ts Outdated Show resolved Hide resolved
@dmitry-shibanov
Copy link
Contributor

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

@msimacek
Copy link
Contributor

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

This shell command depends on an uncontrolled [file name](1).
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-20.04, ubuntu-latest]
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

const toolDir = path.join(__dirname, 'runner', 'tools');
const tempDir = path.join(__dirname, 'runner', 'temp');

/* GraalPy doesn't have a windows release yet */
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@timfel
Copy link
Contributor Author

timfel commented Sep 16, 2023

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

@timfel
Copy link
Contributor Author

timfel commented Oct 5, 2023

Friendly ping :)

@kurtmckee
Copy link
Contributor

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

@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
renovate bot referenced this pull request in rpdelaney/downforeveryone Dec 5, 2023
[![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/genai-databases-retrieval-app Dec 5, 2023
[![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==-->
rpdelaney referenced this pull request in rpdelaney/uncolor Dec 9, 2023
[![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
[![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>
lambchop4prez referenced this pull request in lambchop4prez/network Apr 7, 2024
[![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
Copy link
Contributor

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

@timfel
Copy link
Contributor Author

timfel commented May 7, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add GraalPy support
4 participants