File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 25
25
"urllib3<2.3.0" , # httpretty doesn't work properly with urllib3>=2.3.0. See #700 and https://github.com/gabrielfalcao/HTTPretty/issues/484
26
26
"netCDF4>=1.7.0" ,
27
27
"matplotlib" , # TODO: eliminate matplotlib as test dependency
28
- "geopandas>0.13.2" ,
28
+ # TODO #717 Simplify geopandas constraints when Python 3.8 support is dropped
29
+ "geopandas>=0.14; python_version>='3.9'" ,
30
+ "geopandas" , # Best-effort geopandas dependency for Python 3.8
29
31
"flake8>=5.0.0" ,
30
32
"time_machine" ,
31
33
"pyproj>=3.2.0" , # Pyproj is an optional, best-effort runtime dependency
Original file line number Diff line number Diff line change 1
1
import copy
2
+ import datetime
2
3
import json
3
4
import logging
4
5
import re
7
8
from time import sleep
8
9
from typing import Callable , Union
9
10
from unittest import mock
10
- import datetime
11
11
12
12
import dirty_equals
13
13
import geopandas
40
40
)
41
41
from openeo .rest ._testing import OPENEO_BACKEND , DummyBackend , build_capabilities
42
42
from openeo .util import rfc3339
43
+ from openeo .utils .version import ComparableVersion
43
44
44
45
45
46
@pytest .fixture
@@ -977,6 +978,10 @@ def test_initialize_from_df_on_exists_skip(self, tmp_path):
977
978
)
978
979
assert set (db .read ()["some_number" ]) == {1 , 2 , 3 }
979
980
981
+ @pytest .mark .skipif (
982
+ ComparableVersion (geopandas .__version__ ) < "0.14" ,
983
+ reason = "This issue has no workaround with geopandas < 0.14 (highest available version on Python 3.8 is 0.13.2)" ,
984
+ )
980
985
def test_read_with_crs_column (self , tmp_path ):
981
986
"""
982
987
Having a column named "crs" can cause obscure error messages when creating a GeoPandas dataframe
You can’t perform that action at this time.
0 commit comments