FTBFS when building with python 2.7 owing to test faliures
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-shapely (Ubuntu) |
Fix Released
|
Medium
|
Artur Rona |
Bug Description
Binary package hint: python-shapely
The following tests fail when built with python 2.7 owing to changes in the conversions from long integers and regular integers to floating points referred to here: http://
=======
FAIL: /tmp/buildd/
Doctest: Point.txt
-------
Traceback (most recent call last):
File "/usr/lib/
raise self.failureExc
AssertionError: Failed doctest test for Point.txt
File "/tmp/buildd/
-------
File "/tmp/buildd/
Failed example:
pa.distance(p)
Expected:
4.123105625
Got:
4.123105625
=======
FAIL: /tmp/buildd/
Doctest: MultiPolygon.txt
-------
Traceback (most recent call last):
File "/usr/lib/
raise self.failureExc
AssertionError: Failed doctest test for MultiPolygon.txt
File "/tmp/buildd/
-------
File "/tmp/buildd/
Failed example:
geom.
Expected:
{'type': 'MultiPolygon', 'coordinates': [[((0.0, 0.0), (0.0, 1.0), (1.0, 1.0), (1.0, 0.0), (0.0, 0.0)), ((0.10000000000
Got:
{'type': 'MultiPolygon', 'coordinates': [[((0.0, 0.0), (0.0, 1.0), (1.0, 1.0), (1.0, 0.0), (0.0, 0.0)), ((0.1, 0.1), (0.1, 0.2), (0.2, 0.2), (0.2, 0.1), (0.1, 0.1))]]}
=======
FAIL: /tmp/buildd/
Doctest: Polygon.txt
-------
Traceback (most recent call last):
File "/usr/lib/
raise self.failureExc
AssertionError: Failed doctest test for Polygon.txt
File "/tmp/buildd/
-------
File "/tmp/buildd/
Failed example:
polygon.
Expected:
{'type': 'Polygon', 'coordinates': (((0.0, 0.0), (0.0, 1.0), (1.0, 1.0), (2.0, -1.0), (0.0, 0.0)), ((0.10000000000
Got:
{'type': 'Polygon', 'coordinates': (((0.0, 0.0), (0.0, 1.0), (1.0, 1.0), (2.0, -1.0), (0.0, 0.0)), ((0.1, 0.1), (0.1, 0.2), (0.2, 0.2), (0.2, 0.1), (0.1, 0.1)))}
-------
Related branches
Changed in python-shapely (Ubuntu): | |
assignee: | nobody → Artur Rona (ari-tczew) |
status: | Confirmed → In Progress |
tags: | added: python27 |
Bug has been reported upstream here: trac.gispython. org/lab/ ticket/ 248
http://