Skip to content

Commit

Permalink
release: v0.3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
gadomski committed Oct 12, 2024
1 parent a125c77 commit baf3e5e
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down Expand Up @@ -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
Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Can fix:
## Usage

```shell
pip install antimeridian
python -m pip install antimeridian
```

Then:
Expand All @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[project]
name = "antimeridian"
version = "0.3.8"
version = "0.3.9"
authors = [{ name = "Pete Gadomski", email = "[email protected]" }]
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"]
Expand All @@ -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]
Expand Down Expand Up @@ -56,7 +57,6 @@ dev-dependencies = [
"ruff>=0.6.1",
]


[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
2 changes: 1 addition & 1 deletion uv.lock

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

0 comments on commit baf3e5e

Please sign in to comment.