Project

General

Profile

Actions

Bug #5167

closed

User story #2114: Integrate ncf-builder in Rudder

User story #5093: Package ncf-api-virtualenv

Bug #5164: Fix ncf-api-virtualenv

The ncf-api-virtualenv construction fails on SLES due to broken OpenSSL / pip interaction

Added by Matthieu CERDA over 10 years ago. Updated over 10 years ago.

Status:
Released
Priority:
1 (highest)
Assignee:
Jonathan CLARKE
Category:
-
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

The build fails on SLES 11 due to the following error:

09:23:11 Downloading/unpacking flask (from -r /usr/src/rudder-packages/package/SOURCES/rudder-sources/ncf/api/requirements.txt (line 1))
09:23:11   Cannot fetch index base URL https://pypi.python.org/simple/
09:23:11   Could not find any downloads that satisfy the requirement flask (from -r /usr/src/rudder-packages/package/SOURCES/rudder-sources/ncf/api/requirements.txt (line 1))
09:23:11 Cleaning up...
09:23:11 No distributions at all found for flask (from -r /usr/src/rudder-packages/package/SOURCES/rudder-sources/ncf/api/requirements.txt (line 1))
09:23:11 Storing debug log for failure in /usr/src/rudder-packages/.pip/pip.log

According to http://stackoverflow.com/questions/17416938/pip-can-not-install-anything, it is because on old OSes, pip does not work correctly due to old OpenSSL and pip implementations.

Solution would be to do ncf-api-virtualenv/bin/easy_install pip==1.2.1 before anything else on SLES.

Actions

Also available in: Atom PDF