Installation flow

Replies: 4
Up one level
Pages: [1] Go down
Installation flow
« on: December 23, 2009 03:19:03 +0000 »
Hi,

I'm trying to install z3ext, but kept on failing with package version dependency hell (related to zope.location, zope.site, zope.lifecycleevent - and other packages that depends on them )

if i understood correctly, the process should be:

install z3extproject
use z3extproject to create a buildout
run buildout
start instance

am I'm doing it right ? .. or did i missed something?

​additional info

i'm using python2.4 on a linux system. z3extproject was installed into a buildout ..

thanks
Re: Installation flow
« on: December 23, 2009 20:07:53 +0000 »
versions.cfg needs a few updates. Versions of packages that are not locked down in z3ext versions.cfg and get updates in pypi will lead to some dependencies mess. Do the following changes and see if it works out for you:

diff --git a/buildout.cfg b/buildout.cfg
index e6a6dff..e8b855e 100644
--- a/buildout.cfg
+++ b/buildout.cfg
@@ -3,7 +3,6 @@ develop = .
 parts = app data zopectl i18n test zpasswd autoinclude allsrc
 newest = false
 
-extends = versions.cfg
 # eggs will be installed in the default buildout location
 # (see .buildout/default.cfg in your home directory)
 # unless you specify an eggs-directory option here.
@@ -11,6 +10,7 @@ extends = versions.cfg
 versions = versions
 extends = http://download.zope.org/zope3.4/3.4.0/versions.cfg
          http://download.z3ext.net/versions-1.1.cfg
+          versions.cfg
 
 extensions = mr.developer
 sources = tp4-sources
diff --git a/versions.cfg b/versions.cfg
index d69f838..6e64134 100644
--- a/versions.cfg
+++ b/versions.cfg
@@ -2,5 +2,5 @@
 # do not included to z3ext kgs.
 
 [versions]
+z3c.recipe.i18n = 0.5.4
+lovely.memcached = 0.1.4


If with the suggestions above you can pass buildout ok but get a failure on missing zope.app.securitypolicy when running ./bin/zopectl then you also need to add zope.app.securitypolicy to setup.py and run buildout again.


Re: Installation flow
« on: December 24, 2009 14:15:48 +0000 »
that worked .. thanks :)

/me goes digging around
Re: Installation flow
« on: February 02, 2010 16:43:59 +0000 »
It doesn't work anymore :(

We have the best distribution that satisfies 'zope.broken'.
Picked: zope.broken = 3.6.0
While:
  Installing test.
Error: There is a version conflict.
We already have: zope.lifecycleevent 3.4.0
but zope.container 3.11.0 requires 'zope.lifecycleevent>=3.5.2'.

Re: Installation flow
« on: February 02, 2010 17:08:49 +0000 »
Sorry, my bad, it worked, somehow. I think it was releated to setuptools-0.6c9. If you still get the above error, or the following one:

raise VersionConflict(dist,req)     # XXX add more info
VersionConflict: (setuptools 0.6c9 (.../virtualz3ext/lib/python2.5/site-packages/setuptools-0.6c9-py2.5.egg), Requirement.parse('setuptools==0.6c11'))

Do:
  1. easy_install setuptools==0.6c11
  2. Re-run buildout.
Pages: [1] Go up

Actions

Notifications