Closed Jiunixo closed 2 years ago
You are mixing channel there and makes debugging hard on our side. However, wheels and other binaries can be built with different dependencies and, as long as all the tests pass and the results are the same, or the differences are expected and documented, there isn't any real issue.
I need to have the version 3.10.3 of geos on conda-forge.
Why? Is there some specific functionality missing or test that is failing?
And if you need GEOS 3.10, you can install shapely with GEOS 3.10.3 by pinning GEOS: conda install shapely geos=3.10.3
. This will give shapely 1.8.2 and not 1.8.4, but that's only a small difference.
According to shapely release notes on GitHub 1.8.4 has been built on a 3.10.3 version of geos.
Theose notes say "Wheels for 1.8.4 published on PyPI include GEOS 3.10.3.", so that is is about wheels built by shapely itself, not about conda-forge.
Thank you very much for your quick feed-back.
When we install shapely 1.8.4 with pip on our local dev environment, GEOS 3.10.3 is installed and all our unit tests pass. Our pipeline on appveyor uses conda to install all the dependencies and we have there shapely 1.8.4 and GEOS 3.11.0 installed. One test fails repeatedly.
I'm testing the advice of pinning GEOS to 3.10.3 thus installing shapely 1.8.2. I hope it will work and workaround this issue.
Shapely uses C/C++ function of geos dll, so in my opinion, it is important for non regression that one specific version of shapely is released and qualified with one specific version of geos.
Shapely uses C/C++ function of geos dll, so in my opinion, it is important for non regression that one specific version of shapely is released and qualified with one specific version of geos.
Shapely supports a range of GEOS versions (currently 3.6 - 3.11). So if you want to use shapely with a specific GEOS version, you can install that GEOS version and then install Shapely from source (eg with pip's --no-binary
)
@Jiunixo I think you are describing shapely + geos 3.11 issues like this: shapely/shapely#1436 ?
I solve the problem by installing shapely with PyPi in conda environment on appveyor machine.
pip install shapely==1.8.4
@akrherz , yes it might be this kind of issue. Unfortunately I have not been able to reproduce the behaviour locally.
Thank you very much again for advices and help. For me the issue can be closed.
shapely 1.8.4
requires GEOS >=3.3
, see https://github.com/shapely/shapely/blob/7c63580a44af8d1db7b5e9805c659aeebddaf8d3/setup.py#L138
I'm closing this issue. We cannot build every version of shapely with every version of geos that it supports. Instead, conda-forge works hard to keep compatible versions of libraries like geos across all its ecosystem of packages.
Solution to issue cannot be found in the documentation.
Issue
According to shapely release notes on GitHub 1.8.4 has been built on a 3.10.3 version of geos.
However, when installing shapely=1.8.4 with conda-forge, the geos library version is 3.11.0.
I need to have the version 3.10.3 of geos on conda-forge.
Installed packages
Environment info