geemap
geemap copied to clipboard
Remove/replace unmaintained colour dependency
Description
I'm trying to install geemap and its dependencies from source. However, the colour dependency in particular is causing issues. Colour (no updates in 8 yrs) depends on d2to1 (deprecated for 5 yrs), which requires setuptools 67 and older, which does not support Python 3.12+. I'm wondering if we can replace colour with something else that is easier to build from source.
What I Did
> spack install py-geemap ^[email protected]
Thank you for raising the issue. I did not know that the colour package has not been updated for so long. We should replace it. We may be able to replace it with matplotlib.colors. Let me look into it.
@adamjstewart I have fixed the issue in #2263. Will try to make a new release over the next few days once the PR is merged.
Thanks for the quick fix! One less dependency is always a nice thing for maintenance. Now if I can just get all of these other dependencies to support newer versions of jupyterlab...