From 4697bee70f2f771b962ec1c5fe1516a2204fb311 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Fri, 28 Jul 2023 18:41:18 +0800 Subject: [PATCH] Fixed mismatches in python versions --- Pipfile | 3 ++- Pipfile.lock | 13 ++++++++++--- stude/config/settings.py | 2 +- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/Pipfile b/Pipfile index db0b428..44c5dea 100644 --- a/Pipfile +++ b/Pipfile @@ -16,8 +16,9 @@ psycopg2 = "*" django-leaflet = "*" django-extra-fields = "*" drf-spectacular = {extras = ["sidecar"], version = "*"} +gdal = {path = "./packages/GDAL-3.4.3-cp311-cp311-win_amd64.whl"} [dev-packages] [requires] -python_version = "3.10" +python_version = "3.11" diff --git a/Pipfile.lock b/Pipfile.lock index ff7d582..b909464 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,11 +1,11 @@ { "_meta": { "hash": { - "sha256": "a4f6715106c65a972a21b76a8e9f6ca4b79337de9f54f8012b47b146a41c2bfc" + "sha256": "b44f5667ccfa3143777521215b9fff2820e9dcd3c1d9bf4759184769d7142472" }, "pipfile-spec": 6, "requires": { - "python_version": "3.10" + "python_version": "3.11" }, "sources": [ { @@ -344,6 +344,13 @@ ], "version": "==2023.7.1" }, + "gdal": { + "hashes": [ + "sha256:f78861fb5115d5c2f8cf3c52a492ff548da9e1256dc84088947379f90e77e5b6" + ], + "path": "./packages/GDAL-3.4.3-cp311-cp311-win_amd64.whl", + "version": "==3.4.3" + }, "hyperlink": { "hashes": [ "sha256:427af957daa58bc909471c6c40f74c5450fa123dd093fc53efd2e91d2705a56b", @@ -731,7 +738,7 @@ "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926", "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254" ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'", + "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", "version": "==1.16.0" }, "social-auth-app-django": { diff --git a/stude/config/settings.py b/stude/config/settings.py index ebb3a62..0622631 100644 --- a/stude/config/settings.py +++ b/stude/config/settings.py @@ -28,7 +28,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent SECRET_KEY = str(os.getenv('SECRET_KEY')) # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True +DEBUG = False FRONTEND_DEBUG = False ALLOWED_HOSTS = ['*']