Closed cclauss closed 3 weeks ago
A little bit of work is need to support 3.12 and newer - I made partial progress. I think the only thing still needing work is making the built-in test profiling work correctly - for some reason the generated profile files seem to be empty.
profile_tempfile = tempfile.NamedTemporaryFile(delete=False)
The new optional parameter in Python 3.12 is called
delete_on_close
which is different thandelete
.
Yes, but: If delete is false, the value of delete_on_close is ignored
from NamedTemporaryFile
I'm looking into the profiling breakage under Python3.12+. The error message might be misleading.
The distutils related issue is already fixed in #1183 . The problem right now is that the profiling unit test fails. I have found the cause for the breakage. It looks like the profiling implementation in OpenHTF isn't quite right, so I'm looking into that now.
Thanks for the PR!
Test on current versions of Python.
This change is