quantumlib / qsim

Schrödinger and Schrödinger-Feynman simulators for quantum circuits.
Apache License 2.0
454 stars 151 forks source link

Drop dependency on distutils #651

Closed NoureldinYosri closed 10 months ago

NoureldinYosri commented 10 months ago

The error https://github.com/quantumlib/qsim/issues/632 originally fixed in https://github.com/quantumlib/qsim/pull/633 has made a comeback https://fusion2.corp.google.com/invocations/f88845c0-24f7-4c02-b99d-74424ce80a75/targets/qsim%2Fmacos%2Fpresubmit/log.

Fix: Replace distutils with packaging as per https://peps.python.org/pep-0632/#migration-advice

pavoljuhas commented 10 months ago

Based on http://sponge2/200604ce-5698-4ab1-88be-403a0f5eff1c it seems we need to either upgrade the tensorflow dependency or somehow tell bazel to build with Python <= 3.11.

NoureldinYosri commented 10 months ago

@pavoljuhas all checks pass, ptal