Skip to content

Commit

Permalink
fix: pin backports.zoneinfo for python<3.9 only
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Feb 27, 2024
1 parent 59ee56e commit 97dc692
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 10 deletions.
1 change: 1 addition & 0 deletions requirements/base.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ django-model-utils
edx-rbac
rules
factory_boy
backports.zoneinfo;python_version<"3.9" # Can be removed once we upgrade to Python 3.12
7 changes: 5 additions & 2 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ asn1crypto==1.5.1
# via snowflake-connector-python
awscli==1.32.50
# via -r requirements/reporting.in
backports-zoneinfo==0.2.1
# via django
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -r requirements/base.in
# -r requirements/reporting.in
# django
bcrypt==4.1.2
# via paramiko
billiard==3.6.4.0
Expand Down
2 changes: 2 additions & 0 deletions requirements/common_constraints.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@





# A central location for most common version constraints
# (across edx repos) for pip-installation.
#
Expand Down
7 changes: 5 additions & 2 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ astroid==3.1.0
# pylint-celery
awscli==1.32.50
# via -r requirements/reporting.in
backports-zoneinfo==0.2.1
# via django
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -r requirements/base.in
# -r requirements/reporting.in
# django
bcrypt==4.1.2
# via paramiko
billiard==3.6.4.0
Expand Down
7 changes: 5 additions & 2 deletions requirements/quality.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ astroid==3.1.0
# pylint-celery
awscli==1.32.50
# via -r requirements/reporting.in
backports-zoneinfo==0.2.1
# via django
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -r requirements/base.in
# -r requirements/reporting.in
# django
bcrypt==4.1.2
# via paramiko
billiard==3.6.4.0
Expand Down
1 change: 1 addition & 0 deletions requirements/reporting.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ pyminizip # Required for Enterprise Reporting
unicodecsv==0.14.1 # Allows exporting CSV with unicode support (a drop-in replacement for built-in csv module)
vertica-python # Required for Enterprise Reporting
snowflake-connector-python # Required for Enterprise Reporting
backports.zoneinfo;python_version<"3.9" # Can be removed once we upgrade to Python 3.12

# Official py2neo version has been removed from both PyPI/GitHub
# Using the latest available fork for now unless
Expand Down
7 changes: 5 additions & 2 deletions requirements/test-master.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ asn1crypto==1.5.1
# via snowflake-connector-python
awscli==1.32.50
# via -r requirements/reporting.in
backports-zoneinfo==0.2.1
# via django
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -r requirements/base.in
# -r requirements/reporting.in
# django
bcrypt==4.1.2
# via paramiko
billiard==3.6.4.0
Expand Down
2 changes: 2 additions & 0 deletions requirements/test-reporting.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ attrs==23.2.0
# via pytest
awscli==1.32.50
# via -r requirements/reporting.in
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via -r requirements/reporting.in
bcrypt==4.1.2
# via paramiko
billiard==3.6.4.0
Expand Down
7 changes: 5 additions & 2 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ asn1crypto==1.5.1
# via snowflake-connector-python
awscli==1.32.50
# via -r requirements/reporting.in
backports-zoneinfo==0.2.1
# via django
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -r requirements/base.in
# -r requirements/reporting.in
# django
bcrypt==4.1.2
# via paramiko
billiard==3.6.4.0
Expand Down

0 comments on commit 97dc692

Please sign in to comment.