On 03/10/2014 05:37 AM, Gary Kotton wrote:
Hi,
The client gate seems to be broken with the following error:

2014-03-10 08:19:39.566  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_566>
  |   Running setup.py install for python-mimeparse
2014-03-10 08:19:39.567  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_567>
  |
2014-03-10 08:19:39.567  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_567>
  |   Found existing installation: setuptools 2.2
2014-03-10 08:19:39.567  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_567>
  |     Uninstalling setuptools:
2014-03-10 08:19:39.567  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_567>
  |       Successfully uninstalled setuptools
2014-03-10 08:19:39.567  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_567>
  |   Running setup.py install for mccabe
2014-03-10 08:19:39.567  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_567>
  |     /usr/lib/pypy/lib-python/2.7/distutils/dist.py:267: UserWarning: Unknown 
distribution option: 'entry_points'
2014-03-10 08:19:39.567  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_567>
  |       warnings.warn(msg)
2014-03-10 08:19:39.567  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_567>
  |     /usr/lib/pypy/lib-python/2.7/distutils/dist.py:267: UserWarning: Unknown 
distribution option: 'zip_safe'
2014-03-10 08:19:39.567  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_567>
  |       warnings.warn(msg)
2014-03-10 08:19:39.567  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_567>
  |     usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
2014-03-10 08:19:39.567  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_567>
  |        or: -c --help [cmd1 cmd2 ...]
2014-03-10 08:19:39.567  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_567>
  |        or: -c --help-commands
2014-03-10 08:19:39.568  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_568>
  |        or: -c cmd --help
2014-03-10 08:19:39.568  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_568>
  |
2014-03-10 08:19:39.568  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_568>
  |     error: option --single-version-externally-managed not recognized
2014-03-10 08:19:39.568  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_568>
  |     Complete output from command 
/home/jenkins/workspace/gate-python-novaclient-pypy/.tox/pypy/bin/pypy -c "import 
setuptools, 
tokenize;__file__='/home/jenkins/workspace/gate-python-novaclient-pypy/.tox/pypy/build/mccabe/setup.py';exec(compile(getattr(tokenize,
 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install 
--record /tmp/tmp.l53ekBaPmF/pip-5i1oDp-record/install-record.txt 
--single-version-externally-managed --compile --install-headers 
/home/jenkins/workspace/gate-python-novaclient-pypy/.tox/pypy/include/site/python2.7:
2014-03-10 08:19:39.568  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_568>
  |     /usr/lib/pypy/lib-python/2.7/distutils/dist.py:267: UserWarning: Unknown 
distribution option: 'entry_points'
2014-03-10 08:19:39.568  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_568>
  |
2014-03-10 08:19:39.568  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_568>
  |   warnings.warn(msg)
2014-03-10 08:19:39.568  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_568>
  |
2014-03-10 08:19:39.568  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_568>
  | /usr/lib/pypy/lib-python/2.7/distutils/dist.py:267: UserWarning: Unknown 
distribution option: 'zip_safe'
2014-03-10 08:19:39.568  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_568>
  |
2014-03-10 08:19:39.569  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_569>
  |   warnings.warn(msg)
2014-03-10 08:19:39.569  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_569>
  |
2014-03-10 08:19:39.569  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_569>
  | usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
2014-03-10 08:19:39.569  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_569>
  |
2014-03-10 08:19:39.569  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_569>
  |    or: -c --help [cmd1 cmd2 ...]
2014-03-10 08:19:39.569  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_569>
  |
2014-03-10 08:19:39.569  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_569>
  |    or: -c --help-commands
2014-03-10 08:19:39.569  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_569>
  |
2014-03-10 08:19:39.569  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_569>
  |    or: -c cmd --help
2014-03-10 08:19:39.569  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_569>
  |
2014-03-10 08:19:39.569  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_569>
  |
2014-03-10 08:19:39.570  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_570>
  |
2014-03-10 08:19:39.570  
<http://logs.openstack.org/74/67074/8/check/gate-python-novaclient-pypy/44c12e7/console.html#_2014-03-10_08_19_39_570>
  | error: option --single-version-externally-managed not recognized


Any ideas?

It looks like the pypy gate is uninstalling setuptools, *not* subsequently installing setuptools or distribute, and the mimeparse package's setup.py includes options (entry_points, zip_safe) that require setuptools or distribute (and cause this setup.py to not work with distutils).

mimeparse installs fine in pypy on one of my local computers.

--
David Ripton   Red Hat   drip...@redhat.com

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to