# Version constraints for pip-installation.
#
# This file doesn't install any packages. It specifies version constraints
# that will be applied if a package is needed.
#
# When pinning something here, please provide an explanation of why.  Ideally,
# link to other information that will help people in the future to remove the
# pin when possible.  Writing an issue against the offending project and
# linking to it here is good.

# Common constraints for edx repos
-c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt

# social-auth-app-django 5.7.0+ requires Django>=5.1, incompatible with Django 4.2 tests
# Keep at 5.4.x for Django 4.2 compatibility
social-auth-app-django<5.5

# django-simple-history 3.13.0+ dropped support for Django 4.2, incompatible with existing tests
# Keep at 3.12.0 for Django 4.2 compatibility
django-simple-history<3.13.0

# pip 26.2+ is incompatible with pip-tools 7.6.0 (latest pip-tools release only
# supports pip up to 26.1), which breaks `make upgrade`. Remove this once a
# newer pip-tools release restores pip 26.2+ compatibility.
pip<26.2

# Pin pip-tools to the version verified compatible with the pip<26.2 constraint
# above; a newer pip-tools release could require a newer pip and reintroduce
# the `make upgrade` breakage this constraint set was added to fix.
pip-tools==7.6.0
