Bug 773582 - Version mismatch for Python packages
Summary: Version mismatch for Python packages
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Rob Millner
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-12 10:24 UTC by Alexander Todorov
Modified: 2015-05-14 22:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-02 23:55:23 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.