cliff can't run on Python 3.5 due to dependency cmd2 is not Python3.5 compatible

Bug #1602513 reported by ChangBo Guo(gcb)
16
This bug affects 4 people
Affects Status Importance Assigned to Milestone
cliff
Invalid
Undecided
Unassigned

Bug Description

2016-07-12 07:18:37.325442 | Traceback (most recent call last):
2016-07-12 07:18:37.325488 | File "/home/jenkins/workspace/gate-cliff-python35-nv/.tox/py35/lib/python3.5/site-packages/nose/case.py", line 198, in runTest
2016-07-12 07:18:37.325506 | self.test(*self.arg)
2016-07-12 07:18:37.325549 | File "/home/jenkins/workspace/gate-cliff-python35-nv/cliff/tests/test_app.py", line 58, in test_interactive_mode_cmdloop
2016-07-12 07:18:37.325564 | app.run([])
2016-07-12 07:18:37.325603 | File "/home/jenkins/workspace/gate-cliff-python35-nv/cliff/app.py", line 224, in run
2016-07-12 07:18:37.325632 | result = self.interact()
2016-07-12 07:18:37.325669 | File "/home/jenkins/workspace/gate-cliff-python35-nv/cliff/app.py", line 263, in interact
2016-07-12 07:18:37.325692 | from .interactive import InteractiveApp
2016-07-12 07:18:37.325729 | File "/home/jenkins/workspace/gate-cliff-python35-nv/cliff/interactive.py", line 8, in <module>
2016-07-12 07:18:37.325745 | import cmd2
2016-07-12 07:18:37.325789 | File "/home/jenkins/workspace/gate-cliff-python35-nv/.tox/py35/lib/python3.5/site-packages/cmd2.py", line 187, in <module>
2016-07-12 07:18:37.325808 | if subprocess.mswindows:
2016-07-12 07:18:37.325837 | AttributeError: module 'subprocess' has no attribute 'mswindows'

Revision history for this message
ChangBo Guo(gcb) (glongwave) wrote :

cmd2 fixed this issue in : https://github.com/python-cmd2/cmd2/commit/6ee37b45de8d2a8a1fe9f4db7f7a4b77f216b9ed

but didn't release a new version to include this fix for a long time.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote :

I've been thinking for a while that we should move off of cmd2. I don't even remember what features it had that cmd doesn't have and that we care about, so figuring that out is probably good first step.

Revision history for this message
Tang Chen (tangchen) wrote :

Looking at it.

Changed in python-cliff:
assignee: nobody → Tang Chen (tangchen)
Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

cmd2=0.6.9 has been released some time ago, which seems to contain the above mentioned patch, is this bug still valid?

Revision history for this message
Steve Martinelli (stevemar) wrote :

@Jens, seems invalid now. Thanks for investigating gcb and jens

Changed in python-cliff:
status: New → Invalid
assignee: Tang Chen (tangchen) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.