allixender / dggrid4py

A Python 3.8+ wrapper for the DGGS tool DGGRID from Kevin Sahr
https://dggrid4py.readthedocs.io/en/v0.3.0/
GNU Affero General Public License v3.0
23 stars 6 forks source link

Dependenices conflict on shapely when install with poetry #8

Closed tik65536 closed 4 weeks ago

tik65536 commented 4 weeks ago

Hi @allixender, I was trying to upgrade dggrid4py to the lastest version (0.2.8), however, poetry complains on the version of shapely doesn't match with the requirement. The shapely version of my env is 2.0.2 , and the error prompts that the dggrid4py require shapely >=1.7 and <2.0.

I have try on a completely new env with nothing install except python, still failed with shapely. Here is the screen shot for installing dggrid4py==0.2.8 in a clean env.

Screenshot from 2024-10-28 09-42-01

The following screen shot i with shapely 2.0.2 installed before installing dggrid4py.

Screenshot from 2024-10-28 09-41-02

Thanks, Tik

allixender commented 4 weeks ago

The published package still had an old version of my project.toml dependencies:

[tool.poetry.dependencies]
python = "^3.8"
numpy = "^1.21"
pandas = "^1.3"
fiona = "^1.8"
shapely = "^1.7"
geopandas = "^0.9"

My bad. I'll cut a new release and new package version.

allixender commented 4 weeks ago

Should be fixed @tik65536 , please confirm and close

tik65536 commented 4 weeks ago

@allixender , thx ~ the installation with the lastest version (0.2.9) goes fine .