Skip to content

Commit

Permalink
build: Explicitly restrict backports.zoneinfo to python<3.9
Browse files Browse the repository at this point in the history
For somereason whene pip-compile is compiling requiremnets it's not
pulling this environment marker from the upstream dependency so we need
to add this depedency of django explicitly for now so that we can
restrict it to python<3.9 and have that show up in our requirements
files.
  • Loading branch information
feanil committed Mar 14, 2024
1 parent 646e8ea commit 08110af
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions requirements/django.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@
Django
openedx-django-pyfs>=1.0.5
lazy

# Needed until we drop testing on Python 3.8 so that
# we don't try to install this on newer versions of python.
backports.zoneinfo;python_version<"3.9"

0 comments on commit 08110af

Please sign in to comment.