Skip to content
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

CI is failing with circular import error #8749

Closed
nonhermitian opened this issue Sep 14, 2022 · 2 comments
Closed

CI is failing with circular import error #8749

nonhermitian opened this issue Sep 14, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@nonhermitian
Copy link
Contributor

Environment

  • Qiskit Terra version: master
  • Python version:
  • Operating system:

What is happening?

In CI:

ImportError: cannot import name 'QuantumCircuit' from partially initialized module 'qiskit' (most likely due to a circular import) (/home/runner/work/qiskit-terra/qiskit-terra/qiskit/init.py)

How can we reproduce the issue?

Run CI

What should happen?

CI should work

Any suggestions?

No response

@nonhermitian nonhermitian added the bug Something isn't working label Sep 14, 2022
@jakelishman
Copy link
Member

I don't see any CI failures out of the expected? The only CI failures in the last 6 hours have been in lint, except on your PR.

@nonhermitian
Copy link
Contributor Author

Ehh this is my code. For some reason #8748 leads to a circular, just didn't see it. Sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants