From a91d4827d563f8c5e485d0b469ad6f1ee3e60d74 Mon Sep 17 00:00:00 2001 From: Usama Sadiq Date: Fri, 26 Jan 2024 15:43:28 +0500 Subject: [PATCH] Pin optimizely sdk (#34121) * fix: pin optimizely-sdk==4.1.1 * fix: update optmizely-sdk constraint * feat: Upgrade Python dependency optimizely-sdk (#34120) Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master` Co-authored-by: UsamaSadiq --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: UsamaSadiq --- requirements/constraints.txt | 6 ++++++ requirements/edx/base.txt | 4 +++- requirements/edx/development.txt | 1 + requirements/edx/doc.txt | 4 +++- requirements/edx/testing.txt | 4 +++- 5 files changed, 16 insertions(+), 3 deletions(-) diff --git a/requirements/constraints.txt b/requirements/constraints.txt index f0b2dd767fa3..7c23030817b7 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -107,3 +107,9 @@ openedx-learning==0.4.4 # Open AI version 1.0.0 dropped support for openai.ChatCompletion which is currently in use in enterprise. openai<=0.28.1 + +# optimizely-sdk 5.0.0 is breaking following test with segmentation fault +# common/djangoapps/third_party_auth/tests/test_views.py::SAMLMetadataTest::test_secure_key_configuration +# needs to be fixed in the follow up issue +# https://github.com/openedx/edx-platform/issues/34103 +optimizely-sdk<5.0 diff --git a/requirements/edx/base.txt b/requirements/edx/base.txt index 4731fcfed665..b3c28ef589a6 100644 --- a/requirements/edx/base.txt +++ b/requirements/edx/base.txt @@ -786,7 +786,9 @@ openedx-learning==0.4.4 openedx-mongodbproxy==0.2.0 # via -r requirements/edx/kernel.in optimizely-sdk==4.1.1 - # via -r requirements/edx/bundled.in + # via + # -c requirements/edx/../constraints.txt + # -r requirements/edx/bundled.in ora2==6.0.29 # via -r requirements/edx/bundled.in packaging==23.2 diff --git a/requirements/edx/development.txt b/requirements/edx/development.txt index 50b40cf84993..2f8b58552590 100644 --- a/requirements/edx/development.txt +++ b/requirements/edx/development.txt @@ -1322,6 +1322,7 @@ openedx-mongodbproxy==0.2.0 # -r requirements/edx/testing.txt optimizely-sdk==4.1.1 # via + # -c requirements/edx/../constraints.txt # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt ora2==6.0.29 diff --git a/requirements/edx/doc.txt b/requirements/edx/doc.txt index 677a299aee52..81eb0f43ad40 100644 --- a/requirements/edx/doc.txt +++ b/requirements/edx/doc.txt @@ -928,7 +928,9 @@ openedx-learning==0.4.4 openedx-mongodbproxy==0.2.0 # via -r requirements/edx/base.txt optimizely-sdk==4.1.1 - # via -r requirements/edx/base.txt + # via + # -c requirements/edx/../constraints.txt + # -r requirements/edx/base.txt ora2==6.0.29 # via -r requirements/edx/base.txt packaging==23.2 diff --git a/requirements/edx/testing.txt b/requirements/edx/testing.txt index 4358a89d7d9b..544ca9848cd9 100644 --- a/requirements/edx/testing.txt +++ b/requirements/edx/testing.txt @@ -988,7 +988,9 @@ openedx-learning==0.4.4 openedx-mongodbproxy==0.2.0 # via -r requirements/edx/base.txt optimizely-sdk==4.1.1 - # via -r requirements/edx/base.txt + # via + # -c requirements/edx/../constraints.txt + # -r requirements/edx/base.txt ora2==6.0.29 # via -r requirements/edx/base.txt packaging==23.2