eggbasket test failure

Bug #316489 reported by Martijn Faassen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grok
Fix Released
Medium
Maurits van Rees

Bug Description

Already mentioned in bug 315215, but not fixed for me, so making a separate issue:

File "/home/faassen/buildout/z3c.recipe.eggbasket/z3c/recipe/eggbasket/tests/../README.txt", line 135, in README.txt
Failed example:
    print system(buildout)
Expected:
    Installing basket.
    <BLANKLINE>
Got:
    Couldn't find index page for 'zc.recipe.egg' (maybe misspelled?)
    Getting distribution for 'zc.recipe.egg'.
    While:
      Installing.
      Getting section basket.
      Initializing section basket.
      Installing recipe z3c.recipe.eggbasket.
      Getting distribution for 'zc.recipe.egg'.
    Error: Couldn't find a distribution for 'zc.recipe.egg'.
    <BLANKLINE>

This is with Python 2.4. There's another possible issue for this test with Python 2.5

Changed in grok:
assignee: nobody → maurits-vanrees
importance: Undecided → Medium
milestone: none → 1.0
status: New → Confirmed
Revision history for this message
Maurits van Rees (maurits-vanrees) wrote :

Ah wait, the tests pass for me when I just do 'python2.4 setup.py test'. When I run 'bin/test' I get that error too. And when I *first* run 'python2.4 setup.py test' it downloads some eggs in the current directory and then the next call of 'bin/test' actually passes... This is mentioned in buildout.cfg too.

The strange thing is that bin/test sets up the python path to contain zc.recipe.egg and others from my shared eggs cache, so it should not need to go and find zc.recipe.egg anymore during testing. Apparently I am lacking some information here about how buildout testing is supposed to be setup.

Revision history for this message
Martijn Faassen (faassen) wrote : Re: [Bug 316489] Re: eggbasket test failure

I was asuming that z3c.recipe.eggbasket performed testing in the same
way as any other builded out system uses, bin/test. I didn't even know
that the "python setup.py test" worked with this package. Not a high
priority then as at least the tests pass in *some* form.

Could you add a note about this in README.txt? (unless it's already
there). Then we can leave this issue at a relatively low priority.

Revision history for this message
Maurits van Rees (maurits-vanrees) wrote :

Comment added in README.txt in r94740.

Revision history for this message
Maurits van Rees (maurits-vanrees) wrote :

I fixed the bin/test of z3c.recipe.eggbasket by simple adding 'index = http://pypi.python.org/simple' to the buildout.cfg of the README.txt

And I released version 0.4.2 which was long overdue. Please kick me harder next time. ;-)

Changed in grok:
status: Confirmed → Fix Released
Revision history for this message
Florian Tobé (zotcybercase) wrote :

I'm installing erp5 and I got this error solved by adding 'index = http://pypi.python.org/simple' to the buildout.cfg

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.