create a Python 2.6 virtual environment (virtualenv --python=python2.6 venv)
activate the environment (source venv/bin/activate)
follow the funcsigs's installation instructions (I did not find any, thus pip install funcsigs)
import funcsigs (python -c "import funcsigs")
Actual behavior:
An ImportError with the following traceback:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/vagrant/venv/lib/python2.6/site-packages/funcsigs/__init__.py", line 16, in <module>
from ordereddict import OrderedDict
ImportError: No module named ordereddict
Expected behavior:
funcsigs can be imported
Affected versions:
funcsigs 1.0.2
pip 1.1
Python 2.6
Additional information
If I upgrade pip (to 8.1.2), everything seems to work. Thus I guess that funcsigs has to express the dependency on a newer pip. I am not sure whether it might be achieved by setup_requires like you did before. If not, at least a note in installation instructions (which has to be propagated to mock and others) would be nice.
Please note that upgrading setuptools (to 28.6.0) (even before issuing the installation of funcsigs) was not enough in my case.
Reproducer:
virtualenv --python=python2.6 venv
)source venv/bin/activate
)pip install funcsigs
)python -c "import funcsigs"
)Actual behavior:
An
ImportError
with the following traceback:Expected behavior:
funcsigs can be imported
Affected versions:
Additional information
If I upgrade pip (to 8.1.2), everything seems to work. Thus I guess that funcsigs has to express the dependency on a newer pip. I am not sure whether it might be achieved by
setup_requires
like you did before. If not, at least a note in installation instructions (which has to be propagated to mock and others) would be nice. Please note that upgrading setuptools (to 28.6.0) (even before issuing the installation of funcsigs) was not enough in my case.