From af2d81f7c2e5e0ddee4cff17d0e3a2e0adede8e5 Mon Sep 17 00:00:00 2001 From: itskshtiiz321 Date: Mon, 1 Aug 2022 07:11:20 +0000 Subject: [PATCH 1/4] uncommented gdal and removed numpy --- requirements.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index 2817894a..e89eba27 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,7 +16,6 @@ itsdangerous==2.0.1 pytest == 3.7 testing.postgresql==1.3.0 pandas == 1.3.4 -# numpy == 1.22 geojson == 2.5.0 # Used for new relic monitoring newrelic == 7.2.4.171 @@ -26,10 +25,8 @@ sphinx_rtd_theme==1.0.0 sphinx==4.2.0 area==1.1.1 orjson==3.6.7 -# pagination -# fastapi-pagination==0.9.1 boto3==1.24.38 Fiona==1.8.21 fastapi-versioning==0.10.0 #gdal and ogr2ogr is required on the machine to run rawdata endpoint -# gdal == 3.3.2 \ No newline at end of file +gdal == 3.3.2 \ No newline at end of file From 6a4b7195379a1af04a6f6cba55faf674711abd51 Mon Sep 17 00:00:00 2001 From: itskshtiiz321 Date: Mon, 1 Aug 2022 07:15:02 +0000 Subject: [PATCH 2/4] added gdal bin to yml --- .github/workflows/Unit-Test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/Unit-Test.yml b/.github/workflows/Unit-Test.yml index 872570a0..ead3b36f 100644 --- a/.github/workflows/Unit-Test.yml +++ b/.github/workflows/Unit-Test.yml @@ -36,6 +36,11 @@ jobs: run: | sudo apt-get update sudo apt install postgis postgresql-12-postgis-3 + - name: Install gdal + run: | + sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable + sudo apt-get update + sudo apt-get install gdal-bin libgdal-dev - name: Install Dependencies run: | From 9c6da65015e00b2b01ff1f46497e634bfffb9650 Mon Sep 17 00:00:00 2001 From: itskshtiiz321 Date: Mon, 1 Aug 2022 07:15:33 +0000 Subject: [PATCH 3/4] disabled fiona --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index e89eba27..5de953fc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -26,7 +26,7 @@ sphinx==4.2.0 area==1.1.1 orjson==3.6.7 boto3==1.24.38 -Fiona==1.8.21 +#Fiona==1.8.21 fastapi-versioning==0.10.0 #gdal and ogr2ogr is required on the machine to run rawdata endpoint gdal == 3.3.2 \ No newline at end of file From 71e464acf1cddb179c785c1a1483e9d5005591d1 Mon Sep 17 00:00:00 2001 From: itskshtiiz321 Date: Mon, 1 Aug 2022 07:20:01 +0000 Subject: [PATCH 4/4] added fiona back --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 5de953fc..e89eba27 100644 --- a/requirements.txt +++ b/requirements.txt @@ -26,7 +26,7 @@ sphinx==4.2.0 area==1.1.1 orjson==3.6.7 boto3==1.24.38 -#Fiona==1.8.21 +Fiona==1.8.21 fastapi-versioning==0.10.0 #gdal and ogr2ogr is required on the machine to run rawdata endpoint gdal == 3.3.2 \ No newline at end of file