Open FFY00 opened 3 weeks ago
Any further thoughts on how to deal with this? I have running of no GIL tests set up under GitHub actions now so can try and sort it out.
I managed to get both these tests to pass by clearing the function in the class, rather than just the class.
Class.function = None
Class = None
gc.collect()
Once it's sorted out, wheels for 3.13 would be nice. :)
Use wrapt==1.17.0.dev4 from PyPi for now to test. I need feedback that is all good before doing a final release.
When I run the test suite on 3.13, I see the following failures.
Full log: https://gist.github.com/FFY00/280242204b24e7ff43905cfe9e901e06 (it was too big to include here)
This seems to be due to some changed on 3.13 causing
Class.function
to not be destructed ongc.collect()
— I don't see the failures when only running the test suite partially. We should probably explore a better way to causeClass.function
to be destructed in the test suite, as relying on the GC can be a bit unpredictable.I don't see the same failures on 3.14 or older versions, so it seems isolated to 3.13.