distutils was removed in Python 3.12, causing v2x's tests to fail when attempting to use it.
I replaced it with an equivalent function from shutil. As far as I can tell, the old update=1 was just an optimisation, so I think it's fine that there's no equivalent?
distutils
was removed in Python 3.12, causingv2x
's tests to fail when attempting to use it.I replaced it with an equivalent function from
shutil
. As far as I can tell, the oldupdate=1
was just an optimisation, so I think it's fine that there's no equivalent?