No distribution for 5.0.8?!

I changed my buildout to reference 5.0.8 instead of 5.0.6. And I get:

  Getting distribution for 'Plone==5.0.8'.
Error: Couldn't find a distribution for 'Plone==5.0.8'.

What's up with that?

Yes, 5.0.8 was not officially released. It contains some bugs.

1 Like

5.0.8 was released: https://pypi.python.org/pypi/Plone/5.0.8

This more sounds like the zc.buildout/setuptools problem described in Buildout not working / Couldn't find index page for / Couldn't find a distribution / Disabling non HTTPS access to APIs on PyPI.

1 Like

Indeed... https://launchpad.net/plone/+milestone/5.0.8 exists so there was a miscommunication. I didn't send it out on the plone-announce list.

Are you guys recommending not upgrading to 5.0.8?

5.0.8 is the latest stable release. It would not have been released if it would break your site. We are using 5.0.8 and 5.1.b4 in production without any problems.

The problem you referenced doesn't seem to be the problem I am experiencing. Any idea why I get that error regarding no distribution for 5.0.8?

Without further information on what you changed where it is hard to say. So we are just guessing since the problem with PyPI came up in the past days and your problem sounds similar.

The only change I made was just the version number! Like I said in my first post... only 1 character... 5.0.6 to 5.0.8 in buildout.cfg. Then ran buildout to upgrade.

Again, I'm guessing you changed the line from

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

to

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

If you want further help please post your configuration and the full output of your buildout run.

This is the exact change:

extends =
base.cfg
http://dist.plone.org/release/5.0.6/versions.cfg
find-links +=
http://dist.plone.org/release/5.0.6

to:

extends =
base.cfg
http://dist.plone.org/release/5.0.8/versions.cfg
find-links +=
http://dist.plone.org/release/5.0.8

Running buildout:

    $ sudo -u plone_buildout bin/buildout
Develop: '/opt/plone/zeocluster/src/ftw.casauth'
warning: no files found matching '*.txt'
Develop: '/opt/plone/zeocluster/src/pas.plugins.ldap'
Develop: '/opt/plone/zeocluster/src/plonetheme.insidecpcc'
Develop: '/opt/plone/zeocluster/src/plone.insidecpcc'
Develop: '/opt/plone/zeocluster/src/plone.communicator'
Uninstalling omelette.
Running uninstall recipe.
Uninstalling precompiler.
Uninstalling unifiedinstaller.
Uninstalling zopepy.
Uninstalling resources.
Uninstalling client2.
Uninstalling client1.
Installing client1.
/opt/plone/zeocluster/local/lib/python2.7/site-packages/pkg_resources/__init__.py:192: RuntimeWarning: You have iterated over the result of pkg_resources.parse_version. This is a legacy behavior which is inconsistent with the new version class introduced in setuptools 8.0. In most cases, conversion to a tuple is unnecessary. For comparison of versions, sort the Version instances directly. If you have another use case requiring the tuple, please file a bug with the setuptools project describing that need.
  stacklevel=1,
Getting distribution for 'Plone==5.0.8'.
While:
  Installing client1.
  Getting distribution for 'Plone==5.0.8'.
Error: Couldn't find a distribution for 'Plone==5.0.8'.

Ok, now which version of zc.buildout do you have installed?

There is no version number in buildout.cfg for zc.buildout. So I am guessing the latest is pulled?
Should I pin it to a version?

Yes, and again I'm pointing to the discussion at Buildout not working / Couldn't find index page for / Couldn't find a distribution / Disabling non HTTPS access to APIs on PyPI.

I checked https://plone.org/download/releases and I see that @esteele just recently published the 5.0.8 release #makemelookbadthx :wink: