Closed alecandido closed 7 months ago
Unfortunately, there is an almost circular dependency with qibo
: it is qibojit
that depends on qibo
, that's why I'm trying to upgrade qibo
first.
However, qibo
depends on qibojit
for the tests, that's why I mistakenly started from here (i.e. I tried first with qibo
and it complained about qibojit
, but I didn't investigate enough about why...)
We're trying to support python 3.12 over on mitiq
which has recently added Qibo as a dependency. I took a shot at supporting python 3.12 in Qibo and ran into the circular dependency issue as well. I'm not familiar enough with the project infrastructure to fully understand why, but let me know if there are any smaller things I can look into to help move this along!
Sorry: I just interrupted because of other priorities. I thought no one needed py3.12 yet.
I believe I could make it by today (if not before). It's non-trivial, but still relatively simple.
The related PR in Qibo https://github.com/qiboteam/qibo/pull/1231
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
8eed737
) to head (415d90c
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@BrunoLiegiBastonLiegi @renatomello: apparently, there are issues linting the quantum_info
module (here and not in Qibo...)
https://github.com/qiboteam/qibojit/actions/runs/8241315355/job/22538457740#step:10:1785
(among the others, of course they are not related to those purely coming from the Numba/CuPy backends)
@BrunoLiegiBastonLiegi @renatomello: apparently, there are issues linting the
quantum_info
module (here and not in Qibo...) https://github.com/qiboteam/qibojit/actions/runs/8241315355/job/22538457740#step:10:1785 (among the others, of course they are not related to those purely coming from the Numba/CuPy backends)
weird, may be some problem with the lock?
weird, may be some problem with the lock?
The lock has no problem on its own, but you could inspect the locked Numba version. https://github.com/qiboteam/qibojit/blob/8cfaea4ae63aa3cbf9aa9bd52d446f8dd48e23bc/poetry.lock#L486-L491
Just waiting for https://github.com/qiboteam/qibo/pull/1231 to be merged
@BrunoLiegiBastonLiegi @renatomello now that https://github.com/qiboteam/qibo/pull/1231 has been merged, we should be ready to merge this as well
Just a note on the
numba
andpylint
version, the earliest version we support is changing becausepython-3.12
does not support older versions?
Exactly :)
(Though it is better said the other way round: older versions are not supporting py3.12, because of the dependency arrow)
Thanks! @stavros11 @BrunoLiegiBastonLiegi
@natestemen now both Qibo and Qibojit are supporting py3.12 in main
. Almost for sure, we'll get another release in less than one month.
Unfortunately work-in-progress