-
-
Notifications
You must be signed in to change notification settings - Fork 3
Release builds fail with PyO3 auto-initialize
due to static Python linking
#120
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
Comments
Okay, threw this to the 🤖 robot (Gemini 2.5 Pro specifically).. May help? May have hallucinated? Who knows, but this could at least be a starting point for investigating what's going on. (Maybe I'll learn a thing or two about dynamic vs static Python linking and embedding.. maybe not. 🤣) This error message is definitely pointing towards a mismatch between how PyO3 expects to link Python (dynamically, especially with Here's a breakdown of the situation and some potential paths forward:
Recommendation: Let's focus on Idea 1. We should investigate the specific failing targets in the |
Yeah, so clearly PyO3 specifically calls out new users using it when testing (ok, RUDE 😄):
django-rusty-templates has a clue in its test suite, by using I'm going to give that a try. |
OH YEAH 🎉 That seemed to do the trick. Had to do some switching around in the new build script in the new |
Ah damn, I thought I had figured it out. The recent changes in #118 and #119 work in the test environment, but not in the release environment.
Relevant error logs:
The text was updated successfully, but these errors were encountered: