-
Notifications
You must be signed in to change notification settings - Fork 16
fix: Import backports-datetime-fromisoformat only if needed, to fix PyPy 3.7 support #415
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
Conversation
Can we just check, is this the only change you need for your pypy use case or would there be more to come? If this is it, we'd be happy to merge it and leave the pypy tests as expected failures for now until we can properly review pypy. We'll just add something to document that in the code base. |
This is it! |
Having looked more into pypy and thinking about it, I think we'd prefer not to have in Github Actions actually. Closing for #417 which also releases this |
0.20.1 released |
Curious what your thoughts were on PyPy? David's testing in #377 had about 2x speed improvement. |
This isn't a firm co-op policy, just my quick thoughts to try and make sure this bit of work was progressed without being blocked on us going away and making a firm co-op policy - happy to have a general discussion about Pypy for this and other libraries. |
Thank you for sharing! As I understand, PyPy is expected to always be considerably faster than cpython, as it uses a JIT. It seems to usually be two minor versions behind, but it's been a while since I've needed a bleeding-edge language feature. FWIW, in my experience, PyPy compatibility has not required any changes most of the time.
And, of course, |
Replaces #411
I'm not sure why the pypy tests fail. It's maybe a package in the test environment.
Anyhow, the important bit is that we don't see this error:
I can undo the change to
test.yml
.