chipsalliance / f4pga-v2x

Tool for converting specialized annotated Verilog models into XML needed for Verilog to Routing flow.
https://f4pga-v2x.readthedocs.io/en/latest/
Apache License 2.0
10 stars 12 forks source link

Remove usage of `distutils` #119

Open Liamolucko opened 2 months ago

Liamolucko commented 2 months ago

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?