# 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 common_constraints.txt

# setuptools 82+ removed pkg_resources, which fs (pyfilesystem2) uses for
# namespace package declarations in fs/__init__.py. Pin until fs is updated.
# See: https://github.com/PyFilesystem/pyfilesystem2/issues/577
setuptools<82

# pact-python 3.x has a completely different API from 2.x.
# The verify_pact.py code uses the 2.x API (Verifier with provider/provider_base_url kwargs).
# Pin until the code is updated to use the new API.
# See: https://github.com/openedx/edx-val/issues/598
pact-python<3
