Skip to content

Commit 24e43ca

Browse files
fix: update pip version constraint to avoid compatibility issues with pip-tools (#194)
This adds a version constraint to prevent pip from upgrading to version 25.x, which is incompatible with the currently-used pip-tools 7.5.1. The constraint addresses an AttributeError related to 'use_pep517' that occurs when pip 25.x is used with pip-tools 7.5.1.
1 parent 9c89e95 commit 24e43ca

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

requirements/constraints.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,9 @@
1010

1111
# Common constraints for edx repos
1212
-c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
13+
14+
# pip 25.3 is incompatible with pip-tools hence causing failures during the build process
15+
# Make upgrade command and all requirements upgrade jobs are broken due to this.
16+
# See issue https://github.com/edx/devstack/issues/195 for details regarding the ongoing fix.
17+
# The constraint can be removed once a release (pip-tools > 7.5.1) is available with support for pip 25.3
18+
pip<25.3

0 commit comments

Comments
 (0)