Skip to content

Commit

Permalink
Pin pip to a specific version
Browse files Browse the repository at this point in the history
Paths in the requirements.txt file get converted to absolute paths
instead of relative paths. This can (temporarily?) be fixed by
pinning pip to a specific version. Hopefully?
  • Loading branch information
amstilp committed Nov 7, 2024
1 parent b590c2a commit cbc5e41
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pip-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ jobs:
with:
python-version: "3.10"

- name: Temporarily pin pip-compile version
# The latest version of pip and pip-tools creates absolute paths instead of relative paths
# when compiling requirements files.
run: |
pip install --upgrade pip==24.3
- name: Update requirements files
uses: UW-GAC/pip-tools-actions/[email protected]
with:
Expand Down

0 comments on commit cbc5e41

Please sign in to comment.