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

Remove duplicate build of aer from tutorials job #1378

Merged
merged 1 commit into from
Oct 26, 2021

Conversation

mtreinish
Copy link
Member

Summary

With the recent release of pip 21.3 the method of how in-repo builds was
changed to be done in place. This change caused a conflict with how the
tutorial jobs were setup where they were building aer twice
inadvertently, once to build the package and a second time to build the
binaries in place in the source for when the notebooks are executed.
This second step wasn't necessary originally and was masking the real
issue (the conflict with qiskit/ in the working dir and the python env).
However, now that we're building binaries in place this is coming to a
head. This commit attempts to fix the issue by removing the second build
since it's not necessary, if we still have issues after this change we
can just run the tutorial from a different working directory and it
should use the prior build.

Details and comments

With the recent release of pip 21.3 the method of how in-repo builds was
changed to be done in place. This change caused a conflict with how the
tutorial jobs were setup where they were building aer twice
inadvertently, once to build the package and a second time to build the
binaries in place in the source for when the notebooks are executed.
This second step wasn't necessary originally and was masking the real
issue (the conflict with qiskit/ in the working dir and the python env).
However, now that we're building binaries in place this is coming to a
head. This commit attempts to fix the issue by removing the second build
since it's not necessary, if we still have issues after this change we
can just run the tutorial from a different working directory and it
should use the prior build.
@mtreinish mtreinish merged commit b78f265 into Qiskit:main Oct 26, 2021
@mtreinish mtreinish deleted the fix-tutorials branch October 26, 2021 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants