Closed chrisconlon-klaviyo closed 4 years ago
What version of Python are you using?
This was on a 2.7 build. I drafted a PR here: https://github.com/testing-cabal/mock/pull/479
Not sure of this projects contribution guidelines.
Mock is no longer compatible with Python 2.
Please see the documentation and the release metadata.
I'd suggest upgrading your installation tools so that they respect the metadata in pypi, and get off Python 2 as soon as possible.
There is a syntax error here in v4.0.0 that a build of mine accidentally pulled in after the release got published.
I'll see if I can open a PR with a fix, but I'm starting here just to flag it.