From 64c0dd5e78fc8a25db45dcda35a5bfcd21033d27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1vel=20A=2E=20Campos-Pe=C3=B1a?= Date: Sun, 6 Jul 2025 10:42:02 -0500 Subject: [PATCH] Install project directly in "Test Main" workflow Replace the "Install dependencies" step with "Upgrade pip" to avoid installing pinned dependencies from `requirements-ci.txt` for all test environments across different Python versions. This prevents dependency installation errors like: ERROR: No matching distribution found for numpy==2.3.1 This way, the project will be installed in each container the same way it would normally be installed locally, which ensures correct testing of the main branch for release readiness. --- .github/workflows/test_main.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test_main.yml b/.github/workflows/test_main.yml index 4e89c68..67cc2ca 100644 --- a/.github/workflows/test_main.yml +++ b/.github/workflows/test_main.yml @@ -34,10 +34,8 @@ jobs: sleep 5; \ done - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install --default-timeout=60 --retries=5 -r requirements-ci.txt + - name: Upgrade pip + run: python -m pip install --upgrade pip - name: Install project package in editable mode run: | @@ -73,10 +71,8 @@ jobs: sleep 5; \ done - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install --default-timeout=60 --retries=5 -r requirements-ci.txt + - name: Upgrade pip + run: python -m pip install --upgrade pip - name: Install project package in editable mode run: |