Skip to content

Commit

Permalink
release: v0.7.7 (#671)
Browse files Browse the repository at this point in the history
  • Loading branch information
gadomski authored Apr 19, 2024
1 parent 124fe01 commit 0c7d3f1
Show file tree
Hide file tree
Showing 63 changed files with 26,070 additions and 25,212 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tests/cassettes/**/*.yaml linguist-generated=true
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@

repos:
- repo: https:/charliermarsh/ruff-pre-commit
rev: "v0.0.285"
rev: "v0.4.0"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- repo: https:/psf/black
rev: 23.7.0
rev: 24.4.0
hooks:
- id: black
- repo: https:/codespell-project/codespell
rev: v2.2.5
rev: v2.2.6
hooks:
- id: codespell
args: [--ignore-words=.codespellignore]
Expand All @@ -25,7 +25,7 @@ repos:
additional_dependencies:
- importlib_metadata < 5; python_version == "3.7"
- repo: https:/pre-commit/mirrors-mypy
rev: v1.5.1
rev: v1.9.0
hooks:
- id: mypy
files: ".*\\.py$"
Expand Down
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [v0.7.7]

### Changed

- Updated to **pystac** v1.10.0 [#661](https:/stac-utils/pystac-client/pull/661)
Expand Down Expand Up @@ -345,7 +347,7 @@ are in a single HTTP session, handle pagination and respects conformance

### Changed

- CLI: pass in heades as list of KEY=VALUE pairs
- CLI: pass in headers as list of KEY=VALUE pairs

### Fixed

Expand All @@ -356,7 +358,8 @@ are in a single HTTP session, handle pagination and respects conformance

Initial release.

[Unreleased]: <https:/stac-utils/pystac-client/compare/v0.7.6...main>
[Unreleased]: <https:/stac-utils/pystac-client/compare/v0.7.7...main>
[v0.7.7]: <https:/stac-utils/pystac-client/compare/v0.7.6...v0.7.7>
[v0.7.6]: <https:/stac-utils/pystac-client/compare/v0.7.5...v0.7.6>
[v0.7.5]: <https:/stac-utils/pystac-client/compare/v0.7.4...v0.7.5>
[v0.7.4]: <https:/stac-utils/pystac-client/compare/v0.7.3...v0.7.4>
Expand Down
15 changes: 8 additions & 7 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@
2. Create a release branch named `release/vX.Y.Z`, where `X.Y.Z` is the next version.
3. Update [version.py](pystac_client/version.py) with the new version.
4. Update all cassettes: `pytest --record-mode rewrite`
5. Update [CHANGELOG.md](CHANGELOG.md).
5. Update the pre-commit hook versions: `pre-commit autoupdate`
6. Update [CHANGELOG.md](CHANGELOG.md).
1. Add a new header under "Unreleased" with the new version and the date, e.g. `## [vX.Y.Z] - YYYY-MM-DD`.
2. Audit the changelog section to ensure all changes are captured.
3. Add a link reference for the new version after the Unreleased link reference at the bottom of the file.
Follow the format from the previous version links.
6. If necessary, update the versions table in [the documentation](docs/index.rst)
7. (optional) Build the package locally and inspect its contents: `pip install build && python -m build`
8. Open a pull request for your `release/vX.Y.Z` branch against the appropriate branch (either `main` or a version branch, e.g. `v0.3`).
9. After pull request merge, create an annotated tag for your version, e.g. `git tag -a vX.Y.Z`.
10. Push the tag.
7. If necessary, update the versions table in [the documentation](docs/index.rst)
8. (optional) Build the package locally and inspect its contents: `pip install build && python -m build`
9. Open a pull request for your `release/vX.Y.Z` branch against the appropriate branch (either `main` or a version branch, e.g. `v0.3`).
10. After pull request merge, create an annotated tag for your version, e.g. `git tag -a vX.Y.Z`.
11. Push the tag.
This will trigger [the Github release workflow](.github/workflows/release.yml) and publish to PyPI.
11. [Create a new release on Github](https:/stac-utils/pystac-client/releases/new) pointing to the new tag.
12. [Create a new release on Github](https:/stac-utils/pystac-client/releases/new) pointing to the new tag.
6 changes: 4 additions & 2 deletions pystac_client/_utils.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import warnings
from typing import Callable, Optional, Union
from typing import Any, Callable, Dict, Optional, Union

import pystac

from pystac_client.errors import IgnoredResultWarning

Modifiable = Union[pystac.Collection, pystac.Item, pystac.ItemCollection, dict]
Modifiable = Union[
pystac.Collection, pystac.Item, pystac.ItemCollection, Dict[Any, Any]
]


def call_modifier(
Expand Down
3 changes: 1 addition & 2 deletions pystac_client/item_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@

class GeoInterface(Protocol):
@property
def __geo_interface__(self) -> Dict[str, Any]:
...
def __geo_interface__(self) -> Dict[str, Any]: ...


DatetimeOrTimestamp = Optional[Union[datetime_, str]]
Expand Down
2 changes: 1 addition & 1 deletion pystac_client/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.7.6"
__version__ = "0.7.7"

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0c7d3f1

Please sign in to comment.