-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3 compatible? #1
Python 3 compatible? #1
Comments
No :) Not compatible. The same issue for me. |
This has been fixed long ago. Can be closed. |
@joaoe This should not be closed without a fix released. According to the release notes, there was no release since 2011. "pip3 install monkeypatch" tries to install 0.1rc3. That's the most recent one, from 2011, but this was fixed in 2017. That fix hasn't found its way to the public yet. I see this error today on the command line, using python 3.7. |
I totally quote. Trying to install it today as of May 2020 and pip3 cannot install it. The fix should be included in the release. |
I overcame the problem by using monkeypatch differently. Monkeypatch is a module within a module: a module within pytest. I don't pip3 install it directly. I use it like so:
I suggest removing it from pip3 entirely, if this is the way to do this in python3. And keep it there for python-2-based pip. |
Getting an error while installing. Guess the code is not Python 3 compatible?
File "../T/pip-build-1rsdc20f/monkeypatch/setup.py", line 99
except ImportError, e:
^
SyntaxError: invalid syntax
The text was updated successfully, but these errors were encountered: