-
Notifications
You must be signed in to change notification settings - Fork 173
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
3.8 Support #122
Comments
This is on my list of TODOs underneath some deprecation tasks and continued work on Support for 3.8 comes in two flavors, however: First is the ability to execute LibCST on 3.8 code. This should be available, but you're running into a snag with LibCST's automatic detection of versions. If a python version isn't supplied to the parser, it assumes the version that you're running and since we can't parse 3.8 yet, it fails. Fixing that is possible if you want to hardcode the parser version (which we do in some parser tests). The second flavor is arguably the only useful version, which is the ability to parse 3.8 code, regardless of the currently running python. That's what I assume this feature request is for, and what I can't give an official timeline on yet. Can you provide your own timeline and such so I can tell how urgently this needs to get addressed? |
That's fine. Long as it's planned :) I have disabled it in ptr for >= 3.8 for now. My PR is linked above to do this. I'll keep an eye and when this is closed I'll undo the disable :) |
Not sure why mentioning this in a comment auto-closed on merge, but this is not finished. |
😆 Certain keywords, like "closes" and "fixes" can be used to auto-close issues, however github isn't context sensitive. https://help.github.com/en/github/managing-your-work-on-github/closing-issues-using-keywords |
Is this issue being looked at/considered for development? We've had to stop using pyre entirely because it's blocked on this issue. |
Hey @dseevr, that sucks. Unfortunately, Thanksgiving is approaching, and a lot of people are on vacation, so we might not be able to get back to you until next week. |
@dseevr, yes, we've started the work of Python 3.8 supports and some preliminary support was published in LibCST 0.2.3 |
We don't have plans for complete 3.8 support for the rest of the year. However, the preliminary support pushed on the 11th of last month should be enough to unblock Pyre (and it has unblocked sister teams). Pyre needs to upgrade their dependency to 0.2.4. |
Oops, forgot to close this. This is live now. |
I have a test runner that uses Pyre as an option for type-checking, ptr. I put up a diff to move CI to start using official 3.8 for test running on travis and this results in the expected ValueError:
What is there an expected timeframe for 3.8 support? I will have the tool not run
pyre
for now in >=3.8. What's the thoughts on possibly adding a section to the README explaining the 3.8 support plans with 3.8 being an official version now?The text was updated successfully, but these errors were encountered: