[Django] #27450: GIS tests failure on MacOS 10.12.1 and python3.5

14 views
Skip to first unread message

Django

unread,
Nov 6, 2016, 5:44:05 AM11/6/16
to django-...@googlegroups.com
#27450: GIS tests failure on MacOS 10.12.1 and python3.5
------------------------------------------+------------------------
Reporter: Olivier Tabone | Owner: nobody
Type: Bug | Status: new
Component: GIS | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------+------------------------
failing test: test_band_data
(gis_tests.gdal_tests.test_raster.GDALBandTests)

interestingly the test pass with python 2.7 on the same machine.

lib versions, installed with mac ports

- gal 2.1.1
- geos 3.6.0
- python 3.5.2

{{{
======================================================================
FAIL: test_band_data (gis_tests.gdal_tests.test_raster.GDALBandTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py",
line 58, in testPartExecutor
yield
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py",
line 600, in run
testMethod()
File "/Users/olivier/dev/sprints/django-
olibook/tests/gis_tests/gdal_tests/test_raster.py", line 350, in
test_band_data
self.assertTrue(os.path.isfile(pam_file))
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py",
line 677, in assertTrue
raise self.failureException(msg)
AssertionError: False is not true

----------------------------------------------------------------------

}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27450>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Nov 6, 2016, 7:39:12 AM11/6/16
to django-...@googlegroups.com
#27450: GIS tests failure on MacOS 10.12.1 and python3.5
--------------------------------+--------------------------------------

Reporter: Olivier Tabone | Owner: nobody
Type: Bug | Status: closed
Component: GIS | Version: master
Severity: Normal | Resolution: duplicate

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------+--------------------------------------
Changes (by Saulius Žemaitaitis):

* status: new => closed
* resolution: => duplicate


Comment:

Duplicate of #27399.

A work-around is to install Pillow from source instead of a wheel:
{{{
pip install --no-binary Pillow -r tests/requirements/py3.txt
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27450#comment:1>

Django

unread,
Nov 6, 2016, 7:43:16 AM11/6/16
to django-...@googlegroups.com
#27450: GIS tests failure on MacOS 10.12.1 and python3.5
--------------------------------+--------------------------------------

Reporter: Olivier Tabone | Owner: nobody
Type: Bug | Status: new
Component: GIS | Version: master
Severity: Normal | Resolution:

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------+--------------------------------------
Changes (by Saulius Žemaitaitis):

* status: closed => new
* resolution: duplicate =>


Comment:

This is actually a different issue, sorry. It might be related to #27399
though.

--
Ticket URL: <https://code.djangoproject.com/ticket/27450#comment:2>

Django

unread,
Nov 7, 2016, 9:40:31 AM11/7/16
to django-...@googlegroups.com
#27450: GDALBandTests.test_band_data test failure on MacOS 10.12.1 and python3.5
--------------------------------+------------------------------------

Reporter: Olivier Tabone | Owner: nobody
Type: Bug | Status: new
Component: GIS | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------+------------------------------------
Changes (by Tim Graham):

* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/27450#comment:3>

Reply all
Reply to author
Forward
0 new messages