❦  3 août 2015 23:13 +0200, Wolodja Wentland <w...@babilen5.org> :

>> > When running cookiecutter the aforementioned error is encountered. The 
>> > entire
>> > traceback is:
>> >
>> >   $ cookiecutter --help
> […]
>> >   pkg_resources.RequirementParseError: Expected version spec in 
>> > funcsigs;python_version<"3.3" at ;python_version<"3.3"
>>
>> This seems to be a regression in python-mock. This spec string comes
>> From its requirements.txt. It seems that pkg-resources from Python 2.7
>> is unable to parse such a string. A workaround may be to invoke with
>> Python 3:
>>
>>     python3 $(which cookiecutter) --help
>>
>> Reassigning.
>
> It could also be a bug in python-funcsigs that python-mock depends on ever
> since a Depends was added to it in #794013 - I'll take a more detailed look
> tomorrow, but the error message seems to lend further credit to this
> hypethesis.

No, the bug is in python-mock. Edit
/usr/lib/python2.7/dist-packages/mock-1.3.0.egg-info/dependency_links.txt
and just put "funcsigs" as the first line and it will work. Maybe this
could be done in python-mock debian/rules. I don't know enough the egg
format to know the best way.
-- 
The better part of valor is discretion.
                -- William Shakespeare, "Henry IV"

Attachment: signature.asc
Description: PGP signature

Reply via email to