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

Update pyo3 to 0.22 #51

Merged
merged 1 commit into from
Jul 1, 2024
Merged

Update pyo3 to 0.22 #51

merged 1 commit into from
Jul 1, 2024

Conversation

a1phyr
Copy link
Contributor

@a1phyr a1phyr commented Jun 25, 2024

This removes the Clone impl from Py<T> which we can work around by keeping the GIL a bit longer in log. I believe that this has little to no implication (or maybe a positive one actually due to the switch to clone_ref).

However, this means that we have to remove Clone impl from Logger.

All of this is still compatible with 0.21 but still a breaking change.

Copy link
Owner

@vorner vorner left a comment

Choose a reason for hiding this comment

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

I'm probably OK with the breaking change. But please also include:

  • A changelog entry
  • Bump of the version to 0.11.
  • Also see the note in the Cargo.toml.

Thanks

Cargo.toml Outdated Show resolved Hide resolved
@vorner vorner mentioned this pull request Jun 29, 2024
@a1phyr
Copy link
Contributor Author

a1phyr commented Jul 1, 2024

What do we do about old Python versions no longer building on newer MacOs ?

This removes the `Clone` impl from `Py<T>` which we can work around by
keeping the GIL a bit longer in `log`. I believe that this has little to
no implication (or maybe a positive one actually due to the switch to
`clone_ref`).

However, this means that we have to remove `Clone` impl from `Logger`.

All of this is still compatible with `0.21` but still a breaking change.
@vorner vorner merged commit b62a250 into vorner:main Jul 1, 2024
39 of 51 checks passed
@vorner
Copy link
Owner

vorner commented Jul 1, 2024

What do we do about old Python versions no longer building on newer MacOs ?

Probably disable them there. I've been ignoring it for a lack of time for a while…

@vorner
Copy link
Owner

vorner commented Jul 1, 2024

Published. Thank you.

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