Skip to content

Commit 0f21f48

Browse files
engelkeglasntdandhleeAce Nassri
authored
Address django/python version compatibility (GoogleCloudPlatform#8031)
* Address django/python version compatibility * chore: apply review suggestion Co-authored-by: Katie McLaughlin <katie@glasnt.com> * chore: fix version numbers * chore: fix version numbers * chore: fix version numbers * chore: fix version numbers Co-authored-by: Katie McLaughlin <katie@glasnt.com> Co-authored-by: Dan Lee <71398022+dandhlee@users.noreply.github.com> Co-authored-by: Ace Nassri <anassri@google.com>
1 parent 8dd8275 commit 0f21f48

5 files changed

Lines changed: 12 additions & 7 deletions

File tree

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
Django==4.0.4
1+
Django==4.0.4; python_version >= '3.8'
2+
Django==3.2.13; python_version < '3.8'
23
gunicorn==20.1.0
34
psycopg2-binary==2.9.3
45
django-environ==0.8.1
56
google-cloud-secret-manager==2.11.1
6-
django-storages[google]==1.12.3
7+
django-storages[google]==1.12.3
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
Django==4.0.4
1+
Django==4.0.4; python_version >= '3.8'
2+
Django==3.2.13; python_version < '3.8'
23
gunicorn==20.1.0; python_version > '3.0'
34
gunicorn==19.10.0; python_version < '3.0'
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
Django==4.0.4
1+
Django==4.0.4; python_version >= '3.8'
2+
Django==3.2.13; python_version < '3.8'
23
django-environ==0.8.1
34
psycopg2-binary==2.9.3
4-
google-cloud-secret-manager==2.11.1
5+
google-cloud-secret-manager==2.11.1

kubernetes_engine/django_tutorial/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
Django==4.0.4
1+
Django==4.0.4; python_version >= '3.8'
2+
Django==3.2.13; python_version < '3.8'
23
# Uncomment the mysqlclient requirement if you are using MySQL rather than
34
# PostgreSQL. You must also have a MySQL client installed in that case.
45
#mysqlclient==1.4.1

run/django/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
Django==4.0.4
1+
Django==4.0.4; python_version >= '3.8'
2+
Django==3.2.13; python_version < '3.8'
23
django-storages[google]==1.12.3
34
django-environ==0.8.1
45
psycopg2-binary==2.9.3

0 commit comments

Comments
 (0)