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

Install qiskit in ci env #1201

Closed
wants to merge 3 commits into from

Conversation

mtreinish
Copy link
Member

Summary

This commit ensures that we're actually installing qiskit in the travis
environment. Previously we were just running tests out of the qiskit
repo without installing it. This made things like testing jupyter or
external commands more difficult because we had to properly setup the
path to make sure the qiskit code was discoverable. This fixes that by
installing qiskit (in develop mode) so that the code is linked to the
python site-packages and is discoverable/importable by other python
packages on the system, regardless of where they're run from. This is
just a stopgap patch until we switch to using tox for ci, which will do
this for us as well.

Details and comments

@mtreinish
Copy link
Member Author

Hmm the jupyter test failed: https://travis-ci.org/Qiskit/qiskit-terra/jobs/450005312#L1566 I think we need to modify that test to log the output to stdout/stderr on failure.

@diego-plan9
Copy link
Member

Labelling as on hold until after 0.7, as part of the CI discussion.

@diego-plan9 diego-plan9 added the on hold Can not fix yet label Nov 7, 2018
@1ucian0 1ucian0 added this to the 0.8 milestone Nov 23, 2018
This commit ensures that we're actually installing qiskit in the travis
environment. Previously we were just running tests out of the qiskit
repo without installing it. This made things like testing jupyter or
external commands more difficult because we had to properly setup the
path to make sure the qiskit code was discoverable. This fixes that by
installing qiskit (in develop mode) so that the code is linked to the
python site-packages and is discoverable/importable by other python
packages on the system, regardless of where they're run from. This is
just a stopgap patch until we switch to using tox for ci, which will do
this for us as well.
@mtreinish
Copy link
Member Author

This has been superseded by #1238

@mtreinish mtreinish closed this Jan 8, 2019
@mtreinish mtreinish deleted the install-qiskit-travis branch January 8, 2019 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on hold Can not fix yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants