chore(deps): update dependency pystac to v1 #436
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.5.6
->==1.10.1
Release Notes
stac-utils/pystac (pystac)
v1.10.1
Compare Source
Fixed
Item.__getstate__
(#1337)v1.10.0
Compare Source
Added
validator
input toSTACObject.validate
for inline reference of the validator to use (#1320)Changed
Fixed
datetime.utcnow
method that has been deprecated in Python 3.12 (#1283)v1.9.0
Compare Source
Added
validate_all_dict
replaces the previous implementation ofvalidate_all
(i.e.,validate_all
was renamed tovalidate_all_dict
, andvalidate_all
was changed as described below) (#1246)Changed
validate_all
now accepts aSTACObject
(in addition to accepting a dict, which is now deprecated), but prohibits supplying a value forhref
, which must be supplied only when supplying an object as a dict. Oncevalidate_all
removes support for an object as a dict, thehref
parameter will also be removed. (#1246)href
when schema url resolution fails (#1263)Fixed
href
arguments (#1234)registry
when instantiatingDraft7Validator
(#1240)bboxes
andintervals
arguments toSpatialExtent
andTemporalExtent
, respectively (#1268)Removed
Deprecated
ExtensionManagementMixin.validate_has_extension
is replaced withExtensionManagementMixin.ensure_has_extension
. CallingExtensionManagementMixin.validate_has_extension
will raise aDeprecationWarning
and callExtensionManagementMixin.ensure_has_extension
(#1248)validate_all
for dicts; usevalidate_all_dict
instead (#1246)Label
extension (#1270)v1.8.4
Compare Source
Added
Fixed
Deprecated
pystac.validation.local_validator.LocalValidator
(#1215)v1.8.3
Compare Source
Added
fields
parameter in theSummarizer
constructor (#1195)Changed
Fixed
fields
parameter in theSummarizer
constructor (#1195)v1.8.2
Compare Source
Fixed
link
(#1182)fields-normalized.json
in build (#1188)v1.8.1
Compare Source
Fixed
v1.8.0
Compare Source
Added
sort_links_by_id
to Catalogget_child()
andmodify_links
toget_stac_objects()
(#1064)*ids
to Catalog and Collectionget_items()
for only including the provided ids in the iterator (#1075)recursive
to Catalog and Collectionget_items()
to walk the sub-catalogs and sub-collections (#1075)logging.DEBUG
(#1096)set_parent
to Catalogadd_item
andadd_child
to avoid overriding existing parents (#1117, #1155)owner
attribute toAssetDefinition
in the item-assets extension (#1110)\\
path delimiters are converted to POSIX style/
delimiters (#1125)AssetDefinition
s and raster'sRasterBand
objects.get_derived_from
,add_derived_from
andremove_derived_from
to Items (#1136)ItemEOExtension.get_assets
for getting assets filtered on bandname
orcommon_name
(#1140)max_items
andrecursive
toCatalog.validate_all
(#1141)KML
as a built in media type (#1127)move/copy/delete
operations for local Assets (#1158)Changed
fields.json
file (for summaries) with each distribution of PySTAC (#1045).get_assets()
return a deepcopy (#1087)to_dict
methods returning JSON (#1074)pyproject.toml
instead ofsetup.py
(#1100)DefaultStacIO
now raises an error if it tries to write to a non-local url (#1107)"stac_extensions": null
(#1109)Link.to_dict()
only contain strings (#1114)JsonSchemaSTACValidator
(#1120)id
in STACTypeError instead of entire dict (#1126)get_items
is backwards compatible (#1139)_repr_html_
look like_repr_json_
output (#1142).ext
is called on a Collection (#1157)add_child
andadd_item
return a Link object instead of None (#1160)add_children
andadd_items
return a list of Link objects instead of None (#1160)make_all_asset_hrefs_relative/absolute
(#1168)Fixed
Deprecated
pystac.summaries.FIELDS_JSON_URL
(#1045)get_item()
. Useget_items(id)
instead (#1075)get_all_items
. Useget_items(recursive=True)
instead (#1075)v1.7.3
Compare Source
Fixed
self
links in Items (#1103)v1.7.2
Compare Source
Fixed
v1.7.1
Compare Source
Changed
Fixed
__geo_interface__
now correctly returns a Feature, rather than only the Geometry (#1049)v1.7.0
Compare Source
Added
now_in_utc
andnow_to_rfc3339_str
(#760)media_type
androle
filtering to Item and Collectionget_assets()
method (#936)Asset.has_role
(#936)header
support toDefaultStacIO
(#889)Catalog.normalize_hrefs
andCatalog.normalize_and_save
, via a newskip_unresolved
argument (#900)timespec
toutils.datetime_to_str
(#929)isort
(#961)AsIsLayoutStrategy
(#919)__geo_interface__
for items (#885)strategy
parameter tocatalog.add_items()
(#967)start_datetime
andend_datetime
arguments to theItem
constructor (#918)RetryStacIO
(#986)STACObject.remove_hierarchical_links
andLink.is_hierarchical
(#999)extra_fields
toAssetDefinition
in the item assets extension (#1003)Catalog.fully_resolve
(#1001)DeprecatedWarning
when deserializing an Item or Collection to a STAC object via thefrom_dict()
method (1006)make_absolute_href
(#884)Changed
from __future__ import annotations
for type signatures (#962)TypeVar
for alternate constructors (#983)Item.from_dict
(#994)ItemCollection
now clones items in iterator (clone_items=True
) (#1016)Deprecated
TemplateError
inlayout.py
deprecated in favor of duplicate inerrors.py
(#1018)Fixed
requirements-dev.txt
(#897)media_type
inget_links()
andget_single_link()
(#966)_repr_html_()
(#975)clone
methods (#983)href
fromItem.from_dict
to constructor (#984)v1.6.1
Compare Source
Fixed
jsonschema
to >=4.0.1 to avoid aRefResolutionError
when validating some extensions (#857)v1.6.0
Compare Source
Removed
v1.5.0
Compare Source
Added
assets
argument toItem
andCollection
init methods to allow adding Assets during object initialization (#834)Changed
Fixed
Asset.extra_fields
on a clonedAsset
also mutated the original asset (#826)variables
argument, to accompanydimensions
, for theapply
method of stac objects extended with datacube (#782)clone
method forSummaries
(#794)Collection.clone
(#834)StacIO.read_text
andStacIO.write_text
now match the type annotations for thesource
argument. (#835)tzutc
timezone even when system timezone is set to UTC. (#848)v1.4.0
Compare Source
Added
StacIO
I/O methods,pystac.read_file
andpystac.write_file
(#728)StacIO
instance as argument toCatalog.save
/Catalog.normalize_and_save
(#751)pystac.utils
functions and classes (#735)Changed
v1.0.1
(#726)media_type
inSTACObject.get_links
andSTACObject.get_single_link
(#704)
Fixed
PropertyExtension.ext(..., add_if_missing=True)
on anAsset
with no owner (#746)
TemporalExtent
using a list ofdatetime
objects (#744)v1.3.0
Compare Source
Added
extensions.datacube.Variable.to_dict
method (#699]).ext
to extend an object (#701)Removed
Changed
Fixed
pystac.extensions.file.MappingObject
(#700)PropertiesExtension._get_property
to properly set return type inTableExtension
(#712)DatacubeExtension.variables
now has a setter (#699])Catalog.save
(#714)v1.2.0
Compare Source
Added
.python-version
files are now ignored by Git (#647)Removed
tests
from package distribution. This should make the package lighter (#604)Changed
mode
for
mypy
(#591)title
from their target if notitle
is provided (#607)LabelClasses
fromList
toSequence
(#627)Fixed
generate_subcatalogs
can include multiple template values in a single subfolder layer(#595)
Enum
values were not serialized properly in methods likeLink.to_dict
(#654)v1.1.0
Compare Source
Added
mypy
(#579)dest_href
argument toCatalog.save
to allow savingCatalog
instances tolocations other than their
self
href (#565)Changed
v1.0.1
Compare Source
Changed
Link
objects withrel == "self"
are converted to absolute HREFs (#574)v1.0.0
Compare Source
Added
ProjectionExtension.crs_string
to provide a single string to describe the coordinate reference system (CRS).Useful because projections can be defined by EPSG code, WKT, or projjson.
(#548)
sar:type
->sar:product_type
andsar:polarization
->sar:polarizations
for pre-0.9 catalogs(#556)
eo:epsg
->proj:epsg
for pre-0.9 catalogs (#557)PhenomenologyType
enum for recommended values ofpc:type
&SchemaType
enum forvalid values of
type
in Point Cloud SchemaObjects
(#548)
to_dict
and equality definition forextensions.item_asset.AssetDefinition
(#564)Asset.common_metadata
property (#563)Changed
from_dict
method on STACObjects will set the object's root link when aroot
parameter is present. An ItemCollectionfrom_dict
with a root parameter will set the root on each of it's Items. (#549)ExtensionManagementMixin.validate_has_extension
withadd_if_missing = True
on an ownerless
Asset
will raise aSTACError
(#554)PointcloudSchema
->Schema
,PointcloudStatistic
->Statistic
for consistencywith naming convention in other extensions
(#548)
RequiredPropertyMissing
always raised when trying to get a required property that isNone
(STACError
orKeyError
was previously being raised in some cases)(#561)
Fixed
Collections
as a type that can be extended for extensions whose fields can appear in collection summaries (#547)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.