Skip to content

Commit

Permalink
chore(deps): update dependency django to v3.0.2 (#2723)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency django to v3.0.2

* manually update django in some spots

* fix test failures wrt psycopg2

* specify django for python2

* More python django version stuff

* gunicorn python versionin

* make appengine django cloudsql tests py3 only

* pin django versions for python versions

* fix error

Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com>
  • Loading branch information
renovate-bot and leahecole authored Feb 3, 2020
1 parent 8215f45 commit 7af14f7
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 7 deletions.
6 changes: 4 additions & 2 deletions appengine/flexible/django_cloudsql/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Django==3.0.1
Django==3.0.2; python_version > '3.5'
Django==2.2.9; python_version == '3.5'
# mysqlclient==1.4.1 # Uncomment this line if using MySQL
wheel==0.33.6
gunicorn==20.0.4
psycopg2==2.8.4
#psycopg2==2.8.4 # uncomment if you prefer to build from source
psycopg2-binary==2.8.4
7 changes: 5 additions & 2 deletions appengine/flexible/hello_world_django/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
Django==3.0.1
gunicorn==20.0.4
Django==3.0.2; python_version > '3.5'
Django==2.2.9; python_version == '3.5'
Django==1.11.27; python_version < '3.0'
gunicorn==20.0.4; python_version > '3.0'
gunicorn==19.10.0; python_version < '3.0'
10 changes: 7 additions & 3 deletions kubernetes_engine/django_tutorial/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
Django==3.0.1
Django==3.0.2; python_version > '3.5'
Django==2.2.9; python_version == '3.5'
Django==1.11.27;python_version < '3.0'
# Uncomment the mysqlclient requirement if you are using MySQL rather than
# PostgreSQL. You must also have a MySQL client installed in that case.
#mysqlclient==1.4.1
wheel==0.33.6
gunicorn==20.0.4
psycopg2==2.8.4
gunicorn==20.0.4; python_version > '3.0'
gunicorn==19.10.0; python_version < '3.0'
# psycopg2==2.8.4 # uncomment if you prefer to build from source
psycopg2-binary==2.8.4
3 changes: 3 additions & 0 deletions noxfile-template.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ def _setup_appengine_sdk(session):
str(Path(sample).absolute().relative_to(REPO_ROOT)).startswith(
"appengine/standard_python37"
)
or str(Path(sample).absolute().relative_to(REPO_ROOT)).startswith(
"appengine/flexible/django_cloudsql"
)
or str(Path(sample).absolute().relative_to(REPO_ROOT)).startswith("functions/")
or str(Path(sample).absolute().relative_to(REPO_ROOT)).startswith(
"bigquery/pandas-gbq-migration"
Expand Down

0 comments on commit 7af14f7

Please sign in to comment.