Bug 773582

Summary: Version mismatch for Python packages
Product: OKD Reporter: Alexander Todorov <atodorov>
Component: ContainersAssignee: Rob Millner <rmillner>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: mfisher, mshao, rmillner
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-02 23:55:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Alexander Todorov 2012-01-12 10:24:26 UTC
Description of problem:
I added 'bzr' as dependency to my application without specifying a version. 

http://pypi.python.org/pypi/bzr - shows 2.4.2 as the latest version

but I got 2.5b4 installed instead.

According to Bazaar website 
Stable version: 2.4.2
Test version: 	2.5b4


Looking further I think I know what happened. 

On the pypi page there's no tarballs to download so the installer looks under the download url (https://launchpad.net/bzr/+download) which lists all the latest test versions and downloads one of them instead.


From user POW I'd prefer a stable version if not otherwise specified. IMHO the installer needs to compare the version number from pypi to the one on the tarball.

I'm not even sure if this is a bug in OpenShift or the python install tools.

Comment 1 Rob Millner 2012-01-30 07:57:14 UTC
The way the bzr project provided their downloads, you get the beta version unless you specify the correct version.

Its agreed this is annoying behaviour, but Python's installer doesn't provide another way to enforce which version you want except to specify it if the package maintainer really wants to do that.

Recommend the end-user specify "bzr==2.4.2" if they want the stable version.

Comment 2 Rob Millner 2012-01-30 08:05:46 UTC
Moving to Q/A to verify that "bzr==2.4.2" works as a dependency.

Comment 3 Attila Nagy 2012-01-30 11:25:50 UTC
It works

Comment 4 Mrunal Patel 2012-02-02 23:55:23 UTC
Closing verified bugs.