From fe3f50edec6b8fc84b039da85bc492e12d74827e Mon Sep 17 00:00:00 2001 From: Muhammad Farhan Date: Thu, 17 Oct 2024 15:06:43 +0500 Subject: [PATCH] chore: Upgrade Python dependency optimizely-sdk --- requirements/constraints.txt | 7 ---- requirements/edx-sandbox/base.txt | 2 +- requirements/edx/base.txt | 28 +++++++--------- requirements/edx/development.txt | 30 ++++++++--------- requirements/edx/doc.txt | 25 ++++++-------- requirements/edx/semgrep.txt | 2 +- requirements/edx/testing.txt | 33 ++++++++----------- requirements/pip.txt | 2 +- scripts/user_retirement/requirements/base.txt | 10 +++--- .../user_retirement/requirements/testing.txt | 12 +++---- 10 files changed, 62 insertions(+), 89 deletions(-) diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 7bf90df3cb66..1eea59c4b468 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -136,13 +136,6 @@ mypy<1.12.0 # Issue for unpinning: https://github.com/openedx/edx-platform/issues/35126 numpy<2.0.0 -# Date: 2024-01-26 -# 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 -# Issue for unpinning: https://github.com/openedx/edx-platform/issues/34103 -optimizely-sdk<5.0 - # Date: 2023-09-18 # pinning this version to avoid updates while the library is being developed # Issue for unpinning: https://github.com/openedx/edx-platform/issues/35269 diff --git a/requirements/edx-sandbox/base.txt b/requirements/edx-sandbox/base.txt index ad75d4564bc1..de6fec3789bd 100644 --- a/requirements/edx-sandbox/base.txt +++ b/requirements/edx-sandbox/base.txt @@ -57,7 +57,7 @@ openedx-calc==3.1.2 # via -r requirements/edx-sandbox/base.in packaging==24.1 # via matplotlib -pillow==10.4.0 +pillow==11.0.0 # via matplotlib pycparser==2.22 # via cffi diff --git a/requirements/edx/base.txt b/requirements/edx/base.txt index 0872ad5c683c..d24c78b6fbe4 100644 --- a/requirements/edx/base.txt +++ b/requirements/edx/base.txt @@ -70,13 +70,13 @@ bleach[css]==6.1.0 # xblock-poll boto==2.49.0 # via -r requirements/edx/kernel.in -boto3==1.35.40 +boto3==1.35.42 # via # -r requirements/edx/kernel.in # django-ses # fs-s3fs # ora2 -botocore==1.35.40 +botocore==1.35.42 # via # -r requirements/edx/kernel.in # boto3 @@ -152,7 +152,6 @@ cryptography==43.0.1 # django-fernet-fields-v2 # edx-enterprise # jwcrypto - # optimizely-sdk # paramiko # pgpy # pyjwt @@ -438,7 +437,7 @@ edx-django-release-util==1.4.0 # edxval edx-django-sites-extensions==4.2.0 # via -r requirements/edx/kernel.in -edx-django-utils==6.0.0 +edx-django-utils==6.1.0 # via # -r requirements/edx/kernel.in # django-config-models @@ -621,11 +620,11 @@ googleapis-common-protos==1.65.0 # via # google-api-core # grpcio-status -grpcio==1.66.2 +grpcio==1.67.0 # via # google-api-core # grpcio-status -grpcio-status==1.66.2 +grpcio-status==1.67.0 # via google-api-core gunicorn==23.0.0 # via -r requirements/edx/kernel.in @@ -769,7 +768,7 @@ multidict==6.1.0 # yarl mysqlclient==2.2.4 # via -r requirements/edx/kernel.in -newrelic==10.1.0 +newrelic==10.2.0 # via # -r requirements/edx/bundled.in # edx-django-utils @@ -831,10 +830,8 @@ openedx-learning==0.15.0 # -r requirements/edx/kernel.in openedx-mongodbproxy==0.2.2 # via -r requirements/edx/kernel.in -optimizely-sdk==4.1.1 - # via - # -c requirements/edx/../constraints.txt - # -r requirements/edx/bundled.in +optimizely-sdk==5.0.1 + # via -r requirements/edx/bundled.in ora2==6.12.0 # via -r requirements/edx/bundled.in packaging==24.1 @@ -869,7 +866,7 @@ pgpy==0.6.0 # via edx-enterprise piexif==1.1.3 # via -r requirements/edx/kernel.in -pillow==10.4.0 +pillow==11.0.0 # via # -r requirements/edx/kernel.in # edx-enterprise @@ -966,9 +963,7 @@ pynacl==1.5.0 pynliner==0.8.0 # via -r requirements/edx/kernel.in pyopenssl==24.2.1 - # via - # optimizely-sdk - # snowflake-connector-python + # via snowflake-connector-python pyparsing==3.2.0 # via # chem @@ -1133,7 +1128,6 @@ six==1.16.0 # html5lib # interchange # libsass - # optimizely-sdk # pansi # paver # py2neo @@ -1292,7 +1286,7 @@ xmlsec==1.3.13 # python3-saml xss-utils==0.6.0 # via -r requirements/edx/kernel.in -yarl==1.15.2 +yarl==1.15.4 # via aiohttp zipp==3.20.2 # via importlib-metadata diff --git a/requirements/edx/development.txt b/requirements/edx/development.txt index 5bbe07ade1de..3a89782c46a6 100644 --- a/requirements/edx/development.txt +++ b/requirements/edx/development.txt @@ -140,14 +140,14 @@ boto==2.49.0 # via # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt -boto3==1.35.40 +boto3==1.35.42 # via # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt # django-ses # fs-s3fs # ora2 -botocore==1.35.40 +botocore==1.35.42 # via # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt @@ -293,7 +293,6 @@ cryptography==43.0.1 # django-fernet-fields-v2 # edx-enterprise # jwcrypto - # optimizely-sdk # paramiko # pgpy # pyjwt @@ -710,7 +709,7 @@ edx-django-sites-extensions==4.2.0 # via # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt -edx-django-utils==6.0.0 +edx-django-utils==6.1.0 # via # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt @@ -879,7 +878,7 @@ execnet==2.1.1 # pytest-xdist factory-boy==3.3.1 # via -r requirements/edx/testing.txt -faker==30.3.0 +faker==30.6.0 # via # -r requirements/edx/testing.txt # factory-boy @@ -1009,13 +1008,13 @@ grimp==3.5 # via # -r requirements/edx/testing.txt # import-linter -grpcio==1.66.2 +grpcio==1.67.0 # via # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt # google-api-core # grpcio-status -grpcio-status==1.66.2 +grpcio-status==1.67.0 # via # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt @@ -1291,7 +1290,7 @@ mysqlclient==2.2.4 # via # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt -newrelic==10.1.0 +newrelic==10.2.0 # via # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt @@ -1384,9 +1383,8 @@ openedx-mongodbproxy==0.2.2 # via # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt -optimizely-sdk==4.1.1 +optimizely-sdk==5.0.1 # via - # -c requirements/edx/../constraints.txt # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt ora2==6.12.0 @@ -1456,7 +1454,7 @@ piexif==1.1.3 # via # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt -pillow==10.4.0 +pillow==11.0.0 # via # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt @@ -1659,7 +1657,6 @@ pyopenssl==24.2.1 # via # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt - # optimizely-sdk # snowflake-connector-python pyparsing==3.2.0 # via @@ -1932,7 +1929,6 @@ six==1.16.0 # html5lib # interchange # libsass - # optimizely-sdk # pact-python # pansi # paver @@ -2053,7 +2049,7 @@ staff-graded-xblock==2.3.0 # via # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt -starlette==0.39.2 +starlette==0.40.0 # via # -r requirements/edx/testing.txt # fastapi @@ -2099,7 +2095,7 @@ tomlkit==0.13.2 # -r requirements/edx/testing.txt # pylint # snowflake-connector-python -tox==4.21.2 +tox==4.23.0 # via -r requirements/edx/testing.txt tqdm==4.66.5 # via @@ -2171,7 +2167,7 @@ user-util==1.1.0 # via # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt -uvicorn==0.31.1 +uvicorn==0.32.0 # via # -r requirements/edx/testing.txt # pact-python @@ -2282,7 +2278,7 @@ xss-utils==0.6.0 # via # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt -yarl==1.15.2 +yarl==1.15.4 # via # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt diff --git a/requirements/edx/doc.txt b/requirements/edx/doc.txt index e72432139574..985505039393 100644 --- a/requirements/edx/doc.txt +++ b/requirements/edx/doc.txt @@ -102,13 +102,13 @@ bleach[css]==6.1.0 # xblock-poll boto==2.49.0 # via -r requirements/edx/base.txt -boto3==1.35.40 +boto3==1.35.42 # via # -r requirements/edx/base.txt # django-ses # fs-s3fs # ora2 -botocore==1.35.40 +botocore==1.35.42 # via # -r requirements/edx/base.txt # boto3 @@ -202,7 +202,6 @@ cryptography==43.0.1 # django-fernet-fields-v2 # edx-enterprise # jwcrypto - # optimizely-sdk # paramiko # pgpy # pyjwt @@ -518,7 +517,7 @@ edx-django-release-util==1.4.0 # edxval edx-django-sites-extensions==4.2.0 # via -r requirements/edx/base.txt -edx-django-utils==6.0.0 +edx-django-utils==6.1.0 # via # -r requirements/edx/base.txt # django-config-models @@ -735,12 +734,12 @@ googleapis-common-protos==1.65.0 # -r requirements/edx/base.txt # google-api-core # grpcio-status -grpcio==1.66.2 +grpcio==1.67.0 # via # -r requirements/edx/base.txt # google-api-core # grpcio-status -grpcio-status==1.66.2 +grpcio-status==1.67.0 # via # -r requirements/edx/base.txt # google-api-core @@ -923,7 +922,7 @@ multidict==6.1.0 # yarl mysqlclient==2.2.4 # via -r requirements/edx/base.txt -newrelic==10.1.0 +newrelic==10.2.0 # via # -r requirements/edx/base.txt # edx-django-utils @@ -990,10 +989,8 @@ openedx-learning==0.15.0 # -r requirements/edx/base.txt openedx-mongodbproxy==0.2.2 # via -r requirements/edx/base.txt -optimizely-sdk==4.1.1 - # via - # -c requirements/edx/../constraints.txt - # -r requirements/edx/base.txt +optimizely-sdk==5.0.1 + # via -r requirements/edx/base.txt ora2==6.12.0 # via -r requirements/edx/base.txt packaging==24.1 @@ -1039,7 +1036,7 @@ picobox==4.0.0 # via sphinxcontrib-openapi piexif==1.1.3 # via -r requirements/edx/base.txt -pillow==10.4.0 +pillow==11.0.0 # via # -r requirements/edx/base.txt # edx-enterprise @@ -1165,7 +1162,6 @@ pynliner==0.8.0 pyopenssl==24.2.1 # via # -r requirements/edx/base.txt - # optimizely-sdk # snowflake-connector-python pyparsing==3.2.0 # via @@ -1354,7 +1350,6 @@ six==1.16.0 # html5lib # interchange # libsass - # optimizely-sdk # pansi # paver # py2neo @@ -1586,7 +1581,7 @@ xmlsec==1.3.13 # python3-saml xss-utils==0.6.0 # via -r requirements/edx/base.txt -yarl==1.15.2 +yarl==1.15.4 # via # -r requirements/edx/base.txt # aiohttp diff --git a/requirements/edx/semgrep.txt b/requirements/edx/semgrep.txt index 174fa87d081d..3dde936ea007 100644 --- a/requirements/edx/semgrep.txt +++ b/requirements/edx/semgrep.txt @@ -50,7 +50,7 @@ mdurl==0.1.2 # via markdown-it-py packaging==24.1 # via semgrep -peewee==3.17.6 +peewee==3.17.7 # via semgrep pygments==2.18.0 # via rich diff --git a/requirements/edx/testing.txt b/requirements/edx/testing.txt index b73820d4c1f7..248dab0a6b4b 100644 --- a/requirements/edx/testing.txt +++ b/requirements/edx/testing.txt @@ -102,13 +102,13 @@ bleach[css]==6.1.0 # xblock-poll boto==2.49.0 # via -r requirements/edx/base.txt -boto3==1.35.40 +boto3==1.35.42 # via # -r requirements/edx/base.txt # django-ses # fs-s3fs # ora2 -botocore==1.35.40 +botocore==1.35.42 # via # -r requirements/edx/base.txt # boto3 @@ -221,7 +221,6 @@ cryptography==43.0.1 # django-fernet-fields-v2 # edx-enterprise # jwcrypto - # optimizely-sdk # paramiko # pgpy # pyjwt @@ -542,7 +541,7 @@ edx-django-release-util==1.4.0 # edxval edx-django-sites-extensions==4.2.0 # via -r requirements/edx/base.txt -edx-django-utils==6.0.0 +edx-django-utils==6.1.0 # via # -r requirements/edx/base.txt # django-config-models @@ -674,7 +673,7 @@ execnet==2.1.1 # via pytest-xdist factory-boy==3.3.1 # via -r requirements/edx/testing.in -faker==30.3.0 +faker==30.6.0 # via factory-boy fastapi==0.115.2 # via pact-python @@ -771,12 +770,12 @@ googleapis-common-protos==1.65.0 # grpcio-status grimp==3.5 # via import-linter -grpcio==1.66.2 +grpcio==1.67.0 # via # -r requirements/edx/base.txt # google-api-core # grpcio-status -grpcio-status==1.66.2 +grpcio-status==1.67.0 # via # -r requirements/edx/base.txt # google-api-core @@ -974,7 +973,7 @@ multidict==6.1.0 # yarl mysqlclient==2.2.4 # via -r requirements/edx/base.txt -newrelic==10.1.0 +newrelic==10.2.0 # via # -r requirements/edx/base.txt # edx-django-utils @@ -1041,10 +1040,8 @@ openedx-learning==0.15.0 # -r requirements/edx/base.txt openedx-mongodbproxy==0.2.2 # via -r requirements/edx/base.txt -optimizely-sdk==4.1.1 - # via - # -c requirements/edx/../constraints.txt - # -r requirements/edx/base.txt +optimizely-sdk==5.0.1 + # via -r requirements/edx/base.txt ora2==6.12.0 # via -r requirements/edx/base.txt packaging==24.1 @@ -1091,7 +1088,7 @@ pgpy==0.6.0 # edx-enterprise piexif==1.1.3 # via -r requirements/edx/base.txt -pillow==10.4.0 +pillow==11.0.0 # via # -r requirements/edx/base.txt # edx-enterprise @@ -1250,7 +1247,6 @@ pynliner==0.8.0 pyopenssl==24.2.1 # via # -r requirements/edx/base.txt - # optimizely-sdk # snowflake-connector-python pyparsing==3.2.0 # via @@ -1474,7 +1470,6 @@ six==1.16.0 # html5lib # interchange # libsass - # optimizely-sdk # pact-python # pansi # paver @@ -1520,7 +1515,7 @@ sqlparse==0.5.1 # django staff-graded-xblock==2.3.0 # via -r requirements/edx/base.txt -starlette==0.39.2 +starlette==0.40.0 # via fastapi stevedore==5.3.0 # via @@ -1556,7 +1551,7 @@ tomlkit==0.13.2 # -r requirements/edx/base.txt # pylint # snowflake-connector-python -tox==4.21.2 +tox==4.23.0 # via -r requirements/edx/testing.in tqdm==4.66.5 # via @@ -1605,7 +1600,7 @@ urllib3==1.26.20 # requests user-util==1.1.0 # via -r requirements/edx/base.txt -uvicorn==0.31.1 +uvicorn==0.32.0 # via pact-python vine==5.1.0 # via @@ -1684,7 +1679,7 @@ xmlsec==1.3.13 # python3-saml xss-utils==0.6.0 # via -r requirements/edx/base.txt -yarl==1.15.2 +yarl==1.15.4 # via # -r requirements/edx/base.txt # aiohttp diff --git a/requirements/pip.txt b/requirements/pip.txt index 36c777e21656..346a0611f0c5 100644 --- a/requirements/pip.txt +++ b/requirements/pip.txt @@ -10,5 +10,5 @@ wheel==0.44.0 # The following packages are considered to be unsafe in a requirements file: pip==24.2 # via -r requirements/pip.in -setuptools==75.1.0 +setuptools==75.2.0 # via -r requirements/pip.in diff --git a/scripts/user_retirement/requirements/base.txt b/scripts/user_retirement/requirements/base.txt index 1ae503010f81..5503dc13b6c2 100644 --- a/scripts/user_retirement/requirements/base.txt +++ b/scripts/user_retirement/requirements/base.txt @@ -10,9 +10,9 @@ attrs==24.2.0 # via zeep backoff==2.2.1 # via -r scripts/user_retirement/requirements/base.in -boto3==1.35.40 +boto3==1.35.42 # via -r scripts/user_retirement/requirements/base.in -botocore==1.35.40 +botocore==1.35.42 # via # boto3 # s3transfer @@ -46,7 +46,7 @@ django-crum==0.7.9 # via edx-django-utils django-waffle==4.1.0 # via edx-django-utils -edx-django-utils==6.0.0 +edx-django-utils==6.1.0 # via edx-rest-api-client edx-rest-api-client==6.0.0 # via -r scripts/user_retirement/requirements/base.in @@ -83,7 +83,7 @@ lxml==4.9.4 # zeep more-itertools==10.5.0 # via simple-salesforce -newrelic==10.1.0 +newrelic==10.2.0 # via edx-django-utils pbr==6.1.0 # via stevedore @@ -163,5 +163,5 @@ urllib3==1.26.20 # -c scripts/user_retirement/requirements/../../../requirements/constraints.txt # botocore # requests -zeep==4.3.0 +zeep==4.3.1 # via simple-salesforce diff --git a/scripts/user_retirement/requirements/testing.txt b/scripts/user_retirement/requirements/testing.txt index d14082cf2300..22f8e8c022db 100644 --- a/scripts/user_retirement/requirements/testing.txt +++ b/scripts/user_retirement/requirements/testing.txt @@ -14,11 +14,11 @@ attrs==24.2.0 # zeep backoff==2.2.1 # via -r scripts/user_retirement/requirements/base.txt -boto3==1.35.40 +boto3==1.35.42 # via # -r scripts/user_retirement/requirements/base.txt # moto -botocore==1.35.40 +botocore==1.35.42 # via # -r scripts/user_retirement/requirements/base.txt # boto3 @@ -66,7 +66,7 @@ django-waffle==4.1.0 # via # -r scripts/user_retirement/requirements/base.txt # edx-django-utils -edx-django-utils==6.0.0 +edx-django-utils==6.1.0 # via # -r scripts/user_retirement/requirements/base.txt # edx-rest-api-client @@ -132,7 +132,7 @@ more-itertools==10.5.0 # simple-salesforce moto==4.2.14 # via -r scripts/user_retirement/requirements/testing.in -newrelic==10.1.0 +newrelic==10.2.0 # via # -r scripts/user_retirement/requirements/base.txt # edx-django-utils @@ -274,9 +274,9 @@ urllib3==1.26.20 # responses werkzeug==3.0.4 # via moto -xmltodict==0.14.1 +xmltodict==0.14.2 # via moto -zeep==4.3.0 +zeep==4.3.1 # via # -r scripts/user_retirement/requirements/base.txt # simple-salesforce