Closed miceno closed 7 months ago
Patching the requirements of geonode-importer allowed installing succesfully. Here it is the patch:
diff --git a/setup.py b/setup.py
index 213bae1..6f23cdf 100644
--- a/setup.py
+++ b/setup.py
@@ -33,7 +33,7 @@ setup(
include_package_data=True,
install_requires=[
"setuptools>=59",
- "gdal==3.2.2.1",
+ "gdal>=3.5",
"pdok-geopackage-validator==0.8.0",
"geonode-django-dynamic-model==0.4.0",
],
It also required some tuning of environment variables:
export PATH=$PATH:/usr/pgsql-13/bin:/usr/gdal36/bin
It is related to https://github.com/GeoNode/geonode/issues/11683
Hi @miceno Thanks for opening the issue. The fixed version of the gdal is needed due a dependency for the gpkg validation library . We open in past an issue related to this on the dependency repo but it looks like was needed.
Since newer release of the library are published, we can try to upgrade the dependency to the lastest version and see if we can be less strict on that @giohappy
@miceno Can you please try again using this branch? With this branch contains the library upgrade and i removed the fixed dependency of gdal
You can install the branch with:
pip install -e git+https://github.com/geosolutions-it/geonode-importer.git@ISSUE_218#egg=geonode_importer
GeoNode version: master (sha:a42f9f2426de444d51ab12046452893679d5803f) Installation type (vanilla, geonode-project): vanilla Installation method (manual, docker): manual Platform: Almalinux 9.3
I was following the instructions to setup geonode, but using python 3.11.
I used gdal36 library, so I installed it manually:
While running command
pip install -e .
, a conflict raised becausegeonode-importer
is installinggdal==3.2.2.1
, but the virtual environment hasgdal36
. Here it is the output of the installation:The expected behaviour was that the available version of
gdal
was valid.