Skip to content

Commit 75b8caf

Browse files
authored
Requirements: downgrade pip to avoid requiring allow_editables and … (#13220)
…break This fixes the GitHub workflow for pip-tools.
1 parent 76d1ef7 commit 75b8caf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/pip-tools.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ jobs:
3939

4040
- name: Install piptools and invoke
4141
# Install pip-tools from Git and pip>=26 to get the "--uploaded-prior-to" flag.
42-
run: python -m pip install --upgrade "pip>=26" "pip-tools @ git+https://github.com/jazzband/pip-tools" invoke
42+
# pip<26.2 because pip 26.2 made "allow_editables" a required argument and pip-tools breaks:
43+
# https://github.com/jazzband/pip-tools/issues/2437
44+
run: python -m pip install --upgrade "pip>=26,<26.2" "pip-tools @ git+https://github.com/jazzband/pip-tools" invoke
4345

4446
- name: Update dependencies from requirements/*.txt
4547
run: invoke requirements.update

0 commit comments

Comments
 (0)