Created attachment 1174837 [details] Patch for invoke/monkey.py Description of problem: An ImportError exception is thrown when importing the module under python3.5. Version-Release number of selected component (if applicable): 0.9.0-7.fc24 How reproducible: always Steps to Reproduce: 1. dnf install python3-invoke 2. python3 -c "import invoke" Actual results: Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python3.5/site-packages/invoke/__init__.py", line 2, in <module> from .tasks import task, ctask, Task File "/usr/lib/python3.5/site-packages/invoke/tasks.py", line 11, in <module> from .context import Context File "/usr/lib/python3.5/site-packages/invoke/context.py", line 3, in <module> from .runner import run File "/usr/lib/python3.5/site-packages/invoke/runner.py", line 5, in <module> from .monkey import Popen, PIPE File "/usr/lib/python3.5/site-packages/invoke/monkey.py", line 4, in <module> from subprocess import Popen as OriginalPopen, mswindows, PIPE ImportError: cannot import name 'mswindows' Expected results: module successfully loaded. Additional info: Starting from python3.5, the submodule subprocess.mswindows was renamed subprocess._mswindows. A patch is provided as attachment.
I'm going to rebase to 0.13.0 (already in rawhide).
python-invoke-0.13.0-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-5bf9314019
python-invoke-0.13.0-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-5bf9314019
python-invoke-0.13.0-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.