Feature request: configurable MANIFEST_URL and downloadUrl for mirrors #1233
Copy link
Copy link
Open
cdkovacs/setup-python
#1Labels
feature requestNew feature or request to improve the current logicNew feature or request to improve the current logic
Description
Hi team 👋
Description:
I’d like to ask if setup-python could support customizing MANIFEST_URL and downloadUrl.
In self-hosted environments like Gitea, I mirror GitHub Action repositories locally due to firewall restrictions.
Currently, some URLs inside the action are hardcoded to GitHub (e.g., MANIFEST_URL), which prevents using mirrors.
It would be helpful to allow overriding these URLs via with: parameters so mirrored sources can be used.
Justification:
- I maintain a self-hosted Gitea instance and mirror actions to avoid firewall issues.
- Overriding hardcoded URLs would allow users in restricted regions to use mirrors without modifying the action code.
- Manual code modification is inconvenient because I still periodically sync updates from upstream. Supporting this feature would simplify maintenance and increase usability for self-hosted deployments.
Are you willing to submit a PR?
No, I am just proposing the feature.
Thanks so much for your work on setup-python! I really appreciate your time and consideration. 🙏
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature requestNew feature or request to improve the current logicNew feature or request to improve the current logic
Activity
v-priya-kinthali commentedon Oct 27, 2025
Hello @miss85246👋,
Thank you for this feature request. We will investigate it and get back to you as soon as we have some feedback.
v-priyagupta108 commentedon Sep 15, 2026
Hi @miss85246,
This is now supported as of #1302, which is merged in main. You can point setup-python at a custom manifest/distribution source using the new
mirrorinput, and authenticate withmirror-tokenif needed. This should cover the mirror use case described here. The change will be available in the next release. Please give it a try and let us know if it doesn't fully cover your scenario, and we can take another look.v-priyagupta108 commentedon Sep 28, 2026
Hi @miss85246, just checking in on this. Were you able to try the new
mirror/mirror-tokeninputs from #1302? Let us know if it covers your use case or if anything's missing. Thanks!