Skip to content

Bump PyO3 to >=0.27#29

Merged
clitic merged 1 commit intoclitic:mainfrom
HollayHorvath:main
Jan 6, 2026
Merged

Bump PyO3 to >=0.27#29
clitic merged 1 commit intoclitic:mainfrom
HollayHorvath:main

Conversation

@HollayHorvath
Copy link
Copy Markdown
Contributor

In this PR I've updated the packages on all crates, fixed clippy lints and formatted everything.

This includes updating PyO3 to >=0.27. PyO3 replaces Python::with_gil by Python::attach and Python::downcast to Python::cast. It would be possible to keep the compatibility with lower versions of PyO3 by using conditional compilation but that would introduce a lot of (possibly unnecessary) complexity.

@clitic clitic merged commit 86a2d5a into clitic:main Jan 6, 2026
1 check passed
@clitic
Copy link
Copy Markdown
Owner

clitic commented Jan 6, 2026

Thanks for the PR. Uploaded to crates.io

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