Skip to content

Commit 8a3ea55

Browse files
committed
fix(deps): upgrade plpygis
1 parent b030f83 commit 8a3ea55

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/pypgstac/pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ classifiers = [
1818
"Programming Language :: Python :: 3.11",
1919
]
2020
dependencies = [
21-
"cachetools>=5.3.0",
22-
"fire>=0.4.0",
23-
"hydraters>=0.1.0",
24-
"orjson>=3.7.0",
25-
"plpygis>=0.2.0",
21+
"smart-open>=4.2",
22+
"orjson>=3.5.2",
23+
"python-dateutil==2.8.*",
24+
"fire==0.4.*",
25+
"plpygis==0.5.*",
2626
"pydantic>=1.7",
2727
"python-dateutil>=2.8.0",
2828
"smart-open>=5.0",

src/pypgstac/src/pypgstac/load.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ def format_item(self, _item: Union[Path, str, Dict[str, Any]]) -> Dict[str, Any]
673673
geom = Geometry.from_geojson(geojson)
674674
if geom is None:
675675
raise Exception(f"Invalid geometry encountered: {geojson}")
676-
geometry = str(geom.wkb)
676+
geometry = str(geom.ewkb)
677677
out["geometry"] = geometry
678678

679679
content = dehydrate(base_item, item)

0 commit comments

Comments
 (0)