Skip to content

Commit 9c89a1b

Browse files
committed
build: Constrain astroid to fix make upgrade.
The latest version of pylint pins back astroid to an older version. This hold back 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. Created #38066 to undo this.
1 parent a31e256 commit 9c89a1b

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

requirements/constraints.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,22 @@ pact-python<3.0.0
148148
# building requirements with Python 3.12
149149
# https://github.com/openedx/edx-platform/issues/37880
150150
sphinx-autoapi<3.6.1
151+
152+
# Date 2026-03-02
153+
# setuptools 82.0.0 removed pkg_resources from its distribution, but fs (pyfilesystem2)
154+
# still uses pkg_resources for namespace package declarations. This constraint can be
155+
# removed once pyfilesystem2 drops its pkg_resources usage.
156+
# https://github.com/PyFilesystem/pyfilesystem2/issues/577
157+
# Issue for unpinning: https://github.com/openedx/openedx-platform/issues/38068
158+
setuptools<82
159+
160+
# Date 2026-03-02
161+
# The latest version of pylint pins back astroid to an older version.
162+
# This holdback is not caught in the docs requirements file and since both the docs
163+
# and testing file are required in the development.in file, we fail to compile
164+
# development.txt because of conflicting dependencies.
165+
#
166+
# Holding astroid back until pylint releases a new version that works with the latest
167+
# version of astroid.
168+
# https://github.com/openedx/openedx-platform/issues/38066
169+
astroid==4.0.4

0 commit comments

Comments
 (0)