virtualenv, buildout with python24 and mocker as dependency

Bug #606972 reported by jordilin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mocker
New
Undecided
Unassigned

Bug Description

Hi,
When I setup a virtualenv with Python2.4 and do easy_install mocker, it fails with:

Searching for mocker
Reading http://pypi.python.org/simple/mocker/
Reading http://labix.org/mocker
Reading https://launchpad.net/mocker/+download
Download error: unknown url type: https -- Some packages may not be found!
Reading https://launchpad.net/mocker/+download
Download error: unknown url type: https -- Some packages may not be found!
Reading https://launchpad.net/mocker/+download
Download error: unknown url type: https -- Some packages may not be found!
Reading https://launchpad.net/mocker/+download
Download error: unknown url type: https -- Some packages may not be found!
Reading https://launchpad.net/mocker/+download
Download error: unknown url type: https -- Some packages may not be found!
Reading https://launchpad.net/mocker/+download
Download error: unknown url type: https -- Some packages may not be found!
Reading https://launchpad.net/mocker/+download
Download error: unknown url type: https -- Some packages may not be found!
Reading https://launchpad.net/mocker/+download
Download error: unknown url type: https -- Some packages may not be found!
No local packages or download links found for mocker
error: Could not find suitable distribution for Requirement.parse('mocker')

Then, I have to manually download the bz2 package and install it by doing python setup.py install and successfully installs the
egg in my virtualenv /ENV/lib/python2.4/site-packages/mocker-1.0-py2.4.egg
The same happens with a custom buildout that I have to manage my app. It fails with:

Download error: unknown url type: https -- Some packages may not be found!
Download error: unknown url type: https -- Some packages may not be found!
Download error: unknown url type: https -- Some packages may not be found!
Download error: unknown url type: https -- Some packages may not be found!
Download error: unknown url type: https -- Some packages may not be found!
Download error: unknown url type: https -- Some packages may not be found!
Download error: unknown url type: https -- Some packages may not be found!
Download error: unknown url type: https -- Some packages may not be found!
Getting distribution for 'mocker'.
While:
  Installing test.
  Getting distribution for 'mocker'.
Error: Couldn't find a distribution for 'mocker'.
make: *** [bin/test] Error 1

Curiously, it works fine with a Python26 virtualenv.
Searching around I saw a comment in here:
http://code.google.com/p/contentmirror/issues/detail?id=65#c3 (comment 3) but not sure if that is because it's a bzip2 package as again Python26 seems to be fine.
Not much of a problem, but it ruins a bit full automation of test/build process of my app if I have to deal with that manually or leave the mocker egg around.

Revision history for this message
jordilin (jordilin) wrote :

My system is an Ubuntu Lucid 64bit.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.