From 2acb60afde02e684e2cd8493cc8eb7518ec449bd Mon Sep 17 00:00:00 2001 From: Francis Charette Migneault Date: Thu, 28 Mar 2024 11:50:05 -0400 Subject: [PATCH] =?UTF-8?q?Bump=20version:=200.1.0=20=E2=86=92=200.2.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 20 ++++++++++++++-- Makefile | 2 +- README.md | 2 +- examples/collection_EuroSAT-subset-train.json | 2 +- ...-train-sample-42-class-Residential.geojson | 2 +- json-schema/schema.json | 4 ++-- package.json | 4 ++-- pystac_ml_aoi/__init__.py | 2 +- setup.cfg | 23 ++++++++----------- setup.py | 2 +- 10 files changed, 37 insertions(+), 26 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 24c0794..c145d4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,9 +7,24 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -[Unreleased](https://github.com/stac-extensions/ml-aoi/compare/v0.1.0...HEAD) (latest) +[Unreleased](https://github.com/stac-extensions/ml-aoi/compare/v0.2.0...HEAD) (latest) --------------------------------------------------------------------------------------- +- n/a + +- n/a + +- n/a + +- n/a + +- n/a + +.. _changes_0.2.0: + +[v0.2.0](https://github.com/stac-extensions/ml-aoi/tree/v0.2.0) (2024-03-28) +======================================================================== + ### Added - Add `pystac_ml_aoi` Python package to provide similar capabilities to [`pystac.extensions`](https://github.com/stac-utils/pystac/tree/main/pystac/extensions) for ML-AOI. @@ -29,6 +44,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Fix syntax and format of all Markdown files. -## [v0.1.0](https://github.com/stac-extensions/ml-aoi/tree/v0.1.0) - 2021-04-29 +[v0.1.0](https://github.com/stac-extensions/ml-aoi/tree/v0.1.0) (2021-04-29) +======================================================================== Initial independent release. diff --git a/Makefile b/Makefile index a9f2c1d..563ce76 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ MAKEFILE_NAME := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)) APP_ROOT := $(abspath $(lastword $(MAKEFILE_NAME))/..) APP_NAME := $(shell basename $(APP_ROOT)) APP_PKG := pystac_ml_aoi -APP_VERSION ?= 0.1.0 +APP_VERSION ?= 0.2.0 # guess OS (Linux, Darwin,...) OS_NAME := $(shell uname -s 2>/dev/null || echo "unknown") diff --git a/README.md b/README.md index 6465376..a78d3ac 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ - **Title:** ML AOI -- **Identifier:** [https://stac-extensions.github.io/ml-aoi/v0.1.0/schema.json](https://stac-extensions.github.io/ml-aoi/v0.1.0/schema.json) +- **Identifier:** [https://stac-extensions.github.io/ml-aoi/v0.2.0/schema.json](https://stac-extensions.github.io/ml-aoi/v0.2.0/schema.json) - **Field Name Prefix:** ml-aoi - **Scope:** Collection, Item, Asset, Links - **Extension [Maturity Classification](https://github.com/radiantearth/stac-spec/tree/master/extensions/README.md#extension-maturity):** Proposal diff --git a/examples/collection_EuroSAT-subset-train.json b/examples/collection_EuroSAT-subset-train.json index ee786f1..33cdf35 100644 --- a/examples/collection_EuroSAT-subset-train.json +++ b/examples/collection_EuroSAT-subset-train.json @@ -2,7 +2,7 @@ "stac_version": "1.0.0", "stac_extensions": [ "https://stac-extensions.github.io/eo/v1.1.0/schema.json", - "https://stac-extensions.github.io/ml-aoi/v0.1.0/schema.json", + "https://stac-extensions.github.io/ml-aoi/v0.2.0/schema.json", "https://stac-extensions.github.io/scientific/v1.0.0/schema.json", "https://stac-extensions.github.io/stats/v0.2.0/schema.json", "https://stac-extensions.github.io/version/v1.0.0/schema.json", diff --git a/examples/item_EuroSAT-subset-train-sample-42-class-Residential.geojson b/examples/item_EuroSAT-subset-train-sample-42-class-Residential.geojson index 68b211b..0d58684 100644 --- a/examples/item_EuroSAT-subset-train-sample-42-class-Residential.geojson +++ b/examples/item_EuroSAT-subset-train-sample-42-class-Residential.geojson @@ -5,7 +5,7 @@ "https://stac-extensions.github.io/file/v1.0.0/schema.json", "https://stac-extensions.github.io/raster/v1.1.0/schema.json", "https://stac-extensions.github.io/label/v1.0.1/schema.json", - "https://stac-extensions.github.io/ml-aoi/v0.1.0/schema.json", + "https://stac-extensions.github.io/ml-aoi/v0.2.0/schema.json", "https://stac-extensions.github.io/version/v1.0.0/schema.json" ], "type": "Feature", diff --git a/json-schema/schema.json b/json-schema/schema.json index 542fe50..4377669 100644 --- a/json-schema/schema.json +++ b/json-schema/schema.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://stac-extensions.github.io/ml-aoi/v0.1.0/schema.json#", + "$id": "https://stac-extensions.github.io/ml-aoi/v0.2.0/schema.json#", "title": "ML AOI Extension", "description": "ML AOI Extension for STAC definitions.", "oneOf": [ @@ -91,7 +91,7 @@ "stac_extensions": { "type": "array", "contains": { - "const": "https://stac-extensions.github.io/ml-aoi/v0.1.0/schema.json" + "const": "https://stac-extensions.github.io/ml-aoi/v0.2.0/schema.json" } } } diff --git a/package.json b/package.json index 7cd8c85..23f36f4 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "scripts": { "test": "npm run check-markdown && npm run check-examples", "check-markdown": "remark . -f -r .github/remark.yaml", - "check-examples": "stac-node-validator . --lint --verbose --schemaMap https://stac-extensions.github.io/ml-aoi/v0.1.0/schema.json=./json-schema/schema.json", - "format-examples": "stac-node-validator . --format --schemaMap https://stac-extensions.github.io/ml-aoi/v0.1.0/schema.json=./json-schema/schema.json" + "check-examples": "stac-node-validator . --lint --verbose --schemaMap https://stac-extensions.github.io/ml-aoi/v0.2.0/schema.json=./json-schema/schema.json", + "format-examples": "stac-node-validator . --format --schemaMap https://stac-extensions.github.io/ml-aoi/v0.2.0/schema.json=./json-schema/schema.json" }, "dependencies": { "remark-lint-no-html": "^2.0.0", diff --git a/pystac_ml_aoi/__init__.py b/pystac_ml_aoi/__init__.py index 9bd20de..ef1c5ce 100644 --- a/pystac_ml_aoi/__init__.py +++ b/pystac_ml_aoi/__init__.py @@ -1,2 +1,2 @@ # this is automatically updated by 'make bump' -__version__ = "0.1.0" +__version__ = "0.2.0" diff --git a/setup.cfg b/setup.cfg index e5c09ab..c656fe1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.1.0 +current_version = 0.2.0 commit = True tag = True tag_name = v{new_version} @@ -11,25 +11,20 @@ search = replace = [Unreleased](https://github.com/stac-extensions/ml-aoi/compare/v{new_version}...HEAD) (latest) --------------------------------------------------------------------------------------- - - ### Added + - n/a - - ### Changes + - n/a - - ### Deprecated + - n/a - - ### Removed + - n/a - - ### Fixed + - n/a .. _changes_{new_version}: - [v{new_version}](https://github.com/stac-extensions/ml-aoi/tree/{new_version}) ({now:%%Y-%%m-%%d}) + [v{new_version}](https://github.com/stac-extensions/ml-aoi/tree/v{new_version}) ({now:%%Y-%%m-%%d}) ======================================================================== [bumpversion:file:README.md] @@ -73,9 +68,9 @@ addopts = log_cli = false log_level = DEBUG python_files = test_*.py -markers = +markers = functional: mark test as functionality validation -filterwarnings = +filterwarnings = ignore:.*iana\.org.*:urllib3.exceptions.InsecureRequestWarning [isort] diff --git a/setup.py b/setup.py index f14b3c0..1487a20 100644 --- a/setup.py +++ b/setup.py @@ -85,7 +85,7 @@ def _parse_requirements(file_path, requirements, links): } # this is automatically updated by 'make bump' -VERSION = "0.1.0" +VERSION = "0.2.0" setup( name="pystac-ml-aoi",