[buildout] 2.0.0 release causing problems
Hi All/Jim, I have my library CI builds happen once a week to catch problems caused by dependencies. The first build of one these after the 2.0.0 release was not exactly clean: http://jenkins.simplistix.co.uk/job/checker-buildout/81/ Okay, fair enough, maybe I need a new bootstrap.py, so I tried with the 2 bootstrap: http://jenkins.simplistix.co.uk/job/checker-buildout/82/ Nope, no dice. Most of these look like spurious output that I need to filter: http://jenkins.simplistix.co.uk/job/checker-buildout/82/PYTHON=2.7,label=lin... But also my Mac OS Python 2.5 now appears to cause failures: http://jenkins.simplistix.co.uk/job/checker-buildout/82/PYTHON=2.5,label=mac... What's going on there? Anyway, not being that fussed about Buildout 2 for this library, I thought I'd switch back to 1 using http://downloads.buildout.org/1/bootstrap.py, but this doesn't seem to keep me on buildout 1.x anymore: http://jenkins.simplistix.co.uk/job/checker-buildout/83/PYTHON=2.5,label=mac... The code running the failing tests is here: https://github.com/Simplistix/checker/blob/master/checker/tests/test_docs.py Any ideas? Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk
On 13-02-13 00:14, Chris Withers wrote:
http://jenkins.simplistix.co.uk/job/checker-buildout/82/PYTHON=2.5,label=mac...
What's going on there?
bootstrap.py:87: UserWarning: Module pkg_resources was already imported from /System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/pkg_resources.pyc, but /private/var/folders/gx/vng89lf956g540rf6xfbpmtr00007b/T/tmpTmvLp1/distribute-0.6.34-py2.5.egg is being added to sys.path pkg_resources.working_set.add_entry(path) bootstrap.py:87: UserWarning: Module site was already imported from /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site.pyc, but /private/var/folders/gx/vng89lf956g540rf6xfbpmtr00007b/T/tmpTmvLp1/distribute-0.6.34-py2.5.egg is being added to sys.path pkg_resources.working_set.add_entry(path) Traceback (most recent call last): File "bootstrap.py", line 154, in <module> ws.require(requirement) File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/pkg_resources.py", line 620, in require needed = self.resolve(parse_requirements(requirements)) File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/pkg_resources.py", line 518, in resolve raise DistributionNotFound(req) # XXX put more info here pkg_resources.DistributionNotFound: setuptools This looks like the distribute install didn't reliably overwrite setuptools. Setuptools is gone, but the methods that distribute overwrites to let you find 'distribute' instead of 'setuptools are found *after* the old setuptools ones.
Anyway, not being that fussed about Buildout 2 for this library, I thought I'd switch back to 1 using http://downloads.buildout.org/1/bootstrap.py, but this doesn't seem to keep me on buildout 1.x anymore:
http://jenkins.simplistix.co.uk/job/checker-buildout/83/PYTHON=2.5,label=mac... I see the test in the bootstrap.py for '<2dev' that should get you the latest stable 1.x release (so: 1.7.0). This works fine for me locally. The setuptools it uses for me is "setuptools-0.6c12dev_r88846-py2.7" and in your output I see setuptools-0.6c11-py2.5.egg. I hacked 0.6c11 into my setup and still the result is the same: 1.7.0. Could you add a debug print statement before the "if is_jython" line?: print "++++++++++++++++++++++" print cmd print "++++++++++++++++++++++" Reinout -- Reinout van Rees http://reinout.vanrees.org/ reinout@vanrees.org http://www.nelen-schuurmans.nl/ "If you're not sure what to do, make something. -- Paul Graham"
participants (2)
-
Chris Withers
-
Reinout van Rees