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

[internal] Fix setup.py path in test. #12881

Merged
merged 1 commit into from
Sep 14, 2021
Merged

Conversation

benjyw
Copy link
Contributor

@benjyw benjyw commented Sep 14, 2021

The path is supposed to be relative to the BUILD file, but was
specified relative to the buildroot.

This test passed because src/python/foo/src/python/foo/setup.py
becomes foo/setup.py after stripping source roots (because
src/python/foo/src/python/ is recognized as a source root).
But that was still a bad example for any readers.

[ci skip-rust]

[ci skip-build-wheels]

The path is supposed to be relative to the BUILD file, but was
specified relative to the buildroot.

This test passed because src/python/foo/src/python/foo/setup.py
becomes foo/setup.py after stripping source roots (because
src/python/foo/src/python/ is recognized as a source root).
But that was still a bad example for any readers.

[ci skip-rust]

[ci skip-build-wheels]
@benjyw benjyw changed the title Fix setup.py path in test. [internal] Fix setup.py path in test. Sep 14, 2021
@benjyw benjyw merged commit fd71177 into pantsbuild:main Sep 14, 2021
@benjyw benjyw deleted the fix_setup_py_test branch September 14, 2021 15:31
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.

2 participants