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 — feat: fallback to "raw" endpoint for manifest when rate limit is reached by Shegox · Pull Request #766 · actions/setup-python

Conversation

@Shegox

@Shegox Shegox commented Nov 15, 2023 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Description:
This PR leverages the raw endpoint (https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json) to retrieve the python manifest as a fallback mechanism. This allows GitHub Actions Runners, which have no API token and exceed the anonymous rate limit of 60 requests/hour/IP to still retrieve the manifest list without needing credentials.
This is especially helpful for GitHub Enterprise Server and self-hosted runners, as there multiple runners might share the same IP-address and quickly exceed the available rate limit. Supplying an access token for github.com is cumbersome, as it requires another technical user and the secret isn't exposed to forks, preventing builds from forks.
The implementation as a fallback mechanism minimizes the risk of breaking current workflows, as they will still use the normal API to retrieve the manifest.

Related issue:
Fixes #756

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.

NoseyNick, peimanja, JKatzwinkel, and AMYMEME reacted with thumbs up emoji
All reactions
  • 👍 4 reactions
@Shegox
Shegox requested a review from a team as a code owner November 15, 2023 12:12
@Shegox Shegox mentioned this pull request Nov 15, 2023
Enhance setup-python Action in GitHub Enterprise Server with Raw API Fallback Mechanism #756
Closed
winlover32
winlover32 approved these changes Jan 29, 2024
View reviewed changes

@winlover32 winlover32 left a comment

Copy link
Copy Markdown

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.

chek

Sorry, something went wrong.

Uh oh!

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

All reactions
@Shegox
feat: fallback to raw endpoint for manifest when rate limit is reached
6fd5143
@Shegox
Shegox force-pushed the raw-manifest-access branch from 210d2b3 to 6fd5143 Compare January 29, 2024 21:35
@Shegox
Merge remote-tracking branch 'origin/main' into raw-manifest-access
6e965d4
v-aparnajyothi-y
v-aparnajyothi-y approved these changes Mar 26, 2024
View reviewed changes
v-priya-kinthali
v-priya-kinthali approved these changes Mar 26, 2024
View reviewed changes
v-HarithaVattikuti
v-HarithaVattikuti approved these changes Mar 26, 2024
View reviewed changes
@v-HarithaVattikuti
v-HarithaVattikuti merged commit 10aa35a into actions:main Mar 26, 2024
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-->
welpaolo referenced this pull request in canonical/spark-k8s-toolkit-py Apr 8, 2024
@renovate
[renovate] Update actions/setup-python action to v5.1.0 (#81)
0da6da5
[![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 | `v5.0.0` -> `v5.1.0` |

---

### 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

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 1am and before 2am on saturday"
in timezone Etc/UTC, 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/canonical/spark-k8s-toolkit-py).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Kislovskiy referenced this pull request in Kislovskiy/talks Apr 9, 2024
@Kislovskiy
Update actions/setup-python action to v5.1.0 (#69)
dcd0fb2
[![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 | `v5.0.0` -> `v5.1.0` |

---

### 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

</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/Kislovskiy/talks).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
bertiewils referenced this pull request in bertiewils/infra Jun 12, 2024
@renovate
chore(deps): update actions/setup-python action to v5.1.0 (#295)
790498d
[![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 | `v5.0.0` -> `v5.1.0` |

---

### 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

</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/bertiewils/infra).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@eregon eregon mentioned this pull request Jun 23, 2024
Considering to move the list of ruby versions to ruby-builder ruby/setup-ruby#606
Closed
This was referenced Aug 20, 2024
feat: fallback to "raw" endpoint for manifest when rate limit is reached actions/setup-go#496
Merged
fallback to un-ratelimited "raw" endpoint for getManifestFromRepo actions/toolkit#1801
Open
@v-priya-kinthali v-priya-kinthali self-assigned this Nov 27, 2024
@Shegox
Shegox deleted the raw-manifest-access branch December 9, 2024 12:46
@kj-9 kj-9 mentioned this pull request Mar 18, 2025
Error: API rate limit exceeded astral-sh/setup-uv#325
Closed
@v-priyagupta108 v-priyagupta108 mentioned this pull request Feb 4, 2026
Add support for locally hosted GHES instances to reduce rate limiting #720
Closed
1 of 2 tasks
mitjohnson pushed a commit to mitjohnson/homelab-config that referenced this pull request Apr 17, 2026
Renovate Bot @mitjohnson
chore(deps): update actions/setup-python action to v6 (#11)
40bf217
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/setup-python](https://github.com/actions/setup-python) | action | major | `v4` → `v6` |

---

### Release Notes

<details>
<summary>actions/setup-python (actions/setup-python)</summary>

### [`v6.2.0`](https://github.com/actions/setup-python/releases/tag/v6.2.0)

[Compare Source](actions/setup-python@v6.1.0...v6.2.0)

#### What's Changed

##### Dependency Upgrades

- Upgrade dependencies to Node 24 compatible versions by [@&#8203;salmanmkc](https://github.com/salmanmkc) in [#&#8203;1259](actions/setup-python#1259)
- Upgrade urllib3 from 2.5.0 to 2.6.3 in `/__tests__/data` by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1253](actions/setup-python#1253) and [#&#8203;1264](actions/setup-python#1264)

**Full Changelog**: <actions/setup-python@v6...v6.2.0>

### [`v6.1.0`](https://github.com/actions/setup-python/releases/tag/v6.1.0)

[Compare Source](actions/setup-python@v6.0.0...v6.1.0)

#### What's Changed

##### Enhancements:

- Add support for `pip-install` input by [@&#8203;gowridurgad](https://github.com/gowridurgad) in [#&#8203;1201](actions/setup-python#1201)
- Add graalpy early-access and windows builds by [@&#8203;timfel](https://github.com/timfel) in [#&#8203;880](actions/setup-python#880)

##### Dependency and Documentation updates:

- Enhanced wording and updated example usage for `allow-prereleases` by [@&#8203;yarikoptic](https://github.com/yarikoptic) in [#&#8203;979](actions/setup-python#979)
- Upgrade urllib3 from 1.26.19 to 2.5.0 and document breaking changes in v6 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1139](actions/setup-python#1139)
- Upgrade typescript from 5.4.2 to 5.9.3 and Documentation update by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1094](actions/setup-python#1094)
- Upgrade actions/publish-action from 0.3.0 to 0.4.0 & Documentation update for pip-install input by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1199](actions/setup-python#1199)
- Upgrade requests from 2.32.2 to 2.32.4 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1130](actions/setup-python#1130)
- Upgrade prettier from 3.5.3 to 3.6.2 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1234](actions/setup-python#1234)
- Upgrade [@&#8203;types/node](https://github.com/types/node) from 24.1.0 to 24.9.1 and update macos-13 to macos-15-intel by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1235](actions/setup-python#1235)

#### New Contributors

- [@&#8203;yarikoptic](https://github.com/yarikoptic) made their first contribution in [#&#8203;979](actions/setup-python#979)

**Full Changelog**: <actions/setup-python@v6...v6.1.0>

### [`v6.0.0`](https://github.com/actions/setup-python/releases/tag/v6.0.0)

[Compare Source](actions/setup-python@v5.6.0...v6.0.0)

#### What's Changed

##### Breaking Changes

- Upgrade to node 24 by [@&#8203;salmanmkc](https://github.com/salmanmkc) in [#&#8203;1164](actions/setup-python#1164)

Make sure your runner is on version v2.327.1 or later to ensure compatibility with this release. [See Release Notes](https://github.com/actions/runner/releases/tag/v2.327.1)

##### Enhancements:

- Add support for `pip-version`  by [@&#8203;priyagupta108](https://github.com/priyagupta108) in [#&#8203;1129](actions/setup-python#1129)
- Enhance reading from .python-version by [@&#8203;krystof-k](https://github.com/krystof-k) in [#&#8203;787](actions/setup-python#787)
- Add version parsing from Pipfile by [@&#8203;aradkdj](https://github.com/aradkdj) in [#&#8203;1067](actions/setup-python#1067)

##### Bug fixes:

- Clarify pythonLocation behaviour for PyPy and GraalPy in environment variables by [@&#8203;aparnajyothi-y](https://github.com/aparnajyothi-y) in [#&#8203;1183](actions/setup-python#1183)
- Change missing cache directory error to warning  by [@&#8203;aparnajyothi-y](https://github.com/aparnajyothi-y) in [#&#8203;1182](actions/setup-python#1182)
- Add Architecture-Specific PATH Management for Python with --user Flag on Windows by [@&#8203;aparnajyothi-y](https://github.com/aparnajyothi-y) in [#&#8203;1122](actions/setup-python#1122)
- Include python version in PyPy python-version output by [@&#8203;cdce8p](https://github.com/cdce8p) in [#&#8203;1110](actions/setup-python#1110)
- Update docs: clarification on pip authentication with setup-python by [@&#8203;priya-kinthali](https://github.com/priya-kinthali) in [#&#8203;1156](actions/setup-python#1156)

##### Dependency updates:

- Upgrade idna from 2.9 to 3.7 in /**tests**/data by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;843](actions/setup-python#843)
- Upgrade form-data to fix critical vulnerabilities [#&#8203;182](actions/setup-python#182) & [#&#8203;183](actions/setup-python#183) by [@&#8203;aparnajyothi-y](https://github.com/aparnajyothi-y) in [#&#8203;1163](actions/setup-python#1163)
- Upgrade setuptools to 78.1.1 to fix path traversal vulnerability in PackageIndex.download by [@&#8203;aparnajyothi-y](https://github.com/aparnajyothi-y) in [#&#8203;1165](actions/setup-python#1165)
- Upgrade actions/checkout from 4 to 5 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;1181](actions/setup-python#1181)
- Upgrade [@&#8203;actions/tool-cache](https://github.com/actions/tool-cache) from 2.0.1 to 2.0.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;1095](actions/setup-python#1095)

#### New Contributors

- [@&#8203;krystof-k](https://github.com/krystof-k) made their first contribution in [#&#8203;787](actions/setup-python#787)
- [@&#8203;cdce8p](https://github.com/cdce8p) made their first contribution in [#&#8203;1110](actions/setup-python#1110)
- [@&#8203;aradkdj](https://github.com/aradkdj) made their first contribution in [#&#8203;1067](actions/setup-python#1067)

**Full Changelog**: <actions/setup-python@v5...v6.0.0>

### [`v5.6.0`](https://github.com/actions/setup-python/releases/tag/v5.6.0)

[Compare Source](actions/setup-python@v5.5.0...v5.6.0)

#### What's Changed

- Workflow updates related to Ubuntu 20.04 by [@&#8203;aparnajyothi-y](https://github.com/aparnajyothi-y) in [#&#8203;1065](actions/setup-python#1065)
- Fix for Candidate Not Iterable Error by [@&#8203;aparnajyothi-y](https://github.com/aparnajyothi-y) in [#&#8203;1082](actions/setup-python#1082)
- Upgrade semver and [@&#8203;types/semver](https://github.com/types/semver) by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1091](actions/setup-python#1091)
- Upgrade prettier from 2.8.8 to 3.5.3 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1046](actions/setup-python#1046)
- Upgrade ts-jest from 29.1.2 to 29.3.2 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1081](actions/setup-python#1081)

**Full Changelog**: <actions/setup-python@v5...v5.6.0>

### [`v5.5.0`](https://github.com/actions/setup-python/releases/tag/v5.5.0)

[Compare Source](actions/setup-python@v5.4.0...v5.5.0)

#### What's Changed

##### Enhancements:

- Support free threaded Python versions like '3.13t' by [@&#8203;colesbury](https://github.com/colesbury) in [#&#8203;973](actions/setup-python#973)
- Enhance Workflows: Include ubuntu-arm runners, Add e2e Testing for free threaded and Upgrade [@&#8203;action/cache](https://github.com/action/cache) from 4.0.0 to 4.0.3 by [@&#8203;priya-kinthali](https://github.com/priya-kinthali) in [#&#8203;1056](actions/setup-python#1056)
- Add support for .tool-versions file in setup-python by [@&#8203;mahabaleshwars](https://github.com/mahabaleshwars) in [#&#8203;1043](actions/setup-python#1043)

##### Bug fixes:

- Fix architecture for pypy on Linux ARM64 by [@&#8203;mayeut](https://github.com/mayeut) in [#&#8203;1011](actions/setup-python#1011)
  This update maps arm64 to aarch64 for Linux ARM64 PyPy installations.

##### Dependency updates:

- Upgrade [@&#8203;vercel/ncc](https://github.com/vercel/ncc) from 0.38.1 to 0.38.3 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1016](actions/setup-python#1016)
- Upgrade [@&#8203;actions/glob](https://github.com/actions/glob) from 0.4.0 to 0.5.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1015](actions/setup-python#1015)

#### New Contributors

- [@&#8203;colesbury](https://github.com/colesbury) made their first contribution in [#&#8203;973](actions/setup-python#973)
- [@&#8203;mahabaleshwars](https://github.com/mahabaleshwars) made their first contribution in [#&#8203;1043](actions/setup-python#1043)

**Full Changelog**: <actions/setup-python@v5...v5.5.0>

### [`v5.4.0`](https://github.com/actions/setup-python/releases/tag/v5.4.0)

[Compare Source](actions/setup-python@v5.3.0...v5.4.0)

#### What's Changed

##### Enhancements:

- Update cache error message by [@&#8203;aparnajyothi-y](https://github.com/aparnajyothi-y) in [#&#8203;968](actions/setup-python#968)
- Enhance Workflows: Add Ubuntu-24, Remove Python 3.8  by [@&#8203;priya-kinthali](https://github.com/priya-kinthali) in [#&#8203;985](actions/setup-python#985)
- Configure Dependabot settings by [@&#8203;HarithaVattikuti](https://github.com/HarithaVattikuti) in [#&#8203;1008](actions/setup-python#1008)

##### Documentation changes:

- Readme update - recommended permissions by [@&#8203;benwells](https://github.com/benwells) in [#&#8203;1009](actions/setup-python#1009)
- Improve Advanced Usage examples by [@&#8203;lrq3000](https://github.com/lrq3000) in [#&#8203;645](actions/setup-python#645)

##### Dependency updates:

- Upgrade `undici` from 5.28.4 to 5.28.5 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1012](actions/setup-python#1012)
- Upgrade `urllib3` from 1.25.9 to 1.26.19 in /**tests**/data by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;895](actions/setup-python#895)
- Upgrade `actions/publish-immutable-action` from 0.0.3 to 0.0.4 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1014](actions/setup-python#1014)
- Upgrade `@actions/http-client` from 2.2.1 to 2.2.3 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1020](actions/setup-python#1020)
- Upgrade `requests` from 2.24.0 to 2.32.2 in /**tests**/data by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1019](actions/setup-python#1019)
- Upgrade `@actions/cache` to `^4.0.0` by [@&#8203;priyagupta108](https://github.com/priyagupta108) in [#&#8203;1007](actions/setup-python#1007)

#### New Contributors

- [@&#8203;benwells](https://github.com/benwells) made their first contribution in [#&#8203;1009](actions/setup-python#1009)
- [@&#8203;HarithaVattikuti](https://github.com/HarithaVattikuti) made their first contribution in [#&#8203;1008](actions/setup-python#1008)
- [@&#8203;lrq3000](https://github.com/lrq3000) made their first contribution in [#&#8203;645](actions/setup-python#645)

**Full Changelog**: <actions/setup-python@v5...v5.4.0>

### [`v5.3.0`](https://github.com/actions/setup-python/releases/tag/v5.3.0)

[Compare Source](actions/setup-python@v5.2.0...v5.3.0)

#### What's Changed

- Add workflow file for publishing releases to immutable action package by [@&#8203;Jcambass](https://github.com/Jcambass) in [#&#8203;941](actions/setup-python#941)
- Upgrade IA publish by [@&#8203;Jcambass](https://github.com/Jcambass) in [#&#8203;943](actions/setup-python#943)

##### Bug Fixes:

- Normalise Line Endings to Ensure Cross-Platform Consistency by [@&#8203;priya-kinthali](https://github.com/priya-kinthali) in [#&#8203;938](actions/setup-python#938)
- Revise `isGhes` logic by [@&#8203;jww3](https://github.com/jww3) in [#&#8203;963](actions/setup-python#963)
- Bump pillow from 7.2 to 10.2.0 by [@&#8203;aparnajyothi-y](https://github.com/aparnajyothi-y) in [#&#8203;956](actions/setup-python#956)

##### Enhancements:

- Enhance workflows and documentation updates by [@&#8203;priya-kinthali](https://github.com/priya-kinthali) in [#&#8203;965](actions/setup-python#965)
- Bump default versions to latest by [@&#8203;jeffwidman](https://github.com/jeffwidman) in [#&#8203;905](actions/setup-python#905)

#### New Contributors

- [@&#8203;Jcambass](https://github.com/Jcambass) made their first contribution in [#&#8203;941](actions/setup-python#941)
- [@&#8203;jww3](https://github.com/jww3) made their first contribution in [#&#8203;963](actions/setup-python#963)

**Full Changelog**: <actions/setup-python@v5...v5.3.0>

### [`v5.2.0`](https://github.com/actions/setup-python/releases/tag/v5.2.0)

[Compare Source](actions/setup-python@v5.1.1...v5.2.0)

#### What's Changed

##### Bug fixes:

- Add `.zip` extension to Windows package downloads for `Expand-Archive` Compatibility by [@&#8203;priyagupta108](https://github.com/priyagupta108) in [#&#8203;916](actions/setup-python#916)
  This addresses compatibility issues on Windows self-hosted runners by ensuring that the filenames for Python and PyPy package downloads explicitly include the .zip extension, allowing the Expand-Archive command to function correctly.
- Add arch to cache key by [@&#8203;Zxilly](https://github.com/Zxilly) in [#&#8203;896](actions/setup-python#896)
  This addresses issues with caching by adding the architecture (arch) to the cache key, ensuring that cache keys are accurate to prevent conflicts.
  Note: This change may break previous cache keys as they will no longer be compatible with the new format.

##### Documentation changes:

- Fix display of emojis in contributors doc by [@&#8203;sciencewhiz](https://github.com/sciencewhiz) in [#&#8203;899](actions/setup-python#899)
- Documentation update for caching poetry dependencies by [@&#8203;gowridurgad](https://github.com/gowridurgad) in [#&#8203;908](actions/setup-python#908)

##### Dependency updates:

- Bump [@&#8203;iarna/toml](https://github.com/iarna/toml) version from 2.2.5 to 3.0.0 by [@&#8203;priya-kinthali](https://github.com/priya-kinthali) in [#&#8203;912](actions/setup-python#912)
- Bump pyinstaller from 3.6 to 5.13.1 by [@&#8203;aparnajyothi-y](https://github.com/aparnajyothi-y) in [#&#8203;923](actions/setup-python#923)

#### New Contributors

- [@&#8203;sciencewhiz](https://github.com/sciencewhiz) made their first contribution in [#&#8203;899](actions/setup-python#899)
- [@&#8203;priyagupta108](https://github.com/priyagupta108) made their first contribution in [#&#8203;916](actions/setup-python#916)
- [@&#8203;Zxilly](https://github.com/Zxilly) made their first contribution in [#&#8203;896](actions/setup-python#896)
- [@&#8203;aparnajyothi-y](https://github.com/aparnajyothi-y) made their first contribution in [#&#8203;923](actions/setup-python#923)

**Full Changelog**: <actions/setup-python@v5...v5.2.0>

### [`v5.1.1`](https://github.com/actions/setup-python/releases/tag/v5.1.1)

[Compare Source](actions/setup-python@v5.1.0...v5.1.1)

#### What's Changed

##### Bug fixes:

- fix(ci): update all failing workflows by [@&#8203;mayeut](https://github.com/mayeut) in [#&#8203;863](actions/setup-python#863)
  This update ensures compatibility and optimal performance of workflows on the latest macOS version.

##### Documentation changes:

- Documentation update for cache by [@&#8203;gowridurgad](https://github.com/gowridurgad) in [#&#8203;873](actions/setup-python#873)

##### Dependency updates:

- Bump braces from 3.0.2 to 3.0.3 and undici from 5.28.3 to 5.28.4 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;893](actions/setup-python#893)

#### New Contributors

- [@&#8203;gowridurgad](https://github.com/gowridurgad) made their first contribution in [#&#8203;873](actions/setup-python#873)

**Full Changelog**: <actions/setup-python@v5...v5.1.1>

### [`v5.1.0`](https://github.com/actions/setup-python/releases/tag/v5.1.0)

[Compare Source](actions/setup-python@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://github.com/Shegox) in [#&#8203;766](actions/setup-python#766).
- Dependency updates by [@&#8203;dependabot](https://github.com/dependabot) and [@&#8203;HarithaVattikuti](https://github.com/HarithaVattikuti) in [#&#8203;817](actions/setup-python#817)
- Documentation changes for version in README by [@&#8203;basnijholt](https://github.com/basnijholt) in [#&#8203;776](actions/setup-python#776)
- Documentation changes for link in README by [@&#8203;ukd1](https://github.com/ukd1) in [#&#8203;793](actions/setup-python#793)
- Documentation changes for link in Advanced Usage by [@&#8203;Jamim](https://github.com/Jamim) in [#&#8203;782](actions/setup-python#782)
- Documentation changes for avoiding rate limit issues on GHES by [@&#8203;priya-kinthali](https://github.com/priya-kinthali) in [#&#8203;835](actions/setup-python#835)

#### New Contributors

- [@&#8203;basnijholt](https://github.com/basnijholt) made their first contribution in [#&#8203;776](actions/setup-python#776)
- [@&#8203;ukd1](https://github.com/ukd1) made their first contribution in [#&#8203;793](actions/setup-python#793)
- [@&#8203;Jamim](https://github.com/Jamim) made their first contribution in [#&#8203;782](actions/setup-python#782)
- [@&#8203;Shegox](https://github.com/Shegox) made their first contribution in [#&#8203;766](actions/setup-python#766)
- [@&#8203;priya-kinthali](https://github.com/priya-kinthali) made their first contribution in [#&#8203;835](actions/setup-python#835)

**Full Changelog**: <actions/setup-python@v5.0.0...v5.1.0>

### [`v5.0.0`](https://github.com/actions/setup-python/releases/tag/v5.0.0)

[Compare Source](actions/setup-python@v4.9.1...v5.0.0)

#### What's Changed

In scope of this release, we update node version runtime from node16 to node20 ([#&#8203;772](actions/setup-python#772)). Besides, we update dependencies to the latest versions.

**Full Changelog**: <actions/setup-python@v4.8.0...v5.0.0>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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 [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMjYuMCIsInVwZGF0ZWRJblZlciI6IjQzLjEyNi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==-->

Co-authored-by: Renovate Bot <[email protected]>
Co-committed-by: Renovate Bot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@v-HarithaVattikuti v-HarithaVattikuti v-HarithaVattikuti approved these changes
@v-priya-kinthali v-priya-kinthali v-priya-kinthali approved these changes
+2 more reviewers
@winlover32 winlover32 winlover32 approved these changes
@v-aparnajyothi-y v-aparnajyothi-y v-aparnajyothi-y approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

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

Assignees

@v-priya-kinthali v-priya-kinthali

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Enhance setup-python Action in GitHub Enterprise Server with Raw API Fallback Mechanism

Uh oh!

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

5 participants

@Shegox @v-HarithaVattikuti @winlover32 @v-aparnajyothi-y @v-priya-kinthali
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.