Opened 22 months ago

Last modified 2 months ago

#2393 new enhancement

python3 pystac update

Reported by: darkblueb Owned by: osgeolive@…
Priority: major Milestone: OSGeoLive16.0
Component: OSGeoLive Keywords: python
Cc: osgeolive@…


ol15 build 179 -- python3 pySTAC dot-deb 1.4.0 exists but v1.6 is current

user@osgeolive:~$ pip3 install --user --upgrade-strategy=only-if-needed pystac
Collecting pystac
  Downloading pystac-1.6.1-py3-none-any.whl (146 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 146.0/146.0 KB 395.0 kB/s eta 0:00:00
Requirement already satisfied: python-dateutil>=2.7.0 in /usr/lib/python3/dist-packages (from pystac) (2.8.1)
Installing collected packages: pystac
Successfully installed pystac-1.6.1
user@osgeolive:~$ apt search pystac
Sorting... Done
Full Text Search... Done
python3-pystac/jammy 1.4.0-0~jammy0 all
  PySTAC is a library for working with SpatioTemporal Asset Catalog in Python 3.

python3-pystac-client/jammy 0.4.0-0~jammy0 all
  A Python client for working with STAC Catalogs and APIs.

note: we can drop ipyleaflet in the ISO, it is currently not working.

python3-ipyleaflet/jammy,now 0.17.0-0~jammy1 all [installed]
  A Jupyter widget for dynamic Leaflet maps.

Change history (9)

comment:1 by darkblueb, 22 months ago

note that python3-odc-stac/jammy,jammy 0.3.1-0~jammy0 all is now available

comment:2 by darkblueb, 21 months ago

per comments at FOSS4G STAC presentation

FOSS4G   Pete Gadomski	pete.gadomski at Gmail 

        pystac  v1.6.1    r/w static collections, catalogs, objects
 pystac-client  v0.4.0    r/w stac api
     stactools  v0.4.1    create,modify utils
      odc-stac  v0.3.1    load stac assets into xarray

compare to ol15 RC1

        pystac  v1.4.0    r/w static collections, catalogs, objects
 pystac-client     n/a    r/w stac api
     stactools     n/a    create,modify utils
      odc-stac  v0.3.0    load stac assets into xarray

comment:3 by kalxas, 21 months ago

Cc: osgeolive@… added

comment:4 by kalxas, 17 months ago

Milestone: OSGeoLive15.0OSGeoLive16.0

Ticket retargeted after milestone closed

comment:5 by darkblueb, 13 months ago

ol16 alpha3 build

        pystac  v1.4.0    r/w static collections, catalogs, objects
 pystac-client     n/a    r/w stac api
     stactools     n/a    create,modify utils
      odc-stac  v0.3.1    load stac assets into xarray
       odc-geo  v0.2.1    projection aware Geometry comp. w/ Open Data Cube

comment:6 by darkblueb, 11 months ago

same in beta1 build

comment:7 by darkblueb, 8 months ago


user@osgeolive:~$ pip3 install --user stac-asset[cli]

Collecting stac-asset[cli]
  Downloading stac_asset-0.2.2-py3-none-any.whl (33 kB)
Collecting aiobotocore>=2.5.0
  Downloading aiobotocore-2.6.0-py3-none-any.whl (73 kB)
    ━*********************************━━ 73.4/73.4 KB 267.2 kB/s eta 0:00:00
Collecting yarl>=1.9.2
  Downloading yarl-1.9.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (268 kB)
   ━*********************************━━ 268.8/268.8 KB 274.9 kB/s eta 0:00:00
Requirement already satisfied: python-dateutil>=2.7.0 in /usr/lib/python3/dist-packages (from stac-asset[cli]) (2.8.1)
Collecting pystac>=1.7.3
  Downloading pystac-1.8.3-py3-none-any.whl (175 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.6/175.6 KB 278.1 kB/s eta 0:00:00
Collecting aiohttp>=3.8.4
  Downloading aiohttp-3.8.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.0 MB)
   ━*********************************━━ 1.0/1.0 MB 270.1 kB/s eta 0:00:00
Collecting aiofiles>=23.1.0
  Downloading aiofiles-23.2.1-py3-none-any.whl (15 kB)
Collecting tabulate~=0.9.0
  Downloading tabulate-0.9.0-py3-none-any.whl (35 kB)
Collecting click-logging~=1.0.1
  Downloading click_logging-1.0.1-py2.py3-none-any.whl (6.6 kB)
Collecting click~=8.1.5
  Downloading click-8.1.7-py3-none-any.whl (97 kB)
    ━*********************************━━ 97.9/97.9 KB 252.1 kB/s eta 0:00:00
Collecting tqdm~=4.66.1
  Downloading tqdm-4.66.1-py3-none-any.whl (78 kB)
     ━*********************************━━ 78.3/78.3 KB 285.4 kB/s eta 0:00:00
Collecting botocore<1.31.18,>=1.31.17
  Downloading botocore-1.31.17-py3-none-any.whl (11.1 MB)
     ━**********************************━ 11.1/11.1 MB 280.4 kB/s eta 0:00:00
Collecting aioitertools<1.0.0,>=0.5.1
  Downloading aioitertools-0.11.0-py3-none-any.whl (23 kB)

Successfully installed aiobotocore-2.6.0 aiofiles-23.2.1 aiohttp-3.8.5 aioitertools-0.11.0 botocore-1.31.17 click-8.1.7 click-logging-1.0.1 pystac-1.8.3 stac-asset-0.2.2 tabulate-0.9.0 tqdm-4.66.1 yarl-1.9.2

comment:8 by darkblueb, 2 months ago


pystac Changelog shows

# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](
and this project adheres to [Semantic Versioning](

## [Unreleased]

## [v0.7.5] - 2023-09-05

### Fixed

- `--matched` flag in CLI [#588](

## [v0.7.4] - 2023-09-05

### Changed

- Don't provide a `limit` by default, trust the server to know its limits [#584](

## [v0.7.3] - 2023-08-21

### Changed

comment:9 by darkblueb, 2 months ago



 ~/srcs_vm16/tmp_pystac/stac-validator-3.3.2 $ pytest-3 tests
================================================ test session starts ================================================
platform linux -- Python 3.10.12, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
rootdir: tmp_pystac/stac-validator-3.3.2
plugins: mypy-0.10.3, hydra-core-1.3.2, bdd-3.2.1, flaky-3.7.0, django-3.5.1
collected 64 items                                                                                                  

tests/ F..     
tests/ .......... 
tests/ ........... 
tests/ .s......   
tests/ s..........   
tests/ ..   
tests/ ..........  
tests/ ...          
tests/ ...   
tests/ ... 
Note: See TracTickets for help on using tickets.