From 768629a5999c066dede470a7ba1a94eec8ceaa26 Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Sat, 12 Jan 2019 18:58:42 +0100 Subject: [PATCH 1/2] Always raise an error when importing from django.contrib.gis --- kalite/packages/bundled/django/contrib/gis/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kalite/packages/bundled/django/contrib/gis/__init__.py b/kalite/packages/bundled/django/contrib/gis/__init__.py index c996fdfdc2..1b38f9a176 100644 --- a/kalite/packages/bundled/django/contrib/gis/__init__.py +++ b/kalite/packages/bundled/django/contrib/gis/__init__.py @@ -4,3 +4,9 @@ memoryview = memoryview else: memoryview = buffer + + +# Disable all this stuff because we do not want unnecessary imports of system +# libraries that may break needlessly +# Ref: https://github.com/iiab/iiab/issues/1382 +raise ImportError("Harmless: We do not support gis") \ No newline at end of file From 56bee659f508e2195226e540c483a98cebdb8657 Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Sat, 12 Jan 2019 20:34:44 +0100 Subject: [PATCH 2/2] release note for libgeos fix [ci-skip] --- docs/installguide/release_notes.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/installguide/release_notes.rst b/docs/installguide/release_notes.rst index bf81c33a08..8f167c3a86 100644 --- a/docs/installguide/release_notes.rst +++ b/docs/installguide/release_notes.rst @@ -8,6 +8,13 @@ to read the release notes. upgrading from ``0.16.x`` to ``0.17.x`` is fine - but upgrading from ``0.15.x`` to ``0.17.x`` is not guaranteed to work. +0.17.6.dev +---------- + +Bug fixes +^^^^^^^^^ + +* Fix rare ``GEOSException`` on systems with libgeos :url-issue:`5592` 0.17.5 ------