# 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

# ONLY install backports.zoneinfo if python < 3.9.
# https://stackoverflow.com/questions/71712258/error-could-not-build-wheels-for-backports-zoneinfo-which-is-required-to-insta
# Basically, django 4.x introduces a conditional dependency on backports.zoneinfo based on python version, but since
# that dependency is resolved at requirements compilation time the resulting requirements are not sensitive to the
# python version *at runtime*.
backports.zoneinfo;python_version<"3.9"
