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 py_stub_test dependency in out-of-source builds #718

Merged
merged 1 commit into from
Sep 15, 2024

Conversation

mgorny
Copy link
Contributor

@mgorny mgorny commented Sep 15, 2024

Fix the dependency between py_stub stubgen invocation and py_stub_test.py source file when building out of source. Previously, the dependency would be on the original file in the source directory rather than the one copied to build directory, which could lead to stubgen being invoked prior to it being copied and therefore failing to import it.

Fix the dependency between py_stub stubgen invocation
and `py_stub_test.py` source file when building out of source.
Previously, the dependency would be on the original file in the source
directory rather than the one copied to build directory, which could
lead to stubgen being invoked prior to it being copied and therefore
failing to import it.
@wjakob
Copy link
Owner

wjakob commented Sep 15, 2024

Good catch, thanks!

@wjakob wjakob merged commit 92ee5e9 into wjakob:master Sep 15, 2024
25 checks passed
@mgorny mgorny deleted the stub-dep branch September 16, 2024 03:09
@mgorny
Copy link
Contributor Author

mgorny commented Sep 16, 2024

Thanks!

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