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

[Support non-ubuntu linux distributions by specify location of versions-manifest.json ](https://github.com/actions/setup-python/issues/716#issue-1848676120) #9

Open
Create-action opened this issue Jan 23, 2024 · 1 comment
Assignees
Labels
feature request New feature or request to improve the current logic investigation The issue is under investigation
Milestone

Comments

@Create-action
Copy link
Collaborator

Description: I'm using GHES with runners under CentOS / Rocky Linux. But setup-python is supported on recent Ubuntu versions only, and it fails on other linux distributions, yet. So, I propose to support other linux distributions by simple changes.

Justification:

  • Recent actions/tool-cache library supports to determine platform version for non-ubuntu linux distros ( Get linux version from os-release file if available toolkit#594 )

  • setup-python actions has hard coded location of versions-manifest.json.
    If location of versions-manifest.json can be provided users, actions can be used for various linux platform.
    I propose 3 inputs options for this.

    • versions-manifest-repo-owner : Github owner of versions-manifest.json
    • versions-manifest-repo-name : Github repository of versions-manifest.json
    • versions-manifest-repo-branch : Github branch of versions-manifest.json
      If these values are not set, default value should be same with current behavior.

Are you willing to submit a PR?

I'll try it :D

@Create-action Create-action added investigation The issue is under investigation feature request New feature or request to improve the current logic labels Jan 23, 2024
@Create-action Create-action added this to the investigation milestone Jan 23, 2024
@Create-action Create-action self-assigned this Jan 23, 2024
Copy link

Could not create branch issue-9-_Support_non-ubuntu_linux_distributions_by_specify_location_of_versions-manifest_json_https_//github_com/actions/setup-python/issues/716#issue-1848676120 due to: refs/heads/issue-9-Support_non-ubuntu_linux_distributions_by_specify_location_of_versions-manifest_json_https//github_com/actions/issues/716#issue-1848676120 is not a valid ref name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request to improve the current logic investigation The issue is under investigation
Projects
None yet
Development

No branches or pull requests

1 participant