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

make abi3 feature apply to config imported from PYO3_BUILD_CONFIG #4497

Merged
merged 2 commits into from
Aug 29, 2024

Conversation

davidhewitt
Copy link
Member

This adjusts the PYO3_CONFIG_FILE system so that if the abi3 feature is set but the config file didn't set it, the abi3 feature wins.

While a breaking change, people using PYO3_CONFIG_FILE directly are relatively rare. I also think that it's better for the abi3 feature to apply consistently rather than silently ignoring it.

There's a case to be made that the InterpreterConfig doesn't need to have the abi3 field as that's a property of the binding mode and not the interpreter, but that's a possible refactor for another time.

@davidhewitt
Copy link
Member Author

Given this unblocks #4451, I will fix the lint failures and merge this.

@davidhewitt davidhewitt added this pull request to the merge queue Aug 29, 2024
Merged via the queue into PyO3:main with commit 5d47fc6 Aug 29, 2024
42 of 43 checks passed
@davidhewitt davidhewitt deleted the abi-feature-vs-config branch August 29, 2024 06:01
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.

1 participant