opendatacube / odc-tools

ODC features that DEA is experimenting with or prototyping with the intention of being integrated into odc-core in the future
Apache License 2.0
62 stars 33 forks source link

Fix Python versions #587

Closed SpacemanPaul closed 1 year ago

SpacemanPaul commented 1 year ago

Updated supported Python version to >= 3.9 throughout.
Updated test conda environment to Python 3.9 Pinned odc_apps_dc_tools to Python 3.9-3.10 as per https://github.com/opendatacube/datacube-core/issues/1511

codecov[bot] commented 1 year ago

Codecov Report

Attention: 124 lines in your changes are missing coverage. Please review.

Comparison is base (8fc9742) 56.22% compared to head (c5638c4) 66.55%. Report is 110 commits behind head on develop.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #587 +/- ## ============================================ + Coverage 56.22% 66.55% +10.32% ============================================ Files 47 65 +18 Lines 4016 5367 +1351 ============================================ + Hits 2258 3572 +1314 - Misses 1758 1795 +37 ``` | [Files](https://app.codecov.io/gh/opendatacube/odc-tools/pull/587?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube) | Coverage Δ | | |---|---|---| | [apps/cloud/odc/apps/cloud/\_\_init\_\_.py](https://app.codecov.io/gh/opendatacube/odc-tools/pull/587?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube#diff-YXBwcy9jbG91ZC9vZGMvYXBwcy9jbG91ZC9fX2luaXRfXy5weQ==) | `100.00% <100.00%> (ø)` | | | [apps/cloud/odc/apps/cloud/redrive\_to\_queue.py](https://app.codecov.io/gh/opendatacube/odc-tools/pull/587?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube#diff-YXBwcy9jbG91ZC9vZGMvYXBwcy9jbG91ZC9yZWRyaXZlX3RvX3F1ZXVlLnB5) | `85.71% <100.00%> (ø)` | | | [apps/dc\_tools/odc/apps/dc\_tools/\_\_init\_\_.py](https://app.codecov.io/gh/opendatacube/odc-tools/pull/587?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube#diff-YXBwcy9kY190b29scy9vZGMvYXBwcy9kY190b29scy9fX2luaXRfXy5weQ==) | `100.00% <100.00%> (ø)` | | | [apps/dc\_tools/odc/apps/dc\_tools/\_version.py](https://app.codecov.io/gh/opendatacube/odc-tools/pull/587?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube#diff-YXBwcy9kY190b29scy9vZGMvYXBwcy9kY190b29scy9fdmVyc2lvbi5weQ==) | `100.00% <100.00%> (ø)` | | | [apps/dc\_tools/tests/test\_add\_update\_products.py](https://app.codecov.io/gh/opendatacube/odc-tools/pull/587?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube#diff-YXBwcy9kY190b29scy90ZXN0cy90ZXN0X2FkZF91cGRhdGVfcHJvZHVjdHMucHk=) | `100.00% <100.00%> (ø)` | | | [apps/dc\_tools/tests/test\_cop\_dem\_to\_dc.py](https://app.codecov.io/gh/opendatacube/odc-tools/pull/587?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube#diff-YXBwcy9kY190b29scy90ZXN0cy90ZXN0X2NvcF9kZW1fdG9fZGMucHk=) | `100.00% <100.00%> (ø)` | | | [apps/dc\_tools/tests/test\_esa\_worldcover\_to\_dc.py](https://app.codecov.io/gh/opendatacube/odc-tools/pull/587?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube#diff-YXBwcy9kY190b29scy90ZXN0cy90ZXN0X2VzYV93b3JsZGNvdmVyX3RvX2RjLnB5) | `100.00% <100.00%> (ø)` | | | [apps/dc\_tools/tests/test\_fs\_to\_dc.py](https://app.codecov.io/gh/opendatacube/odc-tools/pull/587?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube#diff-YXBwcy9kY190b29scy90ZXN0cy90ZXN0X2ZzX3RvX2RjLnB5) | `100.00% <100.00%> (ø)` | | | [apps/dc\_tools/tests/test\_s3\_to\_dc.py](https://app.codecov.io/gh/opendatacube/odc-tools/pull/587?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube#diff-YXBwcy9kY190b29scy90ZXN0cy90ZXN0X3MzX3RvX2RjLnB5) | `100.00% <100.00%> (ø)` | | | [apps/dc\_tools/tests/test\_sns\_publishing.py](https://app.codecov.io/gh/opendatacube/odc-tools/pull/587?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube#diff-YXBwcy9kY190b29scy90ZXN0cy90ZXN0X3Nuc19wdWJsaXNoaW5nLnB5) | `100.00% <100.00%> (ø)` | | | ... and [52 more](https://app.codecov.io/gh/opendatacube/odc-tools/pull/587?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube) | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/opendatacube/odc-tools/pull/587/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendatacube)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.