-
Notifications
You must be signed in to change notification settings - Fork 96
Python 3.7 compatibility #2
Comments
Thanks @cryzed for reporting this. Importing |
Hi there, I would like to test this for Python 3.7 compatibility. Can someone please point me in the right direction? |
@asamolion I think you can start with changing the required Python version in |
Alright. |
@asamolion, sorry for not making it clear enough. Please see my last comment in #6 for more details. |
OK, just for the record: it's tricky. The 3.7 version changes some important bits of typing mechanism which break our introspection. |
I've made some progress on this, but it'll be a pretty big PR, TBH. |
@DMArens will pick this up :) |
Reading the comment, the reference implementation for type inference has been updated to support Python3.7: ilevkivskyi/typing_inspect@7aa7bb5#diff-faac2f2c6bc2bfba052313740ae107e8 The new behaviour is Python version dependent. I think the next action is to integrate the method above into Python-nubia. |
I have added the port in my 3.7 PR #19; which certainly moved things forward a bit by breaking the failure to import _Union. We then fail on some of the unit tests; which probably means more of the fixes need to be imported. |
Any update on python3.7 compat? |
No update at present as we are working on other priorities; We would welcome assistance offered in resolving the Python3.7 integration issues. |
Hi everyone, It will take a few days to land it as I'm waiting for #28 and also need to test our internal builds. |
It would be great if this was fully compatible with Python 3.7, but it unfortunately isn't. The problem seems mostly linked with accessing private members of the
typing
module:After importing Union instead (which I'm sure doesn't really fix the problem), it seemingly works fine, however there might be hiding more incompatibilities. For example, I suspect this is one:
The text was updated successfully, but these errors were encountered: