David Smith
80aae83439
[4.2.x] Refs #33476 -- Applied Black's 2023 stable style.
...
Black 23.1.0 is released which, as the first release of the year,
introduces the 2023 stable style. This incorporates most of last year's
preview style.
https://github.com/psf/black/releases/tag/23.1.0
Backport of 097e3a70c1
from main
2023-02-01 11:37:29 +01:00
Florian Apolloner
58ad9a99a7
Removed usage of django.db.utils.ConnectionHandler.databases.
2022-03-17 07:36:34 +01:00
Mariusz Felisiak
970f5bf503
Fixed #33577 -- Confirmed support for GDAL 3.4.
2022-03-16 09:07:01 +01:00
Mariusz Felisiak
7119f40c98
Refs #33476 -- Refactored code to strictly match 88 characters line length.
2022-02-07 20:37:05 +01:00
django-bot
9c19aff7c7
Refs #33476 -- Reformatted code with Black.
2022-02-07 20:37:05 +01:00
Mariusz Felisiak
f605e85af9
Fixed #33453 -- Dropped support for GDAL 2.1.
2022-01-20 18:54:29 +01:00
Märt Häkkinen
ed317e79e3
Fixed #33030 -- Fixed broken links to GDAL docs.
2021-08-23 06:22:07 +02:00
Tim Graham
e3ece0144a
Removed redundant database vendor helpers in gis_tests/utils.py.
2021-01-13 09:22:44 +01:00
Tim Graham
dbb4a86fa7
Renamed BaseSpatialOperations.geography to BaseSpatialFeatures.supports_geography.
2020-11-09 08:12:00 +01:00
Tim Graham
fed257ddff
Prevented creation of 3D test models if not supported.
...
There's no problem creating the models on MySQL and Oracle
(which don't support 3D storage) but CockroachDB currently
crashes with a syntax error.
2020-09-15 07:48:48 +02:00
Mariusz Felisiak
bebf61de11
Added gis_tests.utils.mariadb hook.
2019-10-18 07:46:31 +02:00
Mariusz Felisiak
b435f82939
Reverted "Fixed relative paths imports per isort 4.3.5."
...
This reverts commit 463fe11bc8
due to
restore of relative paths sorting from isort < 4.3.5 in isort 4.3.10.
2019-03-03 19:33:48 +01:00
Mariusz Felisiak
463fe11bc8
Fixed relative paths imports per isort 4.3.5.
2019-02-25 11:03:30 +01:00
Tim Graham
e7fd69d051
Fixed #30166 -- Dropped support for GDAL 1.11.
2019-02-08 14:08:05 -05:00
Tim Graham
7056a4dd8e
Switched TestCase to SimpleTestCase in GIS tests.
2018-11-27 10:22:13 -05:00
Jon Dufresne
82f286cf6f
Refs #29784 -- Switched to https:// links where available.
2018-09-26 08:48:47 +02:00
Claude Paroz
c28bf990d7
Refs #29548 -- Fixed GIS tests on MariaDB
2018-07-13 18:27:30 +02:00
Tim Graham
9e4f26bb40
Fixed #29483 -- Confirmed support for GDAL 2.3.
2018-06-12 13:34:58 -04:00
Tim Graham
666be7b994
Fixed #29461 -- Fixed ogrinspect test_time_field failure on SpatiaLite.
2018-06-01 22:55:22 -04:00
Tim Graham
55f4eee75d
Fixed #29462 -- Fixed ogrinspect test failures with GDAL 2.2.
2018-06-01 22:31:46 -04:00
Thomas Schorr
52eb5b289e
Fixed #28617 -- Made ogrinspect output pep8 compliant.
2017-09-20 21:03:14 -04:00
Tim Graham
2dc3280254
Fixed #28160 -- Prevented hiding GDAL exceptions when it's not installed.
2017-05-04 20:45:18 -04:00
Tim Graham
890537253c
Made runtests.py run gis_tests only when using a GIS database backend.
...
This facilitates other changes like refs #28160 .
2017-05-04 20:29:19 -04:00
Claude Paroz
2b281cc35e
Refs #23919 -- Removed most of remaining six usage
...
Thanks Tim Graham for the review.
2017-01-18 21:33:28 +01:00
Claude Paroz
d7b9aaa366
Refs #23919 -- Removed encoding preambles and future imports
2017-01-18 09:55:19 +01:00
Adam Chainz
7c6efb3233
Refs #26753 -- Removed obsolete workarounds in GIS tests for lack of GDAL.
...
Missed in f7a363ee1d
.
2016-11-15 11:46:06 -05:00
Claude Paroz
ade681b9ad
Unified SpatiaLite spelling
2016-08-09 18:46:28 +02:00
Claude Paroz
140c235026
Fixed #26750 -- Fixed introspection for geography point field with dim=3
...
Thanks Yegor Kazantsev for the report and the initial patch.
2016-06-21 15:22:21 +02:00
Claude Paroz
f7a363ee1d
Fixed #26753 -- Made GDAL a required dependency for contrib.gis
...
Thanks Tim Graham for the review.
2016-06-18 10:58:02 +02:00
Tim Graham
9027fac841
Removed unneeded GeoManagers in tests.
2016-03-11 13:09:24 -05:00
Attila Tovt
0a2d3b7387
Fixed #25682 -- Removed bare except clauses.
2015-11-17 14:39:15 -05:00
Tim Graham
b27547f9d1
Removed deprecated GeoManager from inspectdb/ogrinspect output.
...
refs ea27e26b09
2015-08-10 10:29:36 -04:00
Claude Paroz
ffdf507ec0
Added GDAL 2.0 support
2015-06-20 14:40:50 +02:00
Claude Paroz
d1df1fd2bb
Fixed #24207 -- Added 25D-type geometry field support to ogrinspect
...
Thanks Michael Diener for the report and sample data, and Tim Graham
for the review.
2015-05-06 20:31:36 +02:00
Claude Paroz
e7e39d32fd
Made some tests run on non-GIS databases
2015-05-05 20:28:28 +02:00
Claude Paroz
6b6d13bf6e
Stopped conditional discovery of gis_tests apps
...
Refs #23879 .
2015-04-18 15:17:49 +02:00
Claude Paroz
65129aac07
Fixed #23757 -- Added 3D introspection support to Spatialite backend
...
Thanks Tim Graham for the review.
2015-03-18 19:27:44 +01:00
Tim Graham
ad0be620ae
Moved contrib.gis tests out of contrib.
2015-02-11 10:29:54 -05:00