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

pyo3-build-config: add test for parsing sysconfigdata #1847

Merged
merged 1 commit into from
Sep 1, 2021

Conversation

davidhewitt
Copy link
Member

Trying to get some extra test coverage...

@davidhewitt davidhewitt force-pushed the test-parse-sysconfigdata branch 5 times, most recently from 648882d to a0e76e2 Compare August 31, 2021 21:28
@davidhewitt davidhewitt force-pushed the test-parse-sysconfigdata branch from a0e76e2 to 4a6ea17 Compare August 31, 2021 21:29
@davidhewitt
Copy link
Member Author

Well, it's not perfect but it does add coverage to a reasonable chunk of code, so I'll proceed to merge this.

@davidhewitt davidhewitt merged commit 7d40461 into PyO3:main Sep 1, 2021
@davidhewitt davidhewitt deleted the test-parse-sysconfigdata branch September 1, 2021 07:50
)
})?;
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"])
Copy link
Member

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

Copy link
Member Author

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.

chrisburr added a commit to regro-cf-autotick-bot/cryptography-feedstock that referenced this pull request Nov 4, 2021
chrisburr added a commit to regro-cf-autotick-bot/cryptography-feedstock that referenced this pull request Nov 4, 2021
h-vetinari added a commit to h-vetinari/tokenizers-feedstock that referenced this pull request Mar 21, 2022
h-vetinari added a commit to h-vetinari/tokenizers-feedstock that referenced this pull request Mar 21, 2022
h-vetinari added a commit to h-vetinari/tokenizers-feedstock that referenced this pull request Mar 21, 2022
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