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