GeezerVison is showing github.com — Ability to set desired version of pip, or to not update it at all · Issue #901 · actions/setup-python
Ability to set desired version of pip, or to not update it at all #901Description
Description:
It would be useful if there was a way to either set the desired version of pip, or to stop it from being updated to the latest version.
Justification:
I need to make use of the PIP_USE_FEATURE=truststore ability which is currently broken in the latest version 24.1 of pip, but worked fine in 24.0 and earlier.
My Python workflows are now broken until a new version of pip is made available as I can't seemingly stop this action from always updating pip to the latest version.
Are you willing to submit a PR?
Yes. Reacted by Rafal Pomocnik, Carson Skjerdal and Tomi Activitybodgit commented on Jun 25, 2024 v-aparnajyothi-y commented on Jun 25, 2024 Hello @bodgit, Thank you for creating this issue and we will look into it :) rafal-pomocnik-captivateiq commented on Jun 26, 2024 +1 for the need, currently overcoming by having pip install --upgrade pip==24.0 right after python setup action Reacted by Matt Dainty, Carson Skjerdal, Sergei Maertens and Imaanshah v-aparnajyothi-y commented on Mar 19, 2025 Hello Everyone, Thank you for your feature request. After careful consideration, An option to set a specific pip version can be implemented as part of the future enhancements, but it will be an opt-in feature. However, we will not allow users to completely prevent pip from updating. By default, we will always support the latest version of pip. If users choose to use an older version, they will be responsible for any breaking changes or security issues that may arise, and we will make this clear in our documentation.
We hope this solution strikes a balance between offering flexibility and maintaining the stability of workflows. We appreciate your understanding and encourage you to reach out if you have any further questions! Reacted by Damian Shaw and Rafal Pomocnik v-aparnajyothi-y commented on Apr 3, 2025 Hello @bodgit, Please let us know in case of any concerns/clarifications on the above. v-aparnajyothi-y commented on Apr 11, 2025 Hello @bodgit, Please let us know in case of any concerns/clarifications on the above. v-priyagupta108 commented on Jun 12, 2025 Hi,
We’ve opened PR #1129, which introduces the ability to set a specific pip version.
Your feedback and review would be greatly appreciated.
Thanks in advance! v-gowridurgad commented on Jun 17, 2025 Hi,
Just a gentle reminder, when there’s a moment, any review or feedback on PR #1129 would be appreciated.
Thanks! v-priyagupta108 commented on Jun 23, 2025 Hello 👋 ,
We’re happy to share that this feature has now been implemented in PR #1129! This update adds support for specifying a desired pip version using the new pip-version input in actions/setup-python.
To utilize this feature, you can use the actions/setup-python@main branch in your workflows for now, and the changes will be reflected in the upcoming releases.
We’ll be closing this issue. Please feel free to reach out if you have any further concerns or need additional assistance.
Thanks for your suggestion and feedback!
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|