From 1e1e2234455cbeac6a3c1c082dd7b2b7f082e46c Mon Sep 17 00:00:00 2001 From: Kyle Barron Date: Tue, 3 Sep 2024 19:11:11 -0400 Subject: [PATCH] Bump python version to 0.3.0-beta.1 (#758) --- python/Cargo.lock | 4 ++-- python/Cargo.toml | 11 +++++++++++ python/DEVELOP.md | 8 +++++++- python/docs/index.md | 2 +- python/geoarrow-core/Cargo.toml | 17 +++++++++-------- python/geoarrow-core/README.md | 2 +- python/geoarrow-io/Cargo.toml | 19 ++++++++++--------- python/geoarrow-io/README.md | 4 ++-- python/mkdocs.yml | 2 +- 9 files changed, 44 insertions(+), 25 deletions(-) diff --git a/python/Cargo.lock b/python/Cargo.lock index 5d22f787..4c332150 100644 --- a/python/Cargo.lock +++ b/python/Cargo.lock @@ -1058,7 +1058,7 @@ dependencies = [ [[package]] name = "geoarrow-rust-core" -version = "0.3.0-alpha.1" +version = "0.3.0-beta.1" dependencies = [ "arrow", "arrow-array", @@ -1076,7 +1076,7 @@ dependencies = [ [[package]] name = "geoarrow-rust-io" -version = "0.3.0-alpha.1" +version = "0.3.0-beta.1" dependencies = [ "arrow", "bytes", diff --git a/python/Cargo.toml b/python/Cargo.toml index c959172f..8c2fe103 100644 --- a/python/Cargo.toml +++ b/python/Cargo.toml @@ -2,6 +2,17 @@ members = ["geoarrow-core", "geoarrow-io"] resolver = "2" +[workspace.package] +authors = ["Kyle Barron "] +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" diff --git a/python/DEVELOP.md b/python/DEVELOP.md index 5bdcb1cc..16e2e4d0 100644 --- a/python/DEVELOP.md +++ b/python/DEVELOP.md @@ -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: @@ -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 diff --git a/python/docs/index.md b/python/docs/index.md index a3e6e14a..553c0849 100644 --- a/python/docs/index.md +++ b/python/docs/index.md @@ -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 diff --git a/python/geoarrow-core/Cargo.toml b/python/geoarrow-core/Cargo.toml index 38b51e1f..e8e91fe3 100644 --- a/python/geoarrow-core/Cargo.toml +++ b/python/geoarrow-core/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "geoarrow-rust-core" -version = "0.3.0-alpha.1" -authors = ["Kyle Barron "] -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] diff --git a/python/geoarrow-core/README.md b/python/geoarrow-core/README.md index 7a080f91..6f6333ae 100644 --- a/python/geoarrow-core/README.md +++ b/python/geoarrow-core/README.md @@ -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: diff --git a/python/geoarrow-io/Cargo.toml b/python/geoarrow-io/Cargo.toml index fa1f907c..da729e9f 100644 --- a/python/geoarrow-io/Cargo.toml +++ b/python/geoarrow-io/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "geoarrow-rust-io" -version = "0.3.0-alpha.1" -authors = ["Kyle Barron "] -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] diff --git a/python/geoarrow-io/README.md b/python/geoarrow-io/README.md index 2d2c22b0..c4036971 100644 --- a/python/geoarrow-io/README.md +++ b/python/geoarrow-io/README.md @@ -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). diff --git a/python/mkdocs.yml b/python/mkdocs.yml index e133ae9c..c8f19322 100644 --- a/python/mkdocs.yml +++ b/python/mkdocs.yml @@ -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: