Skip to content

Support non-ubuntu linux distributions by specify location of versions-manifest.json #716

Closed

Description

@ganadist

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

Activity

  1. dmitry-shibanov commented on Aug 14, 2023

    @dmitry-shibanov
    Contributor

    Hello @ganadist. Thank you for your report. We'll take a look at this feature request.

  2. v-aparnajyothi-y commented on Nov 22, 2024

    @v-aparnajyothi-y
    Contributor

    Hello, Thank you for your feature request. While supporting non-Ubuntu Linux distributions could be beneficial, it introduces added complexity, increases maintenance overhead, and could lead to misconfigurations. We believe that focusing on a single, consistent platform ensures a more stable and reliable experience for most users. As per our support policy, we only support versions available on our hosted runners. This ensures a more consistent and reliable experience across all environments.We appreciate your understanding and encourage you to share any further ideas in the future.

  3. v-aparnajyothi-y commented on Dec 9, 2024

    @v-aparnajyothi-y
    Contributor

    Hello Everyone, Please let us know in case of clarifications needed on the above.

  4. ganadist commented on Dec 9, 2024

    @ganadist
    Author

    As per our support policy, we only support versions available on our hosted runners. This ensures a more consistent and reliable experience across all environments. We appreciate your understanding and encourage you to share any further ideas in the future.

    Thanks for the clarification.

    My actual request was not about providing binary distribution for non-Ubuntu Linux.
    But my request was suggestion how about providing small extension to specify customized manifest to use setup-python on non-Ubuntu Linux.

    This itself doesn't take much effort, and if anyone use it at their own risk, it would be easy and useful on non-Ubuntu Linux distribution.

  5. v-aparnajyothi-y commented on Dec 11, 2024

    @v-aparnajyothi-y
    Contributor

    Hello @ganadist, We appreciate your feedback regarding the potential for a customized manifest option for setup-python on non-Ubuntu Linux distributions. As per our support policy, we currently only support versions available on our hosted runners. However, we’ll certainly keep your suggestion in mind for future updates once support for non-Ubuntu Linux distributions is added to our hosted runners.

    For now, we’ll proceed to close the issue, but please feel free to reach out if you have any further questions or concerns. We also encourage you to share any additional ideas in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature requestNew feature or request to improve the current logicinvestigationThe issue is under investigation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions