Upgrading from 3.1.7 to 3.2.3 (Updated)

1 message Options
Embed this post
Permalink
richardt () Upgrading from 3.1.7 to 3.2.3 (Updated)
Reply Threaded More More options
Print post
Permalink
(This post was updated on )
Hi there,

I'm attempting to upgrade from 3.1.7 to 3.2.3 using buildout but get the error:

Updating zope2.
Updating fake eggs
Updating productdistros.
Installing plone.
While:
  Installing plone.
Error: There is a version conflict.
We already have: kss.core 1.4.5
but kss.demo 1.4.3 requires 'kss.core==1.4.3'.

I'd be grateful for any suggestions. I'm new to the buildout.cfg script and can't find much online with regard to examples for guidance. Could you point me to some complete examples? Alternatively I'll probably need to reinstall from scratch...

This reference proved useful: http://maurits.vanrees.org/weblog/archive/2008/01/easily-creating-repeatable-buildouts

Thanks.

_________________________
My current buildout.cfg is:

[buildout]
parts =
    zope2
    productdistros
    instance
    zopepy
    varnish-build
    varnish-instance

# Add additional egg download sources here. dist.plone.org contains archives
# of Plone packages.
find-links =
    http://dist.plone.org
    http://download.zope.org/ppix/
    http://download.zope.org/distribution/
    http://effbot.org/downloads

extends = http://dist.plone.org/release/3.2.3/versions.cfg

versions = versions


# Add additional eggs here
# elementtree is required by Plone
eggs =
    Plone
    elementtree
    Products.CacheSetup
    abstract.jwrotator
    Products.PloneRSS
    collective.portlet.feedmixer
    kss.core = 1.4.3

# Reference any eggs you are developing here, one per line
# e.g.: develop = src/my.package
develop =

[plone]
recipe = plone.recipe.plone>=3.1.7,<3.3dev

# Adding the following removed version errors on running buildout
eggs =
   kss.core
   plone.app.content
   plone.app.contentmenu
   plone.app.controlpanel
   plone.app.form
   plone.app.i18n
   plone.app.iterate
   plone.app.kss
   plone.app.layout
   plone.app.linkintegrity
   plone.app.portlets
   plone.app.redirector
   plone.app.viewletmanager
   plone.app.vocabularies
   plone.app.workflow
   plone.session

[zope2]
recipe = plone.recipe.zope2install

url = ${versions:zope2-url}

fake-zope-eggs = true

additional-fake-eggs =

    ZConfig

    ZODB3

    pytz


# Use this section to download additional old-style products.
# List any number of URLs for product tarballs under URLs (separate
# with whitespace, or break over several lines, with subsequent lines
# indented). If any archives contain several products inside a top-level
# directory, list the archive file name (i.e. the last part of the URL,
# normally with a .tar.gz suffix or similar) under 'nested-packages'.
# If any archives extract to a product directory with a version suffix, list
# the archive name under 'version-suffix-packages'.
[productdistros]
recipe = plone.recipe.distros
urls =
nested-packages =
version-suffix-packages =

[instance]
recipe = plone.recipe.zope2instance
zope2-location = ${zope2:location}
user = xxxxxxxxx
http-address = 7225
#debug-mode = on
#verbose-security = on
recipe = plone.recipe.zope2instance

# If you want Zope to know about any additional eggs, list them here.
# This should include any development eggs you listed in develop-eggs above,
# e.g. eggs = ${buildout:eggs} ${plone:eggs} my.package
eggs =
    ${buildout:eggs}
    ${plone:eggs}

# If you want to register ZCML slugs for any packages, list them here.
# e.g. zcml = my.package my.other.package
zcml =abstract.jwrotator
zcml =collective.portlet.feedmixer

products =
    ${buildout:directory}/products
    ${productdistros:location}
    ${plone:products}

[zopepy]
recipe = zc.recipe.egg
eggs = ${instance:eggs}
interpreter = zopepy
extra-paths = ${zope2:location}/lib/python
scripts = zopepy

[varnish-build]
recipe = zc.recipe.cmmi
url = http://sourceforge.net/projects/varnish/files/varnish/2.0.4/varnish-2.0.4.tar.gz

[varnish-instance]
recipe = plone.recipe.varnish:instance
# change 9991 to the port number assigned to your "varnish" custom app
bind = 127.0.0.1:7222
# change 9992 to the port number assigned to your zope custom app
backends = 127.0.0.1:7225
cache-size = 1G