-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Update superpmi.py script for new 'runtime' repo layout #541
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
Update superpmi.py script for new 'runtime' repo layout #541
Conversation
Updated a few comments as well.
| """ Main method | ||
| """ | ||
|
|
||
| # await/async requires python >= 3.5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mind changing the comment to >= 3.8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you want to force 3.8+? I made the comment say 3.8, but I'm not sure it actually requires anything more than 3.5 (you said it needs that for async)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It technically requires 3.7 as 3.6 on windows has an async bug.
| """ | ||
|
|
||
| # await/async requires python >= 3.5 | ||
| if sys.version_info.major < 3 and sys.version_info.minor < 5: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also could you change the check to sys.version_info.minor < 8
jashook
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than that lgtm thank you!
|
I went ahead and merged. If you want to force 3.8+ instead of 3.5+ as it is now, I'll do that in a separate change. |
|
We should force 3.7 |
Updated a few comments as well.