diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 3e91a3d2e7..ee608faee3 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -148,3 +148,22 @@ pact-python<3.0.0 # building requirements with Python 3.12 # https://github.com/openedx/edx-platform/issues/37880 sphinx-autoapi<3.6.1 + +# Date 2026-03-02 +# setuptools 82.0.0 removed pkg_resources from its distribution, but fs (pyfilesystem2) +# still uses pkg_resources for namespace package declarations. This constraint can be +# removed once pyfilesystem2 drops its pkg_resources usage. +# https://github.com/PyFilesystem/pyfilesystem2/issues/577 +# Issue for unpinning: https://github.com/openedx/openedx-platform/issues/38068 +setuptools<82 + +# Date 2026-03-02 +# The latest version of pylint pins back astroid to an older version. +# This holdback is not caught in the docs requirements file and since both the docs +# and testing file are required in the development.in file, we fail to compile +# development.txt because of conflicting dependencies. +# +# Holding astroid back until pylint releases a new version that works with the latest +# version of astroid. +# https://github.com/openedx/openedx-platform/issues/38066 +astroid==4.0.4