diff --git a/.travis.yml b/.travis.yml index e72be6257191..bed171eea70a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,9 +32,9 @@ cache: pip stage_generic: &stage_generic install: # Install step for jobs that require compilation and qa. - - pip install -U -r requirements.txt + - pip install -U -r requirements.txt -c constraints.txt - pip install -U -r requirements-dev.txt coveralls -c constraints.txt - - pip install -e . + - pip install -c constraints.txt -e . - pip install "qiskit-ibmq-provider" -c constraints.txt script: # Compile the executables and run the tests. diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 41f07fdd9303..5d5452b608a0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -130,7 +130,7 @@ stages: set -e python -m pip install --upgrade pip pip install -U -r requirements.txt -r requirements-dev.txt -c constraints.txt - pip install -e . + pip install -c constraints.txt -e . pip install "qiskit-ibmq-provider" -c constraints.txt python setup.py build_ext --inplace displayName: 'Install dependencies' @@ -180,7 +180,7 @@ stages: set -e python -m pip install --upgrade pip pip install -U -r requirements.txt -r requirements-dev.txt -c constraints.txt - pip install -e . + pip install -c constraints.txt -e . pip install "qiskit-ibmq-provider" -c constraints.txt python setup.py build_ext --inplace displayName: 'Install dependencies' @@ -233,7 +233,7 @@ stages: set -e python -m pip install --upgrade pip pip install -U -r requirements.txt -r requirements-dev.txt -c constraints.txt - pip install -e . + pip install -c constraints.txt -e . pip install "qiskit-ibmq-provider" -c constraints.txt python setup.py build_ext --inplace displayName: 'Install dependencies' @@ -290,7 +290,7 @@ stages: set -e python -m pip install --upgrade pip pip install -U -r requirements.txt -r requirements-dev.txt -c constraints.txt - pip install -e . + pip install -c constraints.txt -e . pip install "qiskit-ibmq-provider" -c constraints.txt python setup.py build_ext --inplace displayName: 'Install dependencies' @@ -342,7 +342,7 @@ stages: set -e python -m pip install --upgrade pip pip install -U -r requirements.txt -r requirements-dev.txt -c constraints.txt - pip install -e . + pip install -c constraints.txt -e . pip install "qiskit-ibmq-provider" -c constraints.txt python setup.py build_ext --inplace displayName: 'Install dependencies' @@ -394,7 +394,7 @@ stages: set -e python -m pip install --upgrade pip pip install -U -r requirements.txt -r requirements-dev.txt -c constraints.txt - pip install -e . + pip install -c constraints.txt -e . pip install "qiskit-ibmq-provider" -c constraints.txt python setup.py build_ext --inplace displayName: 'Install dependencies' diff --git a/constraints.txt b/constraints.txt index 465e7987441c..20919eb945ae 100644 --- a/constraints.txt +++ b/constraints.txt @@ -1,3 +1,4 @@ astroid==2.2.5 cryptography==2.5.0 pylint==2.3.1 +networkx==2.3