Closed alkovpro closed 6 years ago
apistar will not run at all for Python 3.7 without this fix. Someone should merge it ASAP.
I just tested this, while it improve things a test still fails under 3.7. So it isn't a complete fix AFAICT.
This PR should also add 3.7-dev
to the .travis.yml
matrix . Once that's added let's take a look at the failing test noted by @d0ugal, and get that resolved too, then we can get this merged and released.
Ah, dammit, let's just get this in first.
A PR adding 3.7-dev
to the travis matrix and resolving any remaining issues would still be much appreciated.
Thanks) I just ran tests and there's one that failed (test_get_schema) with missing responses section in generated shema (diff screenshot attached)
I'll try to fix this before this weekend. Then I'll add 3.7-dev
to the travis matrix and make another PR.
PR #612 created - problem solved
Is anyone able to provide a link to why 3.7 requires this __subclasscheck__
behavior?
I think this link refers to the case: https://www.python.org/dev/peps/pep-0560/#backwards-compatibility-and-impact-on-users-who-don-t-use-typing
Okay, I don't see any reference to __subclasscheck__
there. Without thinking about it too much it feels like a breaking change that made it into 3.7, but hey-ho.
Hi!
I recently ran to an error trying to start my new project using python 3.7 and apistar! It appeared that this happened due to a new behavior of ABCMeta.subclasscheck and I ask you to merge this small PR, fixing issue #595
Regards, Alexander