Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[patch.crates-io]
stac = { git = "https://github.com/stac-utils/rustac" }
stac-io = { git = "https://github.com/stac-utils/rustac" }
stac-api = { git = "https://github.com/stac-utils/rustac" }
stac-duckdb = { git = "https://github.com/stac-utils/rustac" }
rustac = { git = "https://github.com/stac-utils/rustac" }
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

## [0.9.2]

### Fixed

- Circular import issue ([#186](https://github.com/stac-utils/rustac-py/pull/186))

## [0.9.1]

### Added
Expand Down Expand Up @@ -271,7 +277,8 @@ Non-functional release to fix releasing from Github actions.

Initial release.

[Unreleased]: https://github.com/stac-utils/rustac-py/compare/v0.9.1...main
[Unreleased]: https://github.com/stac-utils/rustac-py/compare/v0.9.2...main
[0.9.2]: https://github.com/stac-utils/rustac-py/compare/v0.9.1...v0.9.2
[0.9.1]: https://github.com/stac-utils/rustac-py/compare/v0.9.0...v0.9.1
[0.9.0]: https://github.com/stac-utils/rustac-py/compare/v0.8.4...v0.9.0
[0.8.4]: https://github.com/stac-utils/rustac-py/compare/v0.8.3...v0.8.4
Expand Down
53 changes: 15 additions & 38 deletions Cargo.lock

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

3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustac-py"
version = "0.9.1"
version = "0.9.2"
edition = "2024"
publish = false

Expand Down Expand Up @@ -35,7 +35,6 @@ rustac = { version = "0.1.1", features = ["pgstac"] }
serde = "1.0.217"
serde_json = { version = "1.0.138", features = ["preserve_order"] }
stac = { version = "0.14.0", features = ["geoarrow", "geoparquet"] }
stac-api = "0.8.1"
stac-duckdb = "0.2.1"
stac-io = { version = "0.1.1", features = ["store-all", "geoparquet"] }
thiserror = "2.0.12"
Expand Down
3 changes: 0 additions & 3 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ pub enum Error {
#[error(transparent)]
StacIo(#[from] stac_io::Error),

#[error(transparent)]
StacApi(#[from] stac_api::Error),

#[error(transparent)]
StacDuckdb(#[from] stac_duckdb::Error),

Expand Down
6 changes: 3 additions & 3 deletions src/search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ use pyo3::prelude::*;
use pyo3::{Bound, FromPyObject, PyErr, PyResult, exceptions::PyValueError, types::PyDict};
use pyo3_object_store::AnyObjectStore;
use serde_json::{Map, Value};
use stac::api::{Fields, Filter, Items, Search, Sortby};
use stac::{Bbox, geoparquet::WriterOptions};
use stac_api::{Fields, Filter, Items, Search, Sortby};
use stac_io::{Format, StacStore, api::Client};
use std::sync::Arc;
use tokio::{pin, sync::Mutex};
Expand Down Expand Up @@ -226,7 +226,7 @@ fn search_duckdb(
href: String,
search: Search,
max_items: Option<usize>,
) -> Result<stac_api::ItemCollection> {
) -> Result<stac::api::ItemCollection> {
let value = stac_duckdb::search(&href, search, max_items)?;
Ok(value)
}
Expand All @@ -235,7 +235,7 @@ async fn search_api(
href: String,
search: Search,
max_items: Option<usize>,
) -> Result<stac_api::ItemCollection> {
) -> Result<stac::api::ItemCollection> {
let stream = iter_search_api(href, search).await?;
pin!(stream);
let mut items = if let Some(max_items) = max_items {
Expand Down
2 changes: 0 additions & 2 deletions src/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ pub fn version(name: Option<String>) -> Option<String> {
if let Some(name) = name {
if name.eq_ignore_ascii_case("stac") {
Some(stac::version().to_string())
} else if name.eq_ignore_ascii_case("stac-api") {
Some(stac_api::version().to_string())
} else if name.eq_ignore_ascii_case("stac-duckdb") {
Some(stac_duckdb::version().to_string())
} else {
Expand Down
1 change: 0 additions & 1 deletion tests/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
def test_version() -> None:
assert rustac.version() is not None
assert rustac.version("stac") is not None
assert rustac.version("stac-api") is not None
assert rustac.version("stac-duckdb") is not None


Expand Down
Loading