Skip to content

Commit

Permalink
[SEDONA-553] Update Sedona docker to use newer GeoPandas (#1418)
Browse files Browse the repository at this point in the history
* Update docker and notebooks

* Do not check requirement.txt
  • Loading branch information
jiayuasu committed May 19, 2024
1 parent 30308e6 commit b4cec4b
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 14 deletions.
2 changes: 0 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ repos:
- id: forbid-submodules
- id: mixed-line-ending
exclude: \.csv$
- id: requirements-txt-fixer
files: ^docker/sedona-spark-jupyterlab/requirements\.txt$
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
exclude: ^docs-overrides/main\.html$|\.Rd$
Expand Down
5 changes: 3 additions & 2 deletions docker/sedona-spark-jupyterlab/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
attrs
descartes
fiona==1.8.22
geopandas==0.11.1
pandas==1.5.3
shapely==2.0.4
geopandas==0.14.4
ipykernel
ipywidgets
jupyterlab==3.6.4
jupyterlab-widgets==1.1.7
keplergl==0.3.2
matplotlib
pandas==1.3.5
pydeck==0.8.0
1 change: 0 additions & 1 deletion docs/usecases/ApacheSedonaCore.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@
" 'org.apache.sedona:sedona-spark-3.4_2.12:1.5.1,'\n",
" 'org.datasyslab:geotools-wrapper:1.5.1-28.2,'\n",
" 'uk.co.gresearch.spark:spark-extension_2.12:2.11.0-3.4'). \\\n",
" config('spark.jars.repositories', 'https://artifacts.unidata.ucar.edu/repository/unidata-all'). \\\n",
" getOrCreate()\n",
"\n",
"sedona = SedonaContext.create(config)"
Expand Down
1 change: 0 additions & 1 deletion docs/usecases/ApacheSedonaRaster.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@
" 'org.apache.sedona:sedona-spark-3.4_2.12:1.5.1,'\n",
" 'org.datasyslab:geotools-wrapper:1.5.1-28.2,'\n",
" 'uk.co.gresearch.spark:spark-extension_2.12:2.11.0-3.4'). \\\n",
" config('spark.jars.repositories', 'https://artifacts.unidata.ucar.edu/repository/unidata-all'). \\\n",
" getOrCreate()\n",
"\n",
"sedona = SedonaContext.create(config)\n",
Expand Down
1 change: 0 additions & 1 deletion docs/usecases/ApacheSedonaSQL.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@
" 'org.apache.sedona:sedona-spark-3.4_2.12:1.5.1,'\n",
" 'org.datasyslab:geotools-wrapper:1.5.1-28.2,'\n",
" 'uk.co.gresearch.spark:spark-extension_2.12:2.11.0-3.4'). \\\n",
" config('spark.jars.repositories', 'https://artifacts.unidata.ucar.edu/repository/unidata-all'). \\\n",
" getOrCreate()\n",
"\n",
"sedona = SedonaContext.create(config)\n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
" 'org.apache.sedona:sedona-spark-shaded-3.4_2.12:1.5.1,'\n",
" 'org.datasyslab:geotools-wrapper:1.5.1-28.2,'\n",
" 'uk.co.gresearch.spark:spark-extension_2.12:2.11.0-3.4'). \\\n",
" config('spark.jars.repositories', 'https://artifacts.unidata.ucar.edu/repository/unidata-all'). \\\n",
" getOrCreate()\n",
"\n",
"sedona = SedonaContext.create(config)\n",
Expand Down
8 changes: 4 additions & 4 deletions docs/usecases/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ mkdocs="*"
pytest-cov = "*"

[packages]
pandas="1.3.5"
shapely="==1.8.4"
geopandas="==0.11.1"
pandas="1.5.3"
shapely="==2.0.4"
geopandas="==0.14.4"
pyspark="==3.4.0"
attrs="*"
apache-sedona="==1.5.1"
apache-sedona="==1.6.0"
matplotlib = "*"
descartes = "*"
keplergl = "==0.3.2"
Expand Down
3 changes: 1 addition & 2 deletions docs/usecases/Sedona_OvertureMaps_GeoParquet.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
},
"outputs": [],
"source": [
"DATA_LINK = \"s3a://wherobots-public-data/overturemaps-us-west-2/release/2023-07-26-alpha.0/\""
"DATA_LINK = \"s3a://wherobots-examples/data/overturemaps-us-west-2/release/2023-07-26-alpha.0/\""
]
},
{
Expand Down Expand Up @@ -219,7 +219,6 @@
" 'org.apache.sedona:sedona-spark-3.4_2.12:1.5.1,'\n",
" 'org.datasyslab:geotools-wrapper:1.5.1-28.2,'\n",
" 'uk.co.gresearch.spark:spark-extension_2.12:2.11.0-3.4'). \\\n",
" config('spark.jars.repositories', 'https://artifacts.unidata.ucar.edu/repository/unidata-all'). \\\n",
" getOrCreate()\n",
"\n",
"sedona = SedonaContext.create(config)"
Expand Down

0 comments on commit b4cec4b

Please sign in to comment.