Skip to content
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 relative imports in dependency inference (Cherry-pick of #11181) #11189

Merged
merged 1 commit into from Nov 16, 2020

Conversation

Eric-Arellano
Copy link
Contributor

[ci skip-rust]

…11181)

The existing code assumed they were relative to the module
(i.e., that relative imports in foo.py and __init__.py should
behave differently), but that is not the case.

See, e.g., https://docs.python.org/3/reference/import.html.
@Eric-Arellano Eric-Arellano changed the title Fix some relative imports in dependency inference (Cherry-pick of #11181) Fix relative imports in dependency inference (Cherry-pick of #11181) Nov 16, 2020
@coveralls
Copy link

Coverage Status

Coverage remained the same at 0.0% when pulling a6d46ee on Eric-Arellano:cp-dep-inf-21 into 05512da on pantsbuild:2.1.x.

@Eric-Arellano Eric-Arellano merged commit 2ed4933 into pantsbuild:2.1.x Nov 16, 2020
@Eric-Arellano Eric-Arellano deleted the cp-dep-inf-21 branch November 16, 2020 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants