aliles / funcsigs

Python function signatures package for Python 2.6, 2.7 and 3.2+
http://pypi.python.org/pypi/funcsigs
Other
48 stars 33 forks source link

funcsigs 1.0 requires ordereddict, which is a python < 2.7 package #24

Closed johanbrandhorst closed 8 years ago

johanbrandhorst commented 8 years ago

This is particularly a problem because the conda package manager won't allow you to use funcsigs 1.0 with python 2.7 because ordereddict cannot be installed for version 2.7. Setuptools fails with an error similar to this:

File "/home/user/miniconda3/pkgs/setuptools-20.2.2-py27_0/lib/python2.7/site-packages/setuptools-20.2.2-py2.7.egg/pkg_resources/init.py", line 2912, in File "/home/user/miniconda3/pkgs/setuptools-20.2.2-py27_0/lib/python2.7/site-packages/setuptools-20.2.2-py2.7.egg/pkg_resources/init.py", line 2898, in _call_aside File "/home/user/miniconda3/pkgs/setuptools-20.2.2-py27_0/lib/python2.7/site-packages/setuptools-20.2.2-py2.7.egg/pkg_resources/init.py", line 2925, in _initialize_master_working_set File "/home/user/miniconda3/pkgs/setuptools-20.2.2-py27_0/lib/python2.7/site-packages/setuptools-20.2.2-py2.7.egg/pkg_resources/init.py", line 642, in _build_master File "/home/user/miniconda3/pkgs/setuptools-20.2.2-py27_0/lib/python2.7/site-packages/setuptools-20.2.2-py2.7.egg/pkg_resources/init.py", line 943, in require File "/home/user/miniconda3/pkgs/setuptools-20.2.2-py27_0/lib/python2.7/site-packages/setuptools-20.2.2-py2.7.egg/pkg_resources/init.py", line 830, in resolve pkg_resources.DistributionNotFound: The 'ordereddict' distribution was not found and is required by funcsigs

Attempting to explicitly install ordereddict with the conda package manager fails like so:

-bash-4.2$ conda install ordereddict Fetching package metadata: .... Solving package specifications: ....... Error: Unsatisfiable package specifications. Generating hint: [ COMPLETE ]|################################################| 100%

Hint: the following packages conflict with each other:

Use 'conda info ordereddict' etc. to see the dependencies for each package.

Presumably it should be possible to only require ordereddict for python versions < 2.6?

piotr-dobrogost commented 8 years ago

Why was this closed?

johanbrandhorst commented 8 years ago

See issue #27