Skip to content

Commit

Permalink
nox pip-compile: temporarily pin pip version (#2085)
Browse files Browse the repository at this point in the history
Relates: #1950 (comment)
Relates: jazzband/pip-tools#2131
(cherry picked from commit ef750f6)
  • Loading branch information
gotmax23 authored and patchback[bot] committed Oct 29, 2024
1 parent 8e1fa7c commit 1e140f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ def lint(session: nox.Session):
@nox.parametrize(["req"], requirements_files, requirements_files)
def pip_compile(session: nox.Session, req: str):
# .pip-tools.toml was introduced in v7
session.install("pip-tools >= 7")
# pip 24.3 causes a regression in pip-compile.
# See https://github.com/jazzband/pip-tools/issues/2131.
session.install("pip-tools >= 7", "pip < 24.3")

# Use --upgrade by default unless a user passes -P.
args = list(session.posargs)
Expand Down

0 comments on commit 1e140f6

Please sign in to comment.