Skip to content

Commit df61d81

Browse files
authored
chore: remove geoarrow-pandas dependency (#219)
* chore: remove geoarrow-pandas dependency * chore: bump rq_geo_toolkit version * fix: change test setup
1 parent 807a0c3 commit df61d81

File tree

5 files changed

+14
-142
lines changed

5 files changed

+14
-142
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
- Removed `h3` and `s2` dependencies from the `cli` group and replaced them with `h3` and `geography` DuckDB extensions
1313

14+
### Removed
15+
16+
- `geoarrow-pandas` from dependencies
17+
1418
## [0.14.2] - 2025-06-14
1519

1620
### Added

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ Required:
7676

7777
- `geoarrow-pyarrow (>=0.1.2)`: For GeoParquet IO operations and transforming Arrow data to Shapely objects
7878

79-
- `geoarrow-pandas (>=0.1.1)`: For GeoParquet integration with GeoPandas
80-
8179
- `geopandas (>=0.6)`: For returning GeoDataFrames and reading Geo files
8280

8381
- `shapely (>=2.0)`: For parsing WKT and GeoJSON strings and fixing geometries

pdm.lock

Lines changed: 4 additions & 137 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ dependencies = [
99
"pyarrow>=16.0.0",
1010
"duckdb>=1.1.2",
1111
"geoarrow-pyarrow>=0.1.2",
12-
"geoarrow-pandas>=0.1.1",
1312
"typeguard>=3.0.0",
1413
"psutil>=5.6.2",
1514
"pooch>=1.6.0",
@@ -20,7 +19,7 @@ dependencies = [
2019
"rich>=12.0.0",
2120
"geopy>=2.0.0",
2221
"numpy>=1.26.0",
23-
"rq_geo_toolkit>=2025.5.1",
22+
"rq_geo_toolkit>=2025.6.1",
2423
]
2524
requires-python = ">=3.9"
2625
readme = "README.md"

tests/base/test_pbf_file_reader.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,11 @@ def test_combining_files_different_techniques(
300300
debug_times=True,
301301
verbosity_mode="verbose",
302302
)
303-
assert gpd.read_parquet(result).set_index("feature_id").index.is_unique
303+
assert (
304+
pd.read_parquet(result, columns=[FEATURES_INDEX])
305+
.set_index(FEATURES_INDEX)
306+
.index.is_unique
307+
)
304308

305309
tab = pq.read_table(result)
306310
assert b"geo" in tab.schema.metadata

0 commit comments

Comments
 (0)