You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Including a requirements.txt file exported from pip freeze causes ucc-gen build to fail with the following error:
INFO: Installing requirements from package/lib/requirements.txt
INFO: Executing: python3 -m pip install --upgrade pip
ERROR: Command (pip upgrade) returned 1 status code
Traceback (most recent call last):
File ".venv/bin/ucc-gen", line 10, in <module>
sys.exit(main())
File ".venv/lib/python3.9/site-packages/splunk_add_on_ucc_framework/main.py", line 244, in main
build.generate(
File ".venv/lib/python3.9/site-packages/splunk_add_on_ucc_framework/commands/build.py", line 494, in generate
install_python_libraries(
File ".venv/lib/python3.9/site-packages/splunk_add_on_ucc_framework/install_python_libraries.py", line 186, in install_python_libraries
install_libraries(
File ".venv/lib/python3.9/site-packages/splunk_add_on_ucc_framework/install_python_libraries.py", line 268, in install_libraries
_pip_install(
File ".venv/lib/python3.9/site-packages/splunk_add_on_ucc_framework/install_python_libraries.py", line 84, in _pip_install
raise CouldNotInstallRequirements
splunk_add_on_ucc_framework.install_python_libraries.CouldNotInstallRequirements
Figured it out - my local virtualenv didn't have pip - can you please improve the errors so they're actionable? Perhaps patch _pip_install so it's more like:
Description
Including a requirements.txt file exported from pip freeze causes
ucc-gen build
to fail with the following error:I have tried a list of packages:
or a full pip freeze output:
What UCC version are you using?
5.58.1
Additional System Info
python 3.9.6
The text was updated successfully, but these errors were encountered: