yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #11705
[Bug 1288797] Re: setuptools has removed "Feature" which we still in use
I tested the latest pymongo against setuptools versions 0.9.8, 1.4.2,
2.2, 3.0.2, 3.1, 3.2, and 3.3.
This only appears to be an issue in the 3.0.x branch, and appears to be
resolved in setuptools 3.1+
** Changed in: keystone
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1288797
Title:
setuptools has removed "Feature" which we still in use
Status in OpenStack Identity (Keystone):
Invalid
Bug description:
* Description:
The latest version of setuptools has removed the class "Feature" ( see
https://bitbucket.org/pypa/setuptools/issue/65/deprecate-and-remove-
features, https://jira.mongodb.org/browse/PYTHON-639 ), but pymongo
sitll use it.
so when we execut the tools/install_venv.py it will report
"ImportError: cannot import name Feature"
============================================================================
* Traceback:
Building a Distribute egg in .../keystone/.venv/build/pymongo
.../keystone/.venv/build/pymongo/distribute-0.6.30-py2.6.egg
Traceback (most recent call last):
File "<string>", line 17, in <module>
File ".../keystone/.venv/build/pymongo/setup.py", line 26, in
<module>
from setuptools import setup, Feature
ImportError: cannot import name Feature
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in .../Upstream/keystone/.venv/build/pymongo
Storing debug log for failure in /home/Glraey.Laptop/.pip/pip.log
Command "tools/with_venv.sh pip install --upgrade -r .../keystone/requirements.txt -r .../keystone/test-requirements.txt" failed.
============================================================================
* Solution(temporarily):
install setuptools with older version (older than 3.0):
replace "self.pip_install('setuptools')" with
"self.pip_install('setuptools<3.0')" in install_venv_common.py
* Solution(fundamentally):
fix pymongo
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1288797/+subscriptions
References