-
Notifications
You must be signed in to change notification settings - Fork 24
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
BUG: pip release 23.2 breaks ucc-gen #808
Comments
I could locate the following ucc-gen behaviour, hard coded: The issue happening here:
By temporarily forcing the pip upgrade to be restricted to the previous release of pip, the build work again:
Not a permanent workaround obviously, I do not know what makes the process to be failing systematically with latest release of pip. Here are the traces of my successful build process bypassing the upgrade of pip to 23.2:
|
With the latest pip version, the build started failing because the pip update command is not deterministic. Since this potentially broke existing pipelines, even though ucc-gen was not updated splunk#808
Added some more findings here: |
* fix: resolve failing ucc-gen by pinning pip version With the latest pip version, the build started failing because the pip update command is not deterministic. Since this potentially broke existing pipelines, even though ucc-gen was not updated #808 * fix: adjust the pip installation command --------- Co-authored-by: Artem Rys <rysartem@gmail.com>
Version 5.28.3 was released with |
I'll close this one, as fix was released and pip was also released with a fix for the same issue. We will later investigate the removal of the deprecate functionality we rely on. |
Description
On Saturday 15th of July 2023 was released pip version 23.2 on pypi and it became the default.
When running ucc-gen, the new release of pip is automatically used and ucc-gen systematically fails to generate any package with:
I have tried many various things, all unsuccessful for now, to prevent this pip version from being used by ucc-gen.
The same bevhiour can be observed on Mac & Linux, clearing pip cache, uninstall or other trick does help as ucc-gen systematically tries to acquire the latest version available on-line.
Super annoying and blocking issue, is there any way to force ucc-gen behaviour regarding the pip version it uses?(requirements.txt seems to be ignored in that case?)
What ucc-gen version are you using?
splunk-add-on-ucc-framework==5.28.2
Additional System Info
Tested on different Mac & Linux OS, Python 3.10.6
The text was updated successfully, but these errors were encountered: