From 681bc87ba86c9a7ab1c0a8ca2d91332acc6d2e63 Mon Sep 17 00:00:00 2001 From: Endy Iskandar Imam Date: Wed, 12 Feb 2020 23:19:57 -0500 Subject: [PATCH 1/4] Updated Pillow and Psycopg2 to allow 3.8 compatibility. This is to allow compatibility for Python 3.8 for newcomers while retaining support for 3.6 and 3.7 --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 3060d4a..a19b710 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,8 +5,8 @@ Django==2.1.11 djangorestframework==3.9.3 gunicorn==19.9.0 idna==2.8 -Pillow==6.2.0 -psycopg2==2.7.5 +Pillow==6.2.2 +psycopg2==2.8.4 pytz==2018.9 requests==2.21.0 simplejson==3.16.0 From 8462826ed6cf340678b91621a430c38fef24aab3 Mon Sep 17 00:00:00 2001 From: Endy Iskandar Imam Date: Tue, 3 Mar 2020 20:48:20 -0500 Subject: [PATCH 2/4] Modified and Tested new requirements.txt to comply to 3.6-3.8 --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index a19b710..508104d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,10 +7,10 @@ gunicorn==19.9.0 idna==2.8 Pillow==6.2.2 psycopg2==2.8.4 +python-dotenv==0.11.0 pytz==2018.9 requests==2.21.0 simplejson==3.16.0 +soupsieve==2.0 sqlparse==0.3.0 urllib3==1.24.2 -apscheduler==3.6.0 -python-dotenv==0.11.0 From 33134f441f66ae03fb76c577d51547137f8a6bdc Mon Sep 17 00:00:00 2001 From: Endy Iskandar Imam Date: Tue, 3 Mar 2020 21:55:58 -0500 Subject: [PATCH 3/4] Removed transitive dependency in requirements.txt --- requirements.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 508104d..46813fc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,6 +11,5 @@ python-dotenv==0.11.0 pytz==2018.9 requests==2.21.0 simplejson==3.16.0 -soupsieve==2.0 sqlparse==0.3.0 urllib3==1.24.2 From 6fdc2fc2761c85f969cd9d0d225e106bbb35f2de Mon Sep 17 00:00:00 2001 From: Endy Iskandar Imam Date: Tue, 3 Mar 2020 23:51:24 -0500 Subject: [PATCH 4/4] Moved python-dotenv to dev-requirements.txt for outside of deployment. --- dev_requirements.txt | 1 + requirements.txt | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/dev_requirements.txt b/dev_requirements.txt index 930b21a..c3982a2 100644 --- a/dev_requirements.txt +++ b/dev_requirements.txt @@ -1,3 +1,4 @@ black flake8 +python-dotenv coloredlogs==10.0 diff --git a/requirements.txt b/requirements.txt index 46813fc..306df8b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,7 +7,6 @@ gunicorn==19.9.0 idna==2.8 Pillow==6.2.2 psycopg2==2.8.4 -python-dotenv==0.11.0 pytz==2018.9 requests==2.21.0 simplejson==3.16.0