You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sedona.apache.org by ji...@apache.org on 2024/10/14 23:25:00 UTC

(sedona) branch pin-rasterio created (now 2d3521bda)

This is an automated email from the ASF dual-hosted git repository.

jiayu pushed a change to branch pin-rasterio
in repository https://gitbox.apache.org/repos/asf/sedona.git


      at 2d3521bda Ping rasterio version to < 1.4.0 so it can work with GDAL 3.4.1 which is shipped by Ubuntu 22 by default

This branch includes the following new commits:

     new 2d3521bda Ping rasterio version to < 1.4.0 so it can work with GDAL 3.4.1 which is shipped by Ubuntu 22 by default

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(sedona) 01/01: Ping rasterio version to < 1.4.0 so it can work with GDAL 3.4.1 which is shipped by Ubuntu 22 by default

Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jiayu pushed a commit to branch pin-rasterio
in repository https://gitbox.apache.org/repos/asf/sedona.git

commit 2d3521bda9ee1703c703968e9b31d3d6b0104782
Author: Jia Yu <ji...@apache.org>
AuthorDate: Mon Oct 14 16:24:45 2024 -0700

    Ping rasterio version to < 1.4.0 so it can work with GDAL 3.4.1 which is shipped by Ubuntu 22 by default
---
 docker/sedona-spark-jupyterlab/requirements.txt             | 1 +
 docker/sedona-spark-jupyterlab/sedona-jupyterlab.dockerfile | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/docker/sedona-spark-jupyterlab/requirements.txt b/docker/sedona-spark-jupyterlab/requirements.txt
index 17e0433c2..00ed6a2cc 100644
--- a/docker/sedona-spark-jupyterlab/requirements.txt
+++ b/docker/sedona-spark-jupyterlab/requirements.txt
@@ -4,6 +4,7 @@ fiona==1.8.22
 pandas==1.5.3
 shapely==2.0.4
 geopandas==0.14.4
+rasterio==1.3.11
 ipykernel
 ipywidgets
 jupyterlab==3.6.4
diff --git a/docker/sedona-spark-jupyterlab/sedona-jupyterlab.dockerfile b/docker/sedona-spark-jupyterlab/sedona-jupyterlab.dockerfile
index 1be8b8f67..1b3963734 100644
--- a/docker/sedona-spark-jupyterlab/sedona-jupyterlab.dockerfile
+++ b/docker/sedona-spark-jupyterlab/sedona-jupyterlab.dockerfile
@@ -45,12 +45,13 @@ COPY ./ ${SEDONA_HOME}/
 RUN chmod +x ${SEDONA_HOME}/docker/spark.sh
 RUN chmod +x ${SEDONA_HOME}/docker/sedona.sh
 RUN ${SEDONA_HOME}/docker/spark.sh ${spark_version} ${hadoop_version} ${hadoop_s3_version} ${aws_sdk_version} ${spark_xml_version}
-RUN ${SEDONA_HOME}/docker/sedona.sh ${sedona_version} ${geotools_wrapper_version} ${spark_version} ${spark_extension_version}
 
 # Install Python dependencies
 COPY docker/sedona-spark-jupyterlab/requirements.txt /opt/requirements.txt
 RUN pip3 install -r /opt/requirements.txt
 
+RUN ${SEDONA_HOME}/docker/sedona.sh ${sedona_version} ${geotools_wrapper_version} ${spark_version} ${spark_extension_version}
+
 COPY docs/usecases/*.ipynb /opt/workspace/examples/
 COPY docs/usecases/*.py /opt/workspace/examples/
 COPY docs/usecases/data /opt/workspace/examples/data