-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix errors after stub typing PR #994
Conversation
The check that this fixes the wheel build is running here: https://github.com/CQCL/tket/actions/runs/6039343076 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! LGTM as long as the wheel build passes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems some tests are failing, maybe missed some?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to fix some other imports?
862e326
to
e263953
Compare
Yep I hope I got them all now |
I made
pytket.tests
a package to more easily satisfymypy
, but that broke the build wheel and test CI for some reason. This makespytket.tests
not a package again. After reading up here, having tests as a package is not good practice anyway (it would be okay if we had the pytket package undersrc/pytket
instead of justpytket
).Also there is a weird error that occurs only on MacOS 11, where the
EdgeType
enum takes nonsensical values within the pythonutils_serialization.py
teststest_diag...
. As a workaround, return edge type strings in the functionCircuit()._dag_data
instead ofEdgeType
enum object.