File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1919
2020### Fixed
2121
22+ - fix compatibility with PySTAC 1.12 ([ #715 ] ( https://github.com/Open-EO/openeo-python-client/issues/715 ) )
23+
24+
2225## [ 0.42.1] - 2025-06-06
2326
2427### Changed
Original file line number Diff line number Diff line change @@ -853,7 +853,7 @@ def bands_from_stac_collection(
853853 return self ._bands_from_item_assets (collection .item_assets )
854854 elif _PYSTAC_1_9_EXTENSION_INTERFACE and collection .ext .has ("item_assets" ) and collection .ext .item_assets :
855855 return self ._bands_from_item_assets (collection .ext .item_assets )
856- elif "item_assets" in collection .extra_fields :
856+ elif collection .extra_fields . get ( "item_assets" ) :
857857 # Workaround for lack of support for STAC 1.1 core item_assets with pystac < 1.12
858858 item_assets = {
859859 k : pystac .extensions .item_assets .AssetDefinition (properties = v , owner = collection )
Original file line number Diff line number Diff line change 7878 "xarray>=0.12.3,<2025.01.2" , # TODO #721 xarray non-nanosecond support
7979 "pandas>0.20.0" ,
8080 # TODO #578: pystac 1.5.0 is highest version available for lowest Python version we still support (3.7).
81- # TODO #715 compatibility with pystac 1.12
82- "pystac>=1.5.0,<1.12" ,
81+ "pystac>=1.5.0" ,
8382 "deprecated>=1.2.12" ,
8483 'oschmod>=0.3.12; sys_platform == "win32"' ,
8584 "importlib_resources; python_version<'3.9'" ,
You can’t perform that action at this time.
0 commit comments