Skip to content

Commit

Permalink
chore: add backports.zoneinfo constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
magajh committed Oct 22, 2024
1 parent c216180 commit fb9c77a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ asgiref==3.8.1
# via django
attrs==24.2.0
# via openedx-events
backports-zoneinfo[tzdata]==0.2.1
backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# celery
# django
# djangorestframework
Expand Down
3 changes: 3 additions & 0 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ celery>=5.2.2,<6.0.0

openedx-events<=9.0.0
pytz<=2022.7.1

# backports.zoneinfo is only needed for Python < 3.9
backports.zoneinfo; python_version<'3.9'
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 @@ attrs==24.2.0
# via
# -r requirements/base.txt
# openedx-events
backports-zoneinfo[tzdata]==0.2.1
backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# -r requirements/base.txt
# celery
# django
Expand Down

0 comments on commit fb9c77a

Please sign in to comment.