-
Notifications
You must be signed in to change notification settings - Fork 796
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
test failure with CPython 3.12b3: err::tests::fetching_panic_exception_resumes_unwind #3305
Comments
Yes, we haven't got 3.12 passing in CI yet, I think realistically this will come in PyO3 0.20 which might be a month off. Is it helpful for you if we try to expedite and backport onto a 0.19.2 release? |
That would be very helpful, yes 👍 Let me know if I can help with something. Note that I also need to support PyO3 v0.15, v0.16, v0.17, and v0.18 on top of Python 3.12 (mostly due to Python packages like |
Oof. I'll take a quick spin at fixing the 3.12 test suite now. (Might take a few days depending on how much is broken.) TBH I think it will be a lot of work to backport proper releases for all those versions, as they will have multiple ways that their CI has bitrotted by now. I don't think I'll have capacity to do that, but if there's any information I can offer to help you with patching I will do my best to share it.
|
Thanks, no hurry. :)
I'll take a look how much work it would be to fix things on older branches - if it's doable, I'd of course not keep those patches for myself but submit PRs for them.
That's good to know! Sadly Right now, Packages in Fedora Linux that depend on different versions of pyo3 are:
|
@decathorpe FWIW if you're interested in discussing things we can be doing to reduce the maintenance burden with pyca/cryptography, @reaperhulk and I are happy to discuss and share the different constraints we operate under (and yes, the fact that many of our users are on distros with hilarious out of date software, and they wish to use this week's cryptography with last millenium's OS is, hilariously one of them). |
Looks like #3306 is part of the story for 3.12b3. There is still an occasional refcounting failure in some tests which is probably due to the immortal objects changes (probably our FFI definitions need updating). |
Can confirm that this was fixed with pyo3 v0.19.2. Thanks again! |
I'm trying to update the pyo3 packages on Fedora Linux to the latest version (v0.19.1), but I'm getting a weird test failure with CPython 3.12b3:
c.f. https://github.com/PyO3/pyo3/blob/v0.19.1/src/err/mod.rs#L855-L868
I'm not sure how or why this is happening, but it looks like PanicException message is no longer extracted successfully here:
https://github.com/PyO3/pyo3/blob/v0.19.1/src/err/mod.rs#L317-L321
The text was updated successfully, but these errors were encountered: