[OSGeoLive] #2483: odc-geo upgrade

OSGeoLive trac_osgeolive at osgeo.org
Mon Oct 14 07:32:10 PDT 2024


#2483: odc-geo upgrade
-----------------------------------+----------------------------
 Reporter:  darkblueb              |       Owner:  osgeolive@…
     Type:  enhancement            |      Status:  new
 Priority:  critical               |   Milestone:  OSGeoLive17.0
Component:  OSGeoLive              |  Resolution:
 Keywords:  opendatacube, python3  |
-----------------------------------+----------------------------
Description changed by darkblueb:

Old description:

> Opendatacube project core library odc-geo can be upgraded. Using a very
> recent build alpha17 ISO image, call pip3 to install odc-geo and watch
> the result. pip3 believes that odc-geo==0.4.8 is directly installable
> with the other core lib versions already there.
>
> {{{
> user at osgeolive:~$ sudo pip3 install --upgrade --break-system-packages
> odc-geo
> Requirement already satisfied: odc-geo in /usr/lib/python3/dist-packages
> (0.2.1)
> Collecting odc-geo
>   Downloading odc_geo-0.4.8-py3-none-any.whl.metadata (5.0 kB)
> Requirement already satisfied: affine in /usr/lib/python3/dist-packages
> (from odc-geo) (2.4.0)
> Requirement already satisfied: cachetools in /usr/lib/python3/dist-
> packages (from odc-geo) (5.3.0)
> Requirement already satisfied: numpy in /usr/lib/python3/dist-packages
> (from odc-geo) (1.26.4)
> Requirement already satisfied: pyproj>=3.0.0 in /usr/lib/python3/dist-
> packages (from odc-geo) (3.6.1)
> Requirement already satisfied: shapely in /usr/lib/python3/dist-packages
> (from odc-geo) (2.0.3)
> Requirement already satisfied: certifi in /usr/lib/python3/dist-packages
> (from pyproj>=3.0.0->odc-geo) (2023.11.17)
> Downloading odc_geo-0.4.8-py3-none-any.whl (150 kB)
>    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 150.1/150.1 kB 267.5 kB/s eta
> 0:00:00
> Installing collected packages: odc-geo
>   Attempting uninstall: odc-geo
>     Found existing installation: odc-geo 0.2.1
>     Uninstalling odc-geo-0.2.1:
>       Successfully uninstalled odc-geo-0.2.1
> Successfully installed odc-geo-0.4.8
> }}}
>
> If true - that is as simple as it gets.. just take 0.4.8 and package it
> without other depends.. and done

New description:

 Opendatacube project core library `odc-geo` can be upgraded. Using a very
 recent build alpha17 ISO image, call pip3 to install odc-geo and watch the
 result. pip3 believes that odc-geo==0.4.8 is directly installable with the
 other core lib versions already there.

 {{{
 user at osgeolive:~$ sudo pip3 install --upgrade --break-system-packages
 odc-geo
 Requirement already satisfied: odc-geo in /usr/lib/python3/dist-packages
 (0.2.1)
 Collecting odc-geo
   Downloading odc_geo-0.4.8-py3-none-any.whl.metadata (5.0 kB)
 Requirement already satisfied: affine in /usr/lib/python3/dist-packages
 (from odc-geo) (2.4.0)
 Requirement already satisfied: cachetools in /usr/lib/python3/dist-
 packages (from odc-geo) (5.3.0)
 Requirement already satisfied: numpy in /usr/lib/python3/dist-packages
 (from odc-geo) (1.26.4)
 Requirement already satisfied: pyproj>=3.0.0 in /usr/lib/python3/dist-
 packages (from odc-geo) (3.6.1)
 Requirement already satisfied: shapely in /usr/lib/python3/dist-packages
 (from odc-geo) (2.0.3)
 Requirement already satisfied: certifi in /usr/lib/python3/dist-packages
 (from pyproj>=3.0.0->odc-geo) (2023.11.17)
 Downloading odc_geo-0.4.8-py3-none-any.whl (150 kB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 150.1/150.1 kB 267.5 kB/s eta
 0:00:00
 Installing collected packages: odc-geo
   Attempting uninstall: odc-geo
     Found existing installation: odc-geo 0.2.1
     Uninstalling odc-geo-0.2.1:
       Successfully uninstalled odc-geo-0.2.1
 Successfully installed odc-geo-0.4.8
 }}}

 If true - that is as simple as it gets.. just take 0.4.8 and package it
 without other depends.. and done

--
-- 
Ticket URL: <https://trac.osgeo.org/osgeolive/ticket/2483#comment:3>
OSGeoLive <https://live.osgeo.org/>
self-contained bootable DVD, USB thumb drive or Virtual Machine based on Lubuntu, that allows you to try a wide variety of open source geospatial software without installing anything.


More information about the osgeolive mailing list