From e68fe9dbb371bacb3842e32f377ce229709c6719 Mon Sep 17 00:00:00 2001 From: Kshitij Sobti Date: Tue, 6 Aug 2024 16:38:47 +0530 Subject: [PATCH] fixup! feat: Initial implementation of the accordion XBlock --- requirements/base.txt | 6 ++++-- requirements/constraints.txt | 4 ++++ requirements/dev.txt | 3 ++- requirements/doc.txt | 3 ++- requirements/quality.txt | 3 ++- requirements/test.txt | 3 ++- 6 files changed, 16 insertions(+), 6 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index 312fe0d..a0bfc2e 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -8,8 +8,10 @@ appdirs==1.4.4 # via fs asgiref==3.8.1 # via django -backports-zoneinfo==0.2.1 - # via django +backports-zoneinfo==0.2.1 ; python_version < "3.9" + # via + # -c requirements/constraints.txt + # django boto3==1.34.154 # via fs-s3fs botocore==1.34.154 diff --git a/requirements/constraints.txt b/requirements/constraints.txt index d91704b..6704fb8 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -10,3 +10,7 @@ # Common constraints for edx repos -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt + +# This package should only be intalled and only works on python 3.9 and below +# since it is a backport of the standard library zoneinfo module +backports.zoneinfo==0.2.1; python_version<"3.9" diff --git a/requirements/dev.txt b/requirements/dev.txt index 14386a0..8f14669 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -21,8 +21,9 @@ astroid==3.2.4 # -r requirements/quality.txt # pylint # pylint-celery -backports-zoneinfo==0.2.1 +backports-zoneinfo==0.2.1 ; python_version < "3.9" # via + # -c requirements/constraints.txt # -r requirements/quality.txt # django binaryornot==0.4.4 diff --git a/requirements/doc.txt b/requirements/doc.txt index cc245f0..3737094 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -26,8 +26,9 @@ babel==2.15.0 # sphinx backports-tarfile==1.2.0 # via jaraco-context -backports-zoneinfo==0.2.1 +backports-zoneinfo==0.2.1 ; python_version < "3.9" # via + # -c requirements/constraints.txt # -r requirements/test.txt # django beautifulsoup4==4.12.3 diff --git a/requirements/quality.txt b/requirements/quality.txt index a00fe93..1999c25 100644 --- a/requirements/quality.txt +++ b/requirements/quality.txt @@ -20,8 +20,9 @@ astroid==3.2.4 # via # pylint # pylint-celery -backports-zoneinfo==0.2.1 +backports-zoneinfo==0.2.1 ; python_version < "3.9" # via + # -c requirements/constraints.txt # -r requirements/test.txt # django binaryornot==0.4.4 diff --git a/requirements/test.txt b/requirements/test.txt index 6f2d0ee..d25bfa4 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -14,8 +14,9 @@ asgiref==3.8.1 # via # -r requirements/base.txt # django -backports-zoneinfo==0.2.1 +backports-zoneinfo==0.2.1 ; python_version < "3.9" # via + # -c requirements/constraints.txt # -r requirements/base.txt # django binaryornot==0.4.4