From a1aef2626b2d6a7fe0978a6588c2937d2200748b Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Tue, 16 Jul 2024 11:01:38 -0400 Subject: [PATCH] build: Pin numpy to unblock the upgrade. More detail in the comment and related github issue. --- requirements/constraints.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/requirements/constraints.txt b/requirements/constraints.txt index e3033291c1..b404440e04 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -123,3 +123,9 @@ path<16.12.0 # Temporary to Support the python 3.11 Upgrade backports.zoneinfo;python_version<"3.9" # Newer versions have zoneinfo available in the standard library + +# Relevant GitHub Issue: https://github.com/openedx/edx-platform/issues/35126 +# We need to upgrade the version of elasticsearch to atleast 7.15 before we can upgrade to Numpy 2.0.0 +# Otherwise we see a failure while running the following command: +# export DJANGO_SETTINGS_MODULE=cms.envs.test; python manage.py cms check_reserved_keywords --override_file db_keyword_overrides.yml --report_path reports/reserved_keywords --report_file cms_reserved_keyword_report.csv +numpy<2.0.0