20 Commits

Author SHA1 Message Date
Alan D. Snow
9880c5c40f
DEP: Python 3.10+ & GDAL 3.6+ (#3440) 2025-12-05 08:47:04 -06:00
Alan D. Snow
fd4163d4b5
DEP: GDAL 3.5+, numpy 1.24+ (#3166)
* DEP: Python 3.10+, GDAL 3.5+, numpy 1.24+

* Apply suggestions from code review

* DEP: GDAL 3.5+, numpy 1.24+

* Fix

* remove python 3.13 from conda matrix

---------

Co-authored-by: Sean Gillies <sean.gillies@gmail.com>
2024-09-09 21:59:11 -06:00
Sean Gillies
d917c5cd38
Use gdalvrt.xsd as a marker for GDAL's data directory (#3157)
* Use gdalvrt.xsd as a marker for GDAL's data directory

Resolves #3153

* Update change log

* Adjust tests
2024-08-30 08:35:42 -06:00
Sean Gillies
87a582a391
Update code to Python 3.9 usage (#3132)
* Run pyupgrade --py39-up

* Run darker on previous pyupgrade changes
2024-08-10 18:22:54 -06:00
Alan D. Snow
f6b7b7636d
DEP: GDAL 3.3+, numpy 1.21+, Python 3.9+ (#2779)
* DEP: GDAL 3.3+, numpy 1.21+, Python 3.9+

* CI: Remove .travis.yml
2023-03-06 17:23:18 -07:00
Alan D. Snow
51efb0d7a8
LNT: Use flake8 to find undefined variables & unused imports (#2693) 2023-01-10 12:48:09 -06:00
snowman2
71b9db9802 TST: Update mock_debian for GDAL 3.1-3.7 2022-11-13 19:30:33 -06:00
Sean Gillies
4b1e369069
Remove _loading, copy it into __init__ (#2594)
* Remove _loading, it's done in __init__ now

Resolves #2593

* import sys

* Correct imports

* We already require python >= 3.8

* Add PR number to change log
2022-09-26 18:02:54 -06:00
Alan D. Snow
8403830422
MNT: Update tests & code compatibility for GDAL 3+ (#2452) 2022-05-10 08:16:49 -06:00
Alan D. Snow
cb1c05e761
ENH: Add show_versions (#2447)
* ENH: Add show_versions

* BUG: add show_versions cli kwarg

Co-authored-by: Sean Gillies <sean.gillies@gmail.com>
2022-04-20 17:32:39 -06:00
Sean Gillies
8a0a3611b0 Add a failing test related to gh-2382
And change xfails for GDAL versions > 3.3.
2022-04-12 14:55:14 -06:00
Sean Gillies
06a292dc5a Update mock_debian fixture 2021-04-26 16:43:00 -06:00
Sean Gillies
0c5629f16d Add a 3.3 folder to mock_debian fixture 2021-04-19 17:07:38 -06:00
Sean Gillies
264ccaa838
Make feature extraction tests robust with respect to noding (#2066)
* Make feature extraction tests robust with respect to noding

Resolves #2034

* Install test extras

* Add shapely

* Finish adjusting tests and tweaking build matrix
2020-12-11 15:44:59 -07:00
Sean Gillies
0fd2bc5712 Add a new exception for invalid resampling algs
Resolves #1930
2020-05-21 16:28:52 -06:00
Sean Gillies
96310a8754
PROJ data search path setting for rasterio (#1823)
* PROJ data search path setting for rasterio

As in the Fiona project

* Import os in shim modules, update version and change log
2019-11-12 17:49:45 -07:00
Sean Gillies
36786d5886
GDAL 3.0.x support in code but not wheels (#1729)
* Added support for Proj6 and GDAL 3

* install proj6

* build proj with local installation dir

* conditional proj dependency

* added proj4 flags for all gdal versions

* Restore debian data tests

* Version specific proj configuration

* Fix string comp expression

* Explicit matrix

* Restructure build matrix

* Remove wait from proj build script

* Call script with bash

* Fix version text

* Bash syntax

* Correct PROJOPTs

* Use xvfb service

* Back to proj 4.8 for older GDAL

* Fix syntax error

* Add verbosity to tests

* Take proj off library path, remove gdal-bin package

* Install PROJ and GDAL to same prefix

* Set up runtime env

* Try 4.9.3

* Source build scripts

* Switch to case for versions

* set trace

* Test existence of share/gdal directory

The proj install script created the gdal install directory so a
test for just that is not sufficient.

* Test for share/proj

* Run tests under gdb

* Forgot the run command

* Wait 20 for GDAL

* travis_wait

* Restructure build script, less boilerplate

* Back to trusty

* dist: trusty

* Remove gdb

* Allow 3.0.1/6.1.1 to fail, some changes since 3.0.0/6.1.0
2019-07-26 13:46:55 -06:00
Sean Gillies
085f455310 Add mock gdal 2.5 directory 2018-12-14 16:27:58 -07:00
Sean Gillies
67fb3990af Fix typo and rely on join for paths 2018-11-17 08:50:40 -07:00
Sean Gillies
afde5481ef
Crs env (#1544)
* Refactor to make data search testable

* Test ensure_env with faked sys.prefix and _env file location

* raising=False

* Don't call fixture function, use it as a fixture

* Re-applying PR #1546 to maint-1.0 via patch (#1549)

* Refactor to make data search testable

* Test ensure_env with faked sys.prefix and _env file location

* raising=False

* Don't call fixture function, use it as a fixture

* Add function to get context if needed

* added support for ESRI wkt strings - resolves issue #1537 (#1538)

* updated _handle_crswkt to use CRS.from_wkt; resolved issue #1540 (#1541)

* updated _handle_crswkt to use CRS.from_wkt; resolved issue #1540

* added test for datasetreader opening dataset with ESRI projection wkt string

* Handle GDAL's comments about WKT to PROJ conversion

* Bring Env inside methods if needed

* New test of compound CRS that was crashing 1.0.9
2018-11-16 15:16:44 -07:00