Opened 8 years ago

Closed 8 years ago

#390 closed defect (fixed)

Update python shapely library

Reported by: ccrook Owned by: osgeo4w-dev@…
Priority: minor Component: Package
Version: Keywords: python shapely
Cc:

Description

Hi

Currently the python shapely library is at version 1.2.9, which is causing problems with versions of the GEOS library that include the SVN revisions in the version number. This means that the library cannot be loaded - see for example

https://github.com/ccrook/QGIS-Contour-Plugin/issues/3

and

https://github.com/Toblerity/Shapely/issues/76#issuecomment-2779203

Could the module be upgrade to >= 1.2.15 please?

Change History (4)

comment:1 Changed 8 years ago by jef

Resolution: fixed
Status: newclosed

fixed in 1.2.18-1 (same as 1.2.18-2 in 64bit)

comment:2 Changed 8 years ago by ccrook

Resolution: fixed
Status: closedreopened

Hi

Thanks for the amazingly quick response.. I wonder if there could still be a packaging issue though - the user who originally identified the error reports:

=================================================================

On my system I found two folders:

C:\OSGeo4W\apps\python27\lib\site-packages\shapely and C:\OSGeo4W\apps\python27\lib\site-packages\Shapely-1.2.18-py2.7-win32.egg

The last one was updated today, by QGIS is still uses first one while loading "contour"

I renamed "shapely" into "shapely-old" and

Shapely-1.2.18-py2.7-win32.egg into "shapely" but now it cannot find module "shapely.geometry"

Now it I copy folder "shapely" from Shapely-1.2.18-py2.7-win32.egg into C:\OSGeo4W\apps\python27\lib\site-packages\ everything works!

comment:3 Changed 8 years ago by jef

Deinstalling (or upgrading) the old shapely package leaves the old pyc files around. Removing the old shapely directory helps here.

comment:4 Changed 8 years ago by jef

Resolution: fixed
Status: reopenedclosed

apparently fixed.

Note: See TracTickets for help on using tickets.