Re: Problems whem upgrading from 4.3.5 to 4.3.6
Nathan Van Gheem <[email protected]> Mon, 15 Jun 2015 08:51:31 -0500
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <CAL8hw9GDQ29D59EsCuOOGxcj6UDaDg5cvEi-KTeBC7unK7XFig@mail.gmail.com> |
oh, the bootstrap.py command might require: - bin/python bootstrap.py --setuptools-version=7.0 -v 2.2.5 and this is using latest bootstrap.py from https://bootstrap.pypa.io/bootstrap-buildout.py On Mon, Jun 15, 2015 at 8:50 AM, Nathan Van Gheem <[email protected]> wrote: > setuptools version issues are a pain.. > > Sometimes, even though it tries downloading a new version, buildout won't > pick of the new version because of the way it overrides paths. > > Some things to try in combination: > > - upgrade buildout > - upgrade bootstrap(https://bootstrap.pypa.io/bootstrap-buildout.py) with > version that includes the --setuptools-version option > - upgrade setuptools > > A somewhat old problem proof "recipe" that we have in our ansible setup > and should work for you goes something like this: > > - install virtualenv > - bin/pip uninstall setuptools -y > - bin/pip install setuptools==7.0 > - bin/python bootstrap.py --setuptools-version=7.0 > > On Mon, Jun 15, 2015 at 6:54 AM, Eggert Ehmke <[email protected]> > wrote: > >> Hello, >> >> I changed my buildout to draw Plone 4.3.6. Now my buildout fails: >> >> $ sudo -u plone_buildout bin/buildout >> Traceback (most recent call last): >> File "bin/buildout", line 17, in <module> >> import zc.buildout.buildout >> File "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.7.1- >> py2.7.egg/zc/buildout/buildout.py", line 40, in <module> >> import zc.buildout.download >> File "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.7.1- >> py2.7.egg/zc/buildout/download.py", line 20, in <module> >> from zc.buildout.easy_install import realpath >> File "/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.7.1- >> py2.7.egg/zc/buildout/easy_install.py", line 29, in <module> >> import setuptools.archive_util >> File "build/bdist.linux-i686/egg/setuptools/__init__.py", line 11, in >> <module> >> File "build/bdist.linux-i686/egg/setuptools/extension.py", line 8, in >> <module> >> File "build/bdist.linux-i686/egg/setuptools/dist.py", line 21, in >> <module> >> AttributeError: 'module' object has no attribute 'packaging' >> >> I already tried to upgrade my setuptools: >> >> $ sudo ../Python-2.7/bin/easy_install --upgrade setuptools >> Searching for setuptools >> Reading https://pypi.python.org/simple/setuptools/ >> Best match: setuptools 17.1.1 >> Processing setuptools-17.1.1-py2.7.egg >> setuptools 17.1.1 is already the active version in easy-install.pth >> Installing easy_install script to /usr/local/Plone/Python-2.7/bin >> Installing easy_install-2.7 script to /usr/local/Plone/Python-2.7/bin >> >> Using /usr/local/Plone/Python-2.7/lib/python2.7/site- >> packages/setuptools-17.1.1-py2.7.egg >> Processing dependencies for setuptools >> Finished processing dependencies for setuptools >> >> This seems to work but does not make a difference. Any ideas? >> >> Regards >> Eggert >> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Plone-Users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/plone-users >> > > > > -- > Nathan Van Gheem > Solutions Architect > Wildcard Corp > -- Nathan Van Gheem Solutions Architect Wildcard Corp ------------------------------------------------------------------------------ _______________________________________________ Plone-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plone-users