Skip to content

Commit

Permalink
Release/v0.5.0 (#112)
Browse files Browse the repository at this point in the history
* Bump to 0.5.0

* Changelog.

* Update Readme.
  • Loading branch information
guidorice committed May 20, 2022
1 parent d4f5f7a commit 2f9563f
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 11 deletions.
19 changes: 16 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

### Removed

### Changed

### Fixed

### Deprecated

### Developer

## [v0.5.0]

### Added

- Add `Dataset.stac_catalog_size`, and `estimated_dataset_size` properties. ([#104](https://github.com/radiantearth/radiant-mlhub/pull/104))
- Add descriptive `__str__` methods to model classes. ([#104](https://github.com/radiantearth/radiant-mlhub/pull/104))

Expand All @@ -25,8 +39,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Remove outdated jupyter notebooks from the `examples/` folder. ([#104](https://github.com/radiantearth/radiant-mlhub/pull/104))

### Deprecated

### Developer

- Remove `tox` from development environment. ([#104](https://github.com/radiantearth/radiant-mlhub/pull/104))
Expand Down Expand Up @@ -187,7 +199,8 @@ Includes support for:
* Fetching datasets and collections by ID
* Downloading collection archives

[Unreleased]: <https://github.com/stac-utils/pystac/compare/v0.4.1...main>
[Unreleased]: <https://github.com/stac-utils/pystac/compare/v0.5.0...main>
[v0.5.0]: <https://github.com/stac-utils/pystac/compare/v0.4.1...0.5.0>
[v0.4.1]: <https://github.com/stac-utils/pystac/compare/v0.4.0...0.4.1>
[v0.4.0]: <https://github.com/stac-utils/pystac/compare/v0.3.1...0.4.0>
[v0.3.1]: <https://github.com/stac-utils/pystac/compare/v0.3.0...0.3.1>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

## Documentation

API reference and Getting Started guides are available on [Read the Docs](https://radiant-mlhub.readthedocs.io/en/latest/).
API reference and Getting Started guides are available on [Read the Docs](https://radiant-mlhub.readthedocs.io/en/stable/).

## Python Version Support

Expand Down
2 changes: 1 addition & 1 deletion binder/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
radiant-mlhub==0.4.1
radiant-mlhub==0.5.0
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ignore_missing_imports = true
# github_url = "https://github.com/<user or organization>/<project>/"

[tool.tbump.version]
current = "0.4.1"
current = "0.5.0"

# Example of a semver regexp.
# Make sure this matches current_version before
Expand Down
2 changes: 1 addition & 1 deletion radiant_mlhub/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.4.1'
__version__ = '0.5.0'
2 changes: 1 addition & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set name = "radiant-mlhub" %}
{% set version = "0.4.1" %}
{% set version = "0.5.0" %}


package:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="radiant_mlhub",
version="0.4.1",
version="0.5.0",
author="Radiant Earth Foundation",
author_email="devops@radiant.earth",
license='Apache License 2.0',
Expand Down
2 changes: 1 addition & 1 deletion test/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class TestCLI:

def test_version(self, cli_runner: "CliRunner_Type") -> None:
result = cli_runner.invoke(mlhub, ['--version'])
assert result.output.rstrip('\n') == 'mlhub, version 0.4.1'
assert result.output.rstrip('\n') == 'mlhub, version 0.5.0'

def test_configure(self, isolated_cli_runner: "CliRunner_Type") -> None:
new_home = Path.cwd()
Expand Down
2 changes: 1 addition & 1 deletion test/test_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def test_inject_headers(self, requests_mock: "Mocker_Type") -> None:
assert len(history) == 1

assert history[0].headers.get('accept') == 'application/json'
assert 'radiant_mlhub/0.4.1' in history[0].headers.get('user-agent')
assert 'radiant_mlhub/0.5.0' in history[0].headers.get('user-agent')

def test_relative_path(self, requests_mock: "Mocker_Type", root_url: str) -> None:
"""The session uses the default root URL and joins relative paths to the root URL."""
Expand Down

0 comments on commit 2f9563f

Please sign in to comment.