From baf3e5e07ac39fa14e9e9b7f4cf23391352bd3fd Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Sat, 12 Oct 2024 08:01:14 -0600 Subject: [PATCH] release: v0.3.9 --- .pre-commit-config.yaml | 2 +- CHANGELOG.md | 5 ++++- README.md | 11 ++++++----- RELEASING.md | 3 ++- pyproject.toml | 6 +++--- uv.lock | 2 +- 6 files changed, 17 insertions(+), 12 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5bf8ba8..b62089a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,7 +12,7 @@ repos: - id: mypy additional_dependencies: - click~=8.1.6 - - pytest~=8.0 + - pytest>=8.0 - repo: https://github.com/charliermarsh/ruff-pre-commit rev: v0.6.9 hooks: diff --git a/CHANGELOG.md b/CHANGELOG.md index ff28338..112f572 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +## [0.3.9] + ### Added - `force_over_antimeridian` argument to `bbox` ([#142](https://github.com/gadomski/antimeridian/pull/142)) @@ -150,7 +152,8 @@ This v0.1.0 release is to indicate that we think that this package is ready to u Initial release. -[unreleased]: https://github.com/gadomski/antimeridian/compare/v0.3.8...HEAD +[unreleased]: https://github.com/gadomski/antimeridian/compare/v0.3.9...HEAD +[0.3.9]: https://github.com/gadomsk/antimeridian/compare/v0.3.8...v0.3.9 [0.3.8]: https://github.com/gadomsk/antimeridian/compare/v0.3.7...v0.3.8 [0.3.7]: https://github.com/gadomsk/antimeridian/compare/v0.3.6...v0.3.7 [0.3.6]: https://github.com/gadomsk/antimeridian/compare/v0.3.5...v0.3.6 diff --git a/README.md b/README.md index bc0c07d..ee828f9 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Can fix: ## Usage ```shell -pip install antimeridian +python -m pip install antimeridian ``` Then: @@ -41,24 +41,25 @@ See [the documentation](https://antimeridian.readthedocs.io/) for a complete API Use the `cli` optional dependency to install the `antimeridian` CLI: ```shell -pip install 'antimeridian[cli]' +python -m pip install 'antimeridian[cli]' antimeridian fix input.json > output.json ``` ## Developing -Clone and install in editable mode with the development optional dependencies: +Get [uv](https://docs.astral.sh/uv/getting-started/installation/). +Then: ```shell git clone https://github.com/gadomski/antimeridian cd antimeridian -pip install -e '.[dev,docs]' +uv sync ``` We use [pytest](https://docs.pytest.org) for tests: ```shell -pytest +uv run pytest ``` We use [Sphinx](https://www.sphinx-doc.org) for docs: diff --git a/RELEASING.md b/RELEASING.md index 53c5799..5c55726 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -1,6 +1,7 @@ # Releasing -1. Determine the next version. Try to follow [semantic versioning](https://semver.org/). +1. Determine the next version. + We adhere to [semantic versioning](https://semver.org/). Our public API is every importable Python function and class, except for `antimeridian.main` -- the CLI is not part of the API, and can break at any time. 2. Create a branch named `release/vX.Y.Z`. 3. Update: diff --git a/pyproject.toml b/pyproject.toml index 4771dde..3058d7b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,8 +1,8 @@ [project] name = "antimeridian" -version = "0.3.8" +version = "0.3.9" authors = [{ name = "Pete Gadomski", email = "pete.gadomski@gmail.com" }] -description = "Fix GeoJSON geometries that cross the antimeridian" +description = "Fix GeoJSON geometries that cross the 180th meridian" readme = "README.md" requires-python = ">=3.10" keywords = ["geojson", "antimeridian", "shapely"] @@ -20,6 +20,7 @@ dependencies = ["numpy>=1.22.4", "shapely>=2.0"] [project.urls] Documentation = "https://antimeridian.readthedocs.io" Github = "https://github.com/gadomski/antimeridian" +Issues = "https://github.com/gadomski/antimeridian/issues" Changelog = "https://github.com/gadomski/antimeridian/blob/main/CHANGELOG.md" [project.optional-dependencies] @@ -56,7 +57,6 @@ dev-dependencies = [ "ruff>=0.6.1", ] - [build-system] requires = ["hatchling"] build-backend = "hatchling.build" diff --git a/uv.lock b/uv.lock index fd5a17f..2f9bd9e 100644 --- a/uv.lock +++ b/uv.lock @@ -3,7 +3,7 @@ requires-python = ">=3.10" [[package]] name = "antimeridian" -version = "0.3.8" +version = "0.3.9" source = { editable = "." } dependencies = [ { name = "numpy" },