Skip to content

ci: change default Python version to 3.13 #5048

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

Merged
merged 2 commits into from
Apr 5, 2025

Conversation

davidhewitt
Copy link
Member

We probably could have done this much earlier after 3.13.0 stable was released. Time to upgrade now :)

@davidhewitt davidhewitt added CI-skip-changelog Skip checking changelog entry CI-build-full labels Apr 4, 2025
@davidhewitt
Copy link
Member Author

Looks like this has hit a genuine problem with 32-bit windows 3.13 bindings, will investigate later...

Comment on lines +187 to +190
#[cfg(all(Py_3_12, not(Py_3_13)))]
pub _co_instrumentation_version: u64,
#[cfg(Py_3_13)]
pub _co_instrumentation_version: libc::uintptr_t,
Copy link
Member Author

Choose a reason for hiding this comment

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

The definition changed in 3.13 but we missed it because the checks on x64 systems didn't notice it had changed (the physical size was the same for them).

@davidhewitt
Copy link
Member Author

I will merge this & add it to the 0.24.2 patch branch.

@davidhewitt davidhewitt added this pull request to the merge queue Apr 5, 2025
Merged via the queue into PyO3:main with commit 689bb23 Apr 5, 2025
93 checks passed
@davidhewitt davidhewitt deleted the default-ci-3.13 branch April 5, 2025 20:03
davidhewitt added a commit that referenced this pull request Apr 7, 2025
* ci: change default Python version to 3.13

* fix FFI definition for `PyCodeObject`
davidhewitt added a commit that referenced this pull request Apr 21, 2025
* ci: change default Python version to 3.13

* fix FFI definition for `PyCodeObject`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-build-full CI-skip-changelog Skip checking changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant