From 291c445acac8b2614cf49c87804893f8c84fb8b4 Mon Sep 17 00:00:00 2001 From: Ted Ralphs Date: Tue, 25 Jun 2024 10:08:11 +0200 Subject: [PATCH 1/3] Fix "externally-managed-environment" error in test --- .github/workflows/ci-cvxpy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-cvxpy.yml b/.github/workflows/ci-cvxpy.yml index 7f65b748..13cacf4a 100644 --- a/.github/workflows/ci-cvxpy.yml +++ b/.github/workflows/ci-cvxpy.yml @@ -42,7 +42,7 @@ jobs: - name: Install CVXPY run: | - python3 -m pip install ./cvxpy + python3 -m pip install --break-system-packages ./cvxpy - name: Test CVXPY run: | From 6ed5726e5ae66dd93da19f0a663d48e191fa870d Mon Sep 17 00:00:00 2001 From: Ted Ralphs Date: Tue, 25 Jun 2024 10:26:21 +0200 Subject: [PATCH 2/3] Update ci-cvxpy.yml --- .github/workflows/ci-cvxpy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-cvxpy.yml b/.github/workflows/ci-cvxpy.yml index 13cacf4a..4b5ed1bd 100644 --- a/.github/workflows/ci-cvxpy.yml +++ b/.github/workflows/ci-cvxpy.yml @@ -32,7 +32,7 @@ jobs: - name: Install CyLP run: | - python3 -m pip install ./cylp + python3 -m pip install --break-system-packages ./cylp - name: Check out CVXPY uses: actions/checkout@v2 From 6270517b9a8031038630053f58b00cc76ee8f768 Mon Sep 17 00:00:00 2001 From: Ted Ralphs Date: Tue, 25 Jun 2024 10:35:32 +0200 Subject: [PATCH 3/3] Update ci-cvxpy.yml --- .github/workflows/ci-cvxpy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-cvxpy.yml b/.github/workflows/ci-cvxpy.yml index 4b5ed1bd..d1ea3f0f 100644 --- a/.github/workflows/ci-cvxpy.yml +++ b/.github/workflows/ci-cvxpy.yml @@ -46,5 +46,5 @@ jobs: - name: Test CVXPY run: | - python3 -m pip install pytest + python3 -m pip install --break-system-packages pytest (cd cvxpy/cvxpy/tests && python3 -m pytest -v .)