Skip to content

Commit

Permalink
build: add requirements constraint for Python 3.11+
Browse files Browse the repository at this point in the history
  • Loading branch information
Agrendalath committed Apr 23, 2024
1 parent beef0cd commit 99c5923
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 4 additions & 2 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.88
# via fs-s3fs
botocore==1.34.88
Expand Down
3 changes: 3 additions & 0 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@
# Newer versions fail with:
# `AttributeError: module 'openedx.core.lib.safe_lxml.etree' has no attribute '__version__'`.
parsel==1.6.0

# Temporary to Support the python 3.11 Upgrade
backports.zoneinfo;python_version<"3.9" # Newer versions have zoneinfo available in the standard library
3 changes: 2 additions & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ astroid==3.1.0
# 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/base.txt
# django
binaryornot==0.4.4
Expand Down

0 comments on commit 99c5923

Please sign in to comment.