Z3Prover / z3

The Z3 Theorem Prover
Other
10.22k stars 1.47k forks source link

Remaining deprecated `distutils` in Python scripts. #7228

Closed arbipher closed 2 days ago

arbipher commented 4 months ago

https://github.com/Z3Prover/z3/blob/8fe357f1f213b88a679f72e3d575cae2d3e47b3a/src/api/python/setup.py#L10-L14

Searching in the code base shows a tiny remaining code using distutils that is already deprecated in Python 3.12.

p.s. I have no idea how the code will be loaded, so I cannot trigger the error.

NikolajBjorner commented 2 days ago

fixed with latest release