diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 204d2376ee32..caa6483f0623 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -119,6 +119,11 @@ openai<=0.28.1 # https://github.com/openedx/edx-platform/issues/34103 optimizely-sdk<5.0 +# lxml>=5.0 introduced breaking changes related to system dependencies +# lxml==5.2.1 introduced new extra so we'll nee to rename lxml --> lxml[html-clean] +# This constraint can be removed once we upgrade to Python 3.11 +lxml<5.0 + # xmlsec==1.3.14 breaking tests for all builds, can be removed once a fix is available xmlsec<1.3.14 diff --git a/requirements/edx-sandbox/base.txt b/requirements/edx-sandbox/base.txt index ac73dc3fcad6..53c796077848 100644 --- a/requirements/edx-sandbox/base.txt +++ b/requirements/edx-sandbox/base.txt @@ -30,8 +30,9 @@ joblib==1.3.2 # via nltk kiwisolver==1.4.5 # via matplotlib -lxml==5.2.1 +lxml==4.9.4 # via + # -c requirements/edx-sandbox/../constraints.txt # -r requirements/edx-sandbox/base.in # openedx-calc markupsafe==2.1.5 diff --git a/requirements/edx/base.txt b/requirements/edx/base.txt index 3c69a49a6655..81a3ff030dec 100644 --- a/requirements/edx/base.txt +++ b/requirements/edx/base.txt @@ -682,6 +682,7 @@ lti-consumer-xblock==9.10.0 # via -r requirements/edx/kernel.in lxml==4.9.4 # via + # -c requirements/edx/../constraints.txt # -r requirements/edx/kernel.in # edx-i18n-tools # edxval diff --git a/requirements/edx/development.txt b/requirements/edx/development.txt index 5682263d5b7b..271b69c7876a 100644 --- a/requirements/edx/development.txt +++ b/requirements/edx/development.txt @@ -1135,6 +1135,7 @@ lti-consumer-xblock==9.10.0 # -r requirements/edx/testing.txt lxml==4.9.4 # via + # -c requirements/edx/../constraints.txt # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt # edx-i18n-tools diff --git a/requirements/edx/doc.txt b/requirements/edx/doc.txt index ea2c1e8f7c6c..26e9ff1ed00b 100644 --- a/requirements/edx/doc.txt +++ b/requirements/edx/doc.txt @@ -805,6 +805,7 @@ lti-consumer-xblock==9.10.0 # via -r requirements/edx/base.txt lxml==4.9.4 # via + # -c requirements/edx/../constraints.txt # -r requirements/edx/base.txt # edx-i18n-tools # edxval diff --git a/requirements/edx/testing.txt b/requirements/edx/testing.txt index ed076477d1a1..2ce58823e378 100644 --- a/requirements/edx/testing.txt +++ b/requirements/edx/testing.txt @@ -858,6 +858,7 @@ lti-consumer-xblock==9.10.0 # via -r requirements/edx/base.txt lxml==4.9.4 # via + # -c requirements/edx/../constraints.txt # -r requirements/edx/base.txt # edx-i18n-tools # edxval diff --git a/scripts/user_retirement/requirements/base.txt b/scripts/user_retirement/requirements/base.txt index 1adc428d5afa..f66759b556fa 100644 --- a/scripts/user_retirement/requirements/base.txt +++ b/scripts/user_retirement/requirements/base.txt @@ -86,7 +86,9 @@ jmespath==1.0.1 # boto3 # botocore lxml==4.9.3 - # via zeep + # via + # -c scripts/user_retirement/requirements/../../../requirements/constraints.txt + # zeep more-itertools==10.2.0 # via simple-salesforce newrelic==9.5.0