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
Fix complex __import__
statements failing to parse with Python 2.7 - 3.7
#14232
Fix complex __import__
statements failing to parse with Python 2.7 - 3.7
#14232
Conversation
…- 3.7 # Rust tests and lints will be skipped. Delete if not intended. [ci skip-rust] # Building wheels and fs_util will be skipped. Delete if not intended. [ci skip-build-wheels]
…- 3.7 (Cherry-pick of pantsbuild#14232) # Building wheels and fs_util will be skipped. Delete if not intended. [ci skip-build-wheels]
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.
Not blocking, but shouldn't this be duplicated with the Python3 cases as well?
Also seems like most of th tests should be run with Py3 and Py2, and then only specific cases be run with one-or-the-other.
Duplicate the tests, you mean? Yeah, I suppose |
Looks like we only have special tests for Py27, 38, and 39. So nothing to add to. |
Sorry meant duplicated in |
@TansyArron found that this line causes Pants to crash:
This is because of buggy conditional logic. Oops!
[ci skip-rust]
[ci skip-build-wheels]