This is an automated email from the ASF dual-hosted git repository.
jiayu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sedona.git
The following commit(s) were added to refs/heads/master by this push:
new f8a4a8a47 [CI] Add pre-commit hook `requirements-txt-fixer` for Python
requirem… (#1635)
f8a4a8a47 is described below
commit f8a4a8a47477e4d66144e80d1d551b40d3e7dfea
Author: John Bampton <[email protected]>
AuthorDate: Thu Oct 24 11:16:57 2024 +1000
[CI] Add pre-commit hook `requirements-txt-fixer` for Python requirem…
(#1635)
https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#requirements-txt-fixer
refs https://github.com/apache/sedona/pull/1418
refs https://github.com/apache/sedona/pull/1349
---
.pre-commit-config.yaml | 2 ++
docker/sedona-spark-jupyterlab/requirements.txt | 6 +++---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 2d35c90bc..df652e118 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -78,6 +78,8 @@ 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$
diff --git a/docker/sedona-spark-jupyterlab/requirements.txt
b/docker/sedona-spark-jupyterlab/requirements.txt
index 00ed6a2cc..aa233c391 100644
--- a/docker/sedona-spark-jupyterlab/requirements.txt
+++ b/docker/sedona-spark-jupyterlab/requirements.txt
@@ -1,8 +1,6 @@
attrs
descartes
fiona==1.8.22
-pandas==1.5.3
-shapely==2.0.4
geopandas==0.14.4
rasterio==1.3.11
ipykernel
@@ -11,5 +9,7 @@ jupyterlab==3.6.4
jupyterlab-widgets==1.1.7
keplergl==0.3.2
matplotlib
-pydeck==0.8.0
numpy<2
+pandas==1.5.3
+pydeck==0.8.0
+shapely==2.0.4