Skip to content

Commit

Permalink
nox pip-compile: temporarily pin pip version
Browse files Browse the repository at this point in the history
  • Loading branch information
gotmax23 committed Oct 29, 2024
1 parent 789a22b commit f262e1a
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 @@ -158,7 +158,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 f262e1a

Please sign in to comment.