Skip to content

Conversation

@Ariana-B
Copy link
Contributor

@Ariana-B Ariana-B commented Oct 3, 2025

There have been an increasing number of python 3.10 compatibility issues, so bump the environment to 3.12

@robbibt
Copy link
Member

robbibt commented Oct 3, 2025

@Ariana-B We can probably try removing hdstats for now, as the new geomad package should give us most of what we need.

(either that, or try using the publicly available version of hdstats instead of the one from our package index).

@robbibt
Copy link
Member

robbibt commented Oct 7, 2025

Tagging @cbur24 - seems like upgrading Sandbox to Python 3.12 is blocked due to odc-stats requiring a package called tflite-runtime, which is not available for recent versions of Python.

Do you know anything about that package, e.g. whether it's critical for the entire of odc-stats, or just specific plugins? Am wondering if we could make it an optional extra to get around this, for example...

@cbur24
Copy link
Contributor

cbur24 commented Oct 7, 2025

@robbibt yes this is a known issue that's being worked on - some convo here: opendatacube/odc-stats#208. Critical for a number of plugins, but there is a drop-in replacement. We should include the replacement library in this image.

@robbibt
Copy link
Member

robbibt commented Oct 7, 2025

Ah, amazing. OK, so once that fix is merged and there's a new version of odc-stats we should be able to upgrade unstable Sandbox.

Out of interest, do we do odc-stats development from Sandbox? Another option could be to remove odc-stats from the Sandbox image, but definitely should keep it if we do use it there.

@cbur24
Copy link
Contributor

cbur24 commented Oct 7, 2025

Yes, I do all my development of odc-stats from the Sandbox, but not sure how others work. There's a notebook that we recently merged into odc-stats showing how to develop a plugin from within the Sandbox: https://github.com/opendatacube/odc-stats/blob/develop/docs/odc-stats-explained.ipynb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants