yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #11161
[Bug 1288797] [NEW] setuptools has removed "Feautre" which we still in use
Public bug reported:
* 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
** Affects: keystone
Importance: Undecided
Status: New
--
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 "Feautre" which we still in use
Status in OpenStack Identity (Keystone):
New
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
Follow ups
References