testing-cabal / mock

The Python mock library

Home Page:https://docs.python.org/dev/library/unittest.mock.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Syntax Error in 4.0.0

chrisconlon-klaviyo opened this issue · comments

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.

What version of Python are you using?

This was on a 2.7 build. I drafted a PR here: #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.