Cliff 2.11.0 BREAKED by cmd2 0.8.3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cliff |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi,
Reproduce: Have a cliff project (here: acliffproject) to launch the console
(virtualenv) pip install acliffproject => install cliff 2.11.0
(virtualenv) acliffproject
ERROR:
Traceback (most recent call last):
File "/home/
sys.
File "/home/
return beapi.run(argv)
File "/home/
result = self.interact()
File "/home/
from .interactive import InteractiveApp
File "/home/
import cmd2
File "/home/
from wcwidth import wcswidth
ModuleNotFoundE
Conclusion:
cmd2 0.8.2 works, not 0.8.3 didn't get time to inspect deeper cmd2 side but pinning your cmd2 version in requirements.txt should be safer
In the meantime we will have to force our package requirements to override yours with pinned cmd2 ...
Hope you can reproduce it =)
Thanks !
The problem here appears to be the way cmd2 is handling dependencies, rather than anything to do with cliff itself. This section of the setup.py from cmd2 should be converted to use setuptools environment markers instead: https:/ /github. com/python- cmd2/cmd2/ blob/master/ setup.py# L80