Skip to content

Commit a079fc9

Browse files
authored
pin click in pip-compile session (#3085)
1 parent caa8651 commit a079fc9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

noxfile.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,10 @@ def pip_compile(session: nox.Session, req: str):
158158
# .pip-tools.toml was introduced in v7
159159
# pip 24.3 causes a regression in pip-compile.
160160
# See https://github.com/jazzband/pip-tools/issues/2131.
161-
session.install("pip-tools >= 7", "pip < 24.3")
161+
# click causes an issue with the pip-compile header.
162+
# See https://github.com/jazzband/pip-tools/issues/2238.
163+
# Also see https://github.com/ansible/ansible-documentation/pull/3069.
164+
session.install("pip-tools >= 7", "pip < 24.3", "click < 8.3.0")
162165

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

0 commit comments

Comments
 (0)