Am 14.01.2011, 00:20 Uhr, schrieb Volker Fröhlich <[email protected]>:

Dear readers!

I've got problems with the Shapely unit tests, as I stated under
http://trac.gispython.org/lab/ticket/244

Since geos, numpy and swig are the same for systems that fail and systems that
pass, the only difference seems to be Python 2.7 and 2.6.

Can somebody confirm failing tests for Python 2.7 and maybe find a way around? I've got Shapely queued for introduction into Fedora but hesitate therefore.

The problem itself does not seem critical, I guess it is caused by one of these changes in Python 2.7:

'''
- The repr() of a float x is shorter in many cases: it’s now based on the shortest decimal string that’s guaranteed to round back to x. As in previous versions of Python, it’s guaranteed that float(repr(x)) recovers x.

- Float-to-string and string-to-float conversions are correctly rounded. The round() function is also now correctly rounded.
'''
(from http://docs.python.org/dev/whatsnew/2.7.html)

So I guess only the tests need some way to accomodate for this.

-Matthias
_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community

Reply via email to