Skip to content

Commit ec6f61e

Browse files
authored
Merge pull request #1177 from opendatacube/for-3.1.8-release
Pin latest core and update tests for STAC fix.
2 parents bf57b24 + c156c4a commit ec6f61e

3 files changed

Lines changed: 291 additions & 258 deletions

File tree

integration_tests/test_eo3_support.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ def test_eo3_stac_item(eo3_index, client: FlaskClient) -> None:
721721
],
722722
"raster:bands": [
723723
{
724-
"nodata": float("nan"),
724+
"nodata": "nan",
725725
"data_type": "float32",
726726
"unit": "1",
727727
},
@@ -749,7 +749,7 @@ def test_eo3_stac_item(eo3_index, client: FlaskClient) -> None:
749749
],
750750
"raster:bands": [
751751
{
752-
"nodata": float("nan"),
752+
"nodata": "nan",
753753
"data_type": "float32",
754754
"unit": "1",
755755
},
@@ -777,7 +777,7 @@ def test_eo3_stac_item(eo3_index, client: FlaskClient) -> None:
777777
],
778778
"raster:bands": [
779779
{
780-
"nodata": float("nan"),
780+
"nodata": "nan",
781781
"data_type": "float32",
782782
"unit": "1",
783783
},
@@ -805,7 +805,7 @@ def test_eo3_stac_item(eo3_index, client: FlaskClient) -> None:
805805
],
806806
"raster:bands": [
807807
{
808-
"nodata": float("nan"),
808+
"nodata": "nan",
809809
"data_type": "float32",
810810
"unit": "1",
811811
},
@@ -833,7 +833,7 @@ def test_eo3_stac_item(eo3_index, client: FlaskClient) -> None:
833833
],
834834
"raster:bands": [
835835
{
836-
"nodata": float("nan"),
836+
"nodata": "nan",
837837
"data_type": "float32",
838838
"unit": "1",
839839
},
@@ -861,7 +861,7 @@ def test_eo3_stac_item(eo3_index, client: FlaskClient) -> None:
861861
],
862862
"raster:bands": [
863863
{
864-
"nodata": float("nan"),
864+
"nodata": "nan",
865865
"data_type": "float32",
866866
"unit": "1",
867867
},
@@ -889,7 +889,7 @@ def test_eo3_stac_item(eo3_index, client: FlaskClient) -> None:
889889
],
890890
"raster:bands": [
891891
{
892-
"nodata": float("nan"),
892+
"nodata": "nan",
893893
"data_type": "float32",
894894
"unit": "1",
895895
},
@@ -966,7 +966,7 @@ def test_eo3_stac_item(eo3_index, client: FlaskClient) -> None:
966966
],
967967
"raster:bands": [
968968
{
969-
"nodata": float("nan"),
969+
"nodata": "nan",
970970
"data_type": "float32",
971971
"unit": "1",
972972
},
@@ -994,7 +994,7 @@ def test_eo3_stac_item(eo3_index, client: FlaskClient) -> None:
994994
],
995995
"raster:bands": [
996996
{
997-
"nodata": float("nan"),
997+
"nodata": "nan",
998998
"data_type": "float32",
999999
"unit": "1",
10001000
},
@@ -1022,7 +1022,7 @@ def test_eo3_stac_item(eo3_index, client: FlaskClient) -> None:
10221022
],
10231023
"raster:bands": [
10241024
{
1025-
"nodata": float("nan"),
1025+
"nodata": "nan",
10261026
"data_type": "float32",
10271027
"unit": "1",
10281028
},
@@ -1050,7 +1050,7 @@ def test_eo3_stac_item(eo3_index, client: FlaskClient) -> None:
10501050
],
10511051
"raster:bands": [
10521052
{
1053-
"nodata": float("nan"),
1053+
"nodata": "nan",
10541054
"data_type": "float32",
10551055
"unit": "1",
10561056
},

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ authors = [
88
dependencies = [
99
"cachetools",
1010
"click>=8.3.2", # Tests require 8.3.2 to work.
11-
"datacube[postgres]>=1.9.20,<1.10.0",
11+
"datacube[postgres]>=1.9.21,<1.10.0",
1212
"eodatasets3>=1.9",
1313
"fiona>=1.10.0",
1414
"geoalchemy2>=0.8",

0 commit comments

Comments
 (0)