Bug 810156 - buildout init fails as distribute can not be installed (PEAK error)
Summary: buildout init fails as distribute can not be installed (PEAK error)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-zc-buildout
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ralph Bean
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 848782
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-05 09:53 UTC by Felix Schwarz
Modified: 2013-04-12 13:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-12 13:22:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Felix Schwarz 2012-04-05 09:53:37 UTC
When I try to init a new buildout on F16, I get this exception:

$ buildout init
Creating '/home/fs/temp/buildout.cfg'.
Creating directory '/home/fs/temp/bin'.
Creating directory '/home/fs/temp/parts'.
Creating directory '/home/fs/temp/eggs'.
Creating directory '/home/fs/temp/develop-eggs'.
Getting distribution for 'distribute'.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 2, in <module>
    from setuptools.extension import Extension, Library
  File "/usr/lib/python2.7/site-packages/setuptools/extension.py", line 2, in <module>
    from setuptools.dist import _get_unpatched
  File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 6, in <module>
    from setuptools.command.install import install
  File "/usr/lib/python2.7/site-packages/setuptools/command/__init__.py", line 8, in <module>
    from setuptools.command import install_scripts
  File "/usr/lib/python2.7/site-packages/setuptools/command/install_scripts.py", line 3, in <module>
    from pkg_resources import Distribution, PathMetadata, ensure_directory
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2727, in <module>
    add_activation_listener(lambda dist: dist.activate())
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 700, in subscribe
    callback(dist)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2727, in <lambda>
    add_activation_listener(lambda dist: dist.activate())
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2230, in activate
    map(declare_namespace, self._get_metadata('namespace_packages.txt'))
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1815, in declare_namespace
    path = sys.modules[parent].__path__
KeyError: 'peak'
An error occurred when trying to install distribute 0.6.25. Look above this message for any errors that were output by easy_install.
While:
  Bootstrapping.
  Getting distribution for 'distribute'.
Error: Couldn't install: distribute 0.6.25


The problem seems to be triggered by python-decoratortools which is required by mock.

$ rpm -qf /usr/lib/python2.7/site-packages/peak
python-decoratortools-1.8-2.fc15.noarch

Comment 1 Felix Schwarz 2012-04-06 22:20:15 UTC
just want to mention that this is an upstream bug (technically for python-zc-buildout as they implemented the feature which broke some assumptions in python-distribute though I think it can only be fixed by the latter).

Mailing list postings which technical analysis: http://mail.python.org/pipermail/distutils-sig/2012-April/018451.html

Comment 2 Fedora Admin XMLRPC Client 2012-12-03 12:40:24 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Fedora End Of Life 2013-01-16 17:07:04 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Ralph Bean 2013-01-16 18:57:11 UTC
I'm the new owner of the package and I haven't gotten a chance to look at this one yet.  Bumping the version to f17 now.

Comment 5 Felix Schwarz 2013-03-20 18:53:36 UTC
The same problem occurs on Fedora 18 using python-zc-buildout 1.5.2-3.fc18.

I noticed that with zc.buildout 2.0.1 the problem does not exist anymore, hopefully this bug may be obsolete when Fedora gets a new version of buildout.

Comment 6 Fedora Update System 2013-03-20 23:32:11 UTC
python-zc-buildout-2.0.1-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/python-zc-buildout-2.0.1-1.fc18

Comment 7 Fedora Update System 2013-03-20 23:32:38 UTC
python-zc-buildout-2.0.1-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/python-zc-buildout-2.0.1-1.fc17

Comment 8 Ralph Bean 2013-03-25 17:49:30 UTC
buildout 2.1.0 on the way with test suite now run and passing!  Testing in the wild and feedback appreciated.

Comment 9 Fedora Update System 2013-03-25 20:09:35 UTC
python-zc-buildout-2.1.0-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/python-zc-buildout-2.1.0-2.fc18

Comment 10 Fedora Update System 2013-03-25 20:10:21 UTC
python-zc-buildout-2.1.0-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/python-zc-buildout-2.1.0-2.fc17

Comment 11 Fedora Update System 2013-03-26 14:54:24 UTC
python-zc-buildout-2.1.0-3.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/python-zc-buildout-2.1.0-3.fc18

Comment 12 Fedora Update System 2013-03-26 14:54:49 UTC
python-zc-buildout-2.1.0-3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/python-zc-buildout-2.1.0-3.fc17

Comment 13 Fedora Update System 2013-04-11 23:30:11 UTC
python-zc-buildout-2.1.0-3.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2013-04-11 23:38:15 UTC
python-zc-buildout-2.1.0-3.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.