Conversation
|
Wasn’t there also a change in gil vs no-gil? I’ll be honest, I’ve read that migration guide like 12 times and there is just something about it that doesn’t compute in my brain. My latest understanding is that IFF you’re using a free-threaded Python, you’re automatically supported - rather than needing to add a feature flag. But, if you’re using non-free-threaded, then it’s status quo. |
Yes, no need for a feature flag. And the particular change in 0.28.x for users of the We already ported the Pants PyO3 interface code for the most part to use explicit We may still rely on the GIL elsewhere though. It'd be interesting to see what happens if we tried using the free-threaded build. |
Upgrade to PyO3 v0.28.3. The main change affecting Pants source is the need to now explicitly opt-in to the generation of
FromPyObjecton pyclass-types which areClone.