Closed bjeurissen closed 3 months ago
Results from changes in #2678 not being tested against Python 3.12.
The pathlib specialisation was particularly nasty as it has its own funky runtime inheritance. I went back and forth with multiple different attempts. One concern I had was that some other library may take one of these paths as input and do a if isinstance(item, pathlib.XXX)
check, which would fail for a composition implementation. Then again, given I'm changing the behaviour of __format__()
, that might be unsafe anyways. I'll have a fresh go at doing via composition instead and see if I have any success.
We now got the same problem on MSYS2 as well, where Python has been upgraded to version 3.12.
Closed by #2957.
I recently installed the latest LTS version of ubuntu (24.04) on a new computer and found that our python commands are broken on Python 3.12.3 when using latest dev. The issue seems to be related to way the pathlib library is used: