Skip to content

Commit

Permalink
Bump python version to 0.3.0-beta.1 (#758)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron authored Sep 3, 2024
1 parent dec52fa commit 1e1e223
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 25 deletions.
4 changes: 2 additions & 2 deletions python/Cargo.lock

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

11 changes: 11 additions & 0 deletions python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@
members = ["geoarrow-core", "geoarrow-io"]
resolver = "2"

[workspace.package]
authors = ["Kyle Barron <[email protected]>"]
version = "0.3.0-beta.1"
edition = "2021"
homepage = "https://geoarrow.org/geoarrow-rs/"
repository = "https://github.com/geoarrow/geoarrow-rs"
license = "MIT OR Apache-2.0"
keywords = ["python", "arrow", "geospatial"]
categories = ["wasm", "science::geo"]
rust-version = "1.80"

[workspace.dependencies]
arrow = "52"
arrow-array = "52"
Expand Down
8 changes: 7 additions & 1 deletion python/DEVELOP.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Development

```
poetry run maturin develop -m geoarrow-core/Cargo.toml
poetry run maturin develop -m geoarrow-io/Cargo.toml
poetry run mkdocs serve
```


To install versions of the package under active development, you need to have Rust installed, e.g. with rustup:

Expand Down Expand Up @@ -41,7 +47,7 @@ Deploy docs (manually):
poetry run mike deploy VERSION_TAG --update-aliases --push --deploy-prefix python/
```

This only needs to be run **once ever**, to set the redirect from `https://geoarrow.github.io/geoarrow-rs/python/` to `https://geoarrow.github.io/geoarrow-rs/python/latest/`.
This only needs to be run **once ever**, to set the redirect from `https://geoarrow.org/geoarrow-rs/python/` to `https://geoarrow.org/geoarrow-rs/python/latest/`.

```
poetry run mike set-default latest --deploy-prefix python/ --push
Expand Down
2 changes: 1 addition & 1 deletion python/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ More specifically, it contains:

## Documentation

Refer to the documentation at [geoarrow.github.io/geoarrow-rs/python](https://geoarrow.github.io/geoarrow-rs/python).
Refer to the documentation at [geoarrow.org/geoarrow-rs/python](https://geoarrow.org/geoarrow-rs/python).

## Installation

Expand Down
17 changes: 9 additions & 8 deletions python/geoarrow-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
[package]
name = "geoarrow-rust-core"
version = "0.3.0-alpha.1"
authors = ["Kyle Barron <[email protected]>"]
edition = "2021"
version = { workspace = true }
authors = { workspace = true }
edition = { workspace = true }
description = "Efficient, vectorized geospatial operations in Python."
readme = "README.md"
repository = "https://github.com/geoarrow/geoarrow-rs"
license = "MIT OR Apache-2.0"
keywords = ["python", "arrow", "geospatial"]
categories = ["wasm", "science::geo"]
rust-version = "1.80"
repository = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
keywords = { workspace = true }
categories = { workspace = true }
rust-version = { workspace = true }

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
Expand Down
2 changes: 1 addition & 1 deletion python/geoarrow-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ More specifically, it contains:

## Documentation

Refer to the documentation at [geoarrow.github.io/geoarrow-rs/python](https://geoarrow.github.io/geoarrow-rs/python).
Refer to the documentation at [geoarrow.org/geoarrow-rs/python](https://geoarrow.org/geoarrow-rs/python).

## Future work:

Expand Down
19 changes: 10 additions & 9 deletions python/geoarrow-io/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
[package]
name = "geoarrow-rust-io"
version = "0.3.0-alpha.1"
authors = ["Kyle Barron <[email protected]>"]
edition = "2021"
description = "Efficient, vectorized geospatial operations in Python."
version = { workspace = true }
authors = { workspace = true }
edition = { workspace = true }
description = "Read and write geospatial file formats to and from GeoArrow."
readme = "README.md"
repository = "https://github.com/geoarrow/geoarrow-rs"
license = "MIT OR Apache-2.0"
keywords = ["python", "arrow", "geospatial"]
categories = ["wasm", "science::geo"]
rust-version = "1.80"
repository = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
keywords = { workspace = true }
categories = { workspace = true }
rust-version = { workspace = true }

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
Expand Down
4 changes: 2 additions & 2 deletions python/geoarrow-io/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# `geoarrow.rust.io`

Python bindings to `geoarrow-rs` to read and write geospatial file formats.
Read and write geospatial file formats to and from GeoArrow.

## Documentation

Refer to the documentation at [geoarrow.github.io/geoarrow-rs/python](https://geoarrow.github.io/geoarrow-rs/python).
Refer to the documentation at [geoarrow.org/geoarrow-rs/python](https://geoarrow.org/geoarrow-rs/python).
2 changes: 1 addition & 1 deletion python/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ site_description: Python bindings to Rust implementation of GeoArrow
site_author: Kyle Barron
# Note: trailing slash recommended with mike:
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-versioning/#publishing-a-new-version
site_url: https://geoarrow.github.io/geoarrow-rs/python/
site_url: https://geoarrow.org/geoarrow-rs/python/
docs_dir: docs

extra:
Expand Down

0 comments on commit 1e1e223

Please sign in to comment.