-
Notifications
You must be signed in to change notification settings - Fork 782
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
pyo3-build-config: add test for parsing sysconfigdata #1847
Conversation
648882d
to
a0e76e2
Compare
a0e76e2
to
4a6ea17
Compare
Well, it's not perfect but it does add coverage to a reasonable chunk of code, so I'll proceed to merge this. |
) | ||
})?; | ||
script += r#" | ||
print("version_major", build_time_vars["VERSION"][0]) # 3 | ||
print("version_minor", build_time_vars["VERSION"][2]) # E.g., 8 | ||
print("version", build_time_vars["VERSION"]) |
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.
Looks like this change also fixed Python 3.10 cross compiling issue, can we backport this to pyo3 0.14.x?
See https://github.com/PyO3/maturin/pull/646/checks?check_run_id=3870744693
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.
Hmm I'd rather try to release PyO3 0.15 in the next couple of weeks - it would be nice to make an "official" milestone which supports Python 3.10 and I don't think there's anything blocking the release.
Trying to get some extra test coverage...