pystac-ext-render 2.0.0__tar.gz → 2.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pystac_ext_render-2.0.1/CHANGELOG.md +13 -0
- {pystac_ext_render-2.0.0 → pystac_ext_render-2.0.1}/PKG-INFO +4 -4
- {pystac_ext_render-2.0.0 → pystac_ext_render-2.0.1}/README.md +2 -2
- {pystac_ext_render-2.0.0 → pystac_ext_render-2.0.1}/pyproject.toml +5 -1
- {pystac_ext_render-2.0.0 → pystac_ext_render-2.0.1}/pystac/extensions/render.py +4 -0
- {pystac_ext_render-2.0.0 → pystac_ext_render-2.0.1}/.gitignore +0 -0
- {pystac_ext_render-2.0.0 → pystac_ext_render-2.0.1}/pystac/extensions/py.typed +0 -0
- {pystac_ext_render-2.0.0 → pystac_ext_render-2.0.1}/tests/cassettes/test_render/test_collection_validate.yaml +0 -0
- {pystac_ext_render-2.0.0 → pystac_ext_render-2.0.1}/tests/cassettes/test_render/test_item_validate.yaml +0 -0
- {pystac_ext_render-2.0.0 → pystac_ext_render-2.0.1}/tests/data-files/collection.json +0 -0
- {pystac_ext_render-2.0.0 → pystac_ext_render-2.0.1}/tests/data-files/item.json +0 -0
- {pystac_ext_render-2.0.0 → pystac_ext_render-2.0.1}/tests/test_render.py +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [2.0.1](https://github.com/stac-utils/pystac/compare/pystac-ext-render-v2.0.0...pystac-ext-render-v2.0.1) (2026-11-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* validate using local extension json schemas ([#1814](https://github.com/stac-utils/pystac/issues/1814)) ([9ef2186](https://github.com/stac-utils/pystac/commit/9ef2186b9d8d4aaab5f13cdccc947702adf11b93))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Documentation
|
|
12
|
+
|
|
13
|
+
* update versioning section of extension READMEs ([#1849](https://github.com/stac-utils/pystac/issues/1849)) ([64f85ac](https://github.com/stac-utils/pystac/commit/64f85ac80be4ebf395748a0d6bf512777e688e80))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: pystac-ext-render
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: Render extension for PySTAC
|
|
5
5
|
Project-URL: Documentation, https://pystac.readthedocs.io
|
|
6
6
|
Project-URL: Repository, https://github.com/stac-utils/pystac
|
|
@@ -33,5 +33,5 @@ This extension provides fields for describing visualization parameters for asset
|
|
|
33
33
|
|
|
34
34
|
## Versioning
|
|
35
35
|
|
|
36
|
-
This package's
|
|
37
|
-
When we release updates to the package code without changing the target extension version, we use [
|
|
36
|
+
This package's MAJOR and MINOR versions match the version of the extension itself, e.g. **pystac-ext-render** v2.0.0 corresponds to the [v2.0.0](https://github.com/stac-extensions/render/releases/tag/v2.0.0) release of the **render** extension.
|
|
37
|
+
When we release updates to the package code without changing the target extension version, we use [PATCH releases](https://packaging.python.org/en/latest/discussions/versioning/#valid-version-numbers).
|
|
@@ -9,5 +9,5 @@ This extension provides fields for describing visualization parameters for asset
|
|
|
9
9
|
|
|
10
10
|
## Versioning
|
|
11
11
|
|
|
12
|
-
This package's
|
|
13
|
-
When we release updates to the package code without changing the target extension version, we use [
|
|
12
|
+
This package's MAJOR and MINOR versions match the version of the extension itself, e.g. **pystac-ext-render** v2.0.0 corresponds to the [v2.0.0](https://github.com/stac-extensions/render/releases/tag/v2.0.0) release of the **render** extension.
|
|
13
|
+
When we release updates to the package code without changing the target extension version, we use [PATCH releases](https://packaging.python.org/en/latest/discussions/versioning/#valid-version-numbers).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name = "pystac-ext-render"
|
|
3
3
|
description = "Render extension for PySTAC"
|
|
4
4
|
readme = "README.md"
|
|
5
|
-
version = "2.0.
|
|
5
|
+
version = "2.0.1"
|
|
6
6
|
authors = []
|
|
7
7
|
maintainers = []
|
|
8
8
|
keywords = ["pystac", "imagery", "raster", "catalog", "STAC", "render"]
|
|
@@ -21,6 +21,9 @@ classifiers = [
|
|
|
21
21
|
requires-python = ">=3.10"
|
|
22
22
|
dependencies = ["pystac-core"]
|
|
23
23
|
|
|
24
|
+
[project.entry-points."pystac.extensions"]
|
|
25
|
+
render = "pystac.extensions.render:RENDER_EXTENSION_HOOKS"
|
|
26
|
+
|
|
24
27
|
[project.urls]
|
|
25
28
|
Documentation = "https://pystac.readthedocs.io"
|
|
26
29
|
Repository = "https://github.com/stac-utils/pystac"
|
|
@@ -34,3 +37,4 @@ build-backend = "hatchling.build"
|
|
|
34
37
|
|
|
35
38
|
[tool.hatch.build.targets.wheel]
|
|
36
39
|
packages = ["pystac"]
|
|
40
|
+
include = ["pystac.extensions.json-schema/*.json"]
|
|
@@ -408,4 +408,8 @@ class ItemRenderExtension(RenderExtension[pystac.Item]):
|
|
|
408
408
|
|
|
409
409
|
class RenderExtensionHooks(ExtensionHooks):
|
|
410
410
|
schema_uri: str = SCHEMA_URI_PATTERN.format(version=DEFAULT_VERSION)
|
|
411
|
+
prev_extension_ids: set[str] = set()
|
|
411
412
|
stac_object_types = {pystac.STACObjectType.COLLECTION, pystac.STACObjectType.ITEM}
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
RENDER_EXTENSION_HOOKS: ExtensionHooks = RenderExtensionHooks()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|