Skip to content

Commit c82b5a2

Browse files
nox pip-compile: temporarily pin pip version (#2085) (#2110)
Relates: #1950 (comment) Relates: jazzband/pip-tools#2131 (cherry picked from commit ef750f6) Co-authored-by: Maxwell G <[email protected]>
1 parent 0d52505 commit c82b5a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

noxfile.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ def lint(session: nox.Session):
110110
@nox.parametrize(["req"], requirements_files, requirements_files)
111111
def pip_compile(session: nox.Session, req: str):
112112
# .pip-tools.toml was introduced in v7
113-
session.install("pip-tools >= 7")
113+
# pip 24.3 causes a regression in pip-compile.
114+
# See https://github.com/jazzband/pip-tools/issues/2131.
115+
session.install("pip-tools >= 7", "pip < 24.3")
114116

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

0 commit comments

Comments
 (0)