From 4262f47fe818547e30993505d585d56ea35d2079 Mon Sep 17 00:00:00 2001 From: farhan Date: Mon, 18 Mar 2024 13:51:01 +0500 Subject: [PATCH] chore: Add constraint --- requirements/base.txt | 6 ++++-- requirements/constraints.txt | 2 ++ requirements/dev.txt | 3 ++- requirements/doc.txt | 12 ++---------- requirements/quality.txt | 3 ++- requirements/test.txt | 3 ++- 6 files changed, 14 insertions(+), 15 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index 04d13c3..928fcc6 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -10,8 +10,10 @@ async-timeout==4.0.3 # via redis attrs==23.2.0 # via openedx-events -backports-zoneinfo==0.2.1 - # via django +backports-zoneinfo==0.2.1 ; python_version < "3.9" + # via + # -c requirements/constraints.txt + # django cffi==1.16.0 # via pynacl click==8.1.7 diff --git a/requirements/constraints.txt b/requirements/constraints.txt index d91704b..907dea2 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -10,3 +10,5 @@ # Common constraints for edx repos -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt + +backports.zoneinfo;python_version<"3.9" diff --git a/requirements/dev.txt b/requirements/dev.txt index 8dbf77f..c87547a 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -21,8 +21,9 @@ attrs==23.2.0 # via # -r requirements/quality.txt # openedx-events -backports-zoneinfo==0.2.1 +backports-zoneinfo==0.2.1 ; python_version < "3.9" # via + # -c requirements/constraints.txt # -r requirements/quality.txt # django build==1.1.1 diff --git a/requirements/doc.txt b/requirements/doc.txt index c04cc04..9830689 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -24,8 +24,9 @@ babel==2.14.0 # via # pydata-sphinx-theme # sphinx -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 @@ -37,7 +38,6 @@ certifi==2024.2.2 cffi==1.16.0 # via # -r requirements/test.txt - # cryptography # pynacl charset-normalizer==3.3.2 # via requests @@ -54,8 +54,6 @@ coverage[toml]==7.4.4 # via # -r requirements/test.txt # pytest-cov -cryptography==42.0.5 - # via secretstorage ddt==1.7.2 # via -r requirements/test.txt django==4.2.11 @@ -120,10 +118,6 @@ iniconfig==2.0.0 # pytest jaraco-classes==3.3.1 # via keyring -jeepney==0.8.0 - # via - # keyring - # secretstorage jinja2==3.1.3 # via # -r requirements/test.txt @@ -229,8 +223,6 @@ rfc3986==2.0.0 # via twine rich==13.7.1 # via twine -secretstorage==3.3.3 - # via keyring snowballstemmer==2.2.0 # via sphinx soupsieve==2.5 diff --git a/requirements/quality.txt b/requirements/quality.txt index a2b88ed..4302daf 100644 --- a/requirements/quality.txt +++ b/requirements/quality.txt @@ -20,8 +20,9 @@ attrs==23.2.0 # via # -r requirements/test.txt # openedx-events -backports-zoneinfo==0.2.1 +backports-zoneinfo==0.2.1 ; python_version < "3.9" # via + # -c requirements/constraints.txt # -r requirements/test.txt # django cffi==1.16.0 diff --git a/requirements/test.txt b/requirements/test.txt index d7d7fc6..f8d5dda 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -16,8 +16,9 @@ attrs==23.2.0 # via # -r requirements/base.txt # openedx-events -backports-zoneinfo==0.2.1 +backports-zoneinfo==0.2.1 ; python_version < "3.9" # via + # -c requirements/constraints.txt # -r requirements/base.txt # django cffi==1.16.0