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

remove gil-refs feature from full feature #3930

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

davidhewitt
Copy link
Member

This PR removes the gil-refs feature from the full feature. This makes it possible to test the full feature with and without the gil-refs enabled, which I think is a meaningful thing to do while we're in the migration phase, even if it makes our CI longer for the mid term.

Because the gil-refs feature is large and expected to get complicated I've also enabled this as an additional dimension to the check-feature-powerset job.

I'm hoping that between enabling tests with full (but not with abi3, for sake of not going too heavy on CI) and using the powerset check to exercise all compile combinations, we should be in a good place for things to work well with and without the feature.

@davidhewitt davidhewitt added the CI-skip-changelog Skip checking changelog entry label Mar 4, 2024
@@ -980,13 +980,13 @@ mod tests {
let td = new_py_datetime_ob(py, "timedelta", (0, 3600, 0));
let py_timedelta = new_py_datetime_ob(py, "timezone", (td,));
// Should be equal
assert!(offset.as_ref(py).eq(py_timedelta).unwrap());
assert!(offset.bind(py).eq(py_timedelta).unwrap());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bit interesting to me that we didn't catch these before now.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's a result of us not testing the full feature without GIL Refs previously. As soon as I split the features, vscode started shouting at me 😅

@davidhewitt davidhewitt added this pull request to the merge queue Mar 4, 2024
Merged via the queue into PyO3:main with commit b08ee4b Mar 4, 2024
43 checks passed
@davidhewitt davidhewitt deleted the full-no-gil-refs branch March 4, 2024 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-skip-changelog Skip checking changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants