Skip to content

Commit 2939c03

Browse files
authored
release: v0.9.2 (#188)
1 parent b763518 commit 2939c03

File tree

8 files changed

+27
-51
lines changed

8 files changed

+27
-51
lines changed

.cargo/config.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[patch.crates-io]
22
stac = { git = "https://github.com/stac-utils/rustac" }
33
stac-io = { git = "https://github.com/stac-utils/rustac" }
4-
stac-api = { git = "https://github.com/stac-utils/rustac" }
54
stac-duckdb = { git = "https://github.com/stac-utils/rustac" }
65
rustac = { git = "https://github.com/stac-utils/rustac" }

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55

66
## [Unreleased]
77

8+
## [0.9.2]
9+
10+
### Fixed
11+
12+
- Circular import issue ([#186](https://github.com/stac-utils/rustac-py/pull/186))
13+
814
## [0.9.1]
915

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

272278
Initial release.
273279

274-
[Unreleased]: https://github.com/stac-utils/rustac-py/compare/v0.9.1...main
280+
[Unreleased]: https://github.com/stac-utils/rustac-py/compare/v0.9.2...main
281+
[0.9.2]: https://github.com/stac-utils/rustac-py/compare/v0.9.1...v0.9.2
275282
[0.9.1]: https://github.com/stac-utils/rustac-py/compare/v0.9.0...v0.9.1
276283
[0.9.0]: https://github.com/stac-utils/rustac-py/compare/v0.8.4...v0.9.0
277284
[0.8.4]: https://github.com/stac-utils/rustac-py/compare/v0.8.3...v0.8.4

Cargo.lock

Lines changed: 15 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rustac-py"
3-
version = "0.9.1"
3+
version = "0.9.2"
44
edition = "2024"
55
publish = false
66

@@ -35,7 +35,6 @@ rustac = { version = "0.1.1", features = ["pgstac"] }
3535
serde = "1.0.217"
3636
serde_json = { version = "1.0.138", features = ["preserve_order"] }
3737
stac = { version = "0.14.0", features = ["geoarrow", "geoparquet"] }
38-
stac-api = "0.8.1"
3938
stac-duckdb = "0.2.1"
4039
stac-io = { version = "0.1.1", features = ["store-all", "geoparquet"] }
4140
thiserror = "2.0.12"

src/error.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ pub enum Error {
3535
#[error(transparent)]
3636
StacIo(#[from] stac_io::Error),
3737

38-
#[error(transparent)]
39-
StacApi(#[from] stac_api::Error),
40-
4138
#[error(transparent)]
4239
StacDuckdb(#[from] stac_duckdb::Error),
4340

src/search.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ use pyo3::prelude::*;
77
use pyo3::{Bound, FromPyObject, PyErr, PyResult, exceptions::PyValueError, types::PyDict};
88
use pyo3_object_store::AnyObjectStore;
99
use serde_json::{Map, Value};
10+
use stac::api::{Fields, Filter, Items, Search, Sortby};
1011
use stac::{Bbox, geoparquet::WriterOptions};
11-
use stac_api::{Fields, Filter, Items, Search, Sortby};
1212
use stac_io::{Format, StacStore, api::Client};
1313
use std::sync::Arc;
1414
use tokio::{pin, sync::Mutex};
@@ -226,7 +226,7 @@ fn search_duckdb(
226226
href: String,
227227
search: Search,
228228
max_items: Option<usize>,
229-
) -> Result<stac_api::ItemCollection> {
229+
) -> Result<stac::api::ItemCollection> {
230230
let value = stac_duckdb::search(&href, search, max_items)?;
231231
Ok(value)
232232
}
@@ -235,7 +235,7 @@ async fn search_api(
235235
href: String,
236236
search: Search,
237237
max_items: Option<usize>,
238-
) -> Result<stac_api::ItemCollection> {
238+
) -> Result<stac::api::ItemCollection> {
239239
let stream = iter_search_api(href, search).await?;
240240
pin!(stream);
241241
let mut items = if let Some(max_items) = max_items {

src/version.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ pub fn version(name: Option<String>) -> Option<String> {
66
if let Some(name) = name {
77
if name.eq_ignore_ascii_case("stac") {
88
Some(stac::version().to_string())
9-
} else if name.eq_ignore_ascii_case("stac-api") {
10-
Some(stac_api::version().to_string())
119
} else if name.eq_ignore_ascii_case("stac-duckdb") {
1210
Some(stac_duckdb::version().to_string())
1311
} else {

tests/test_version.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
def test_version() -> None:
55
assert rustac.version() is not None
66
assert rustac.version("stac") is not None
7-
assert rustac.version("stac-api") is not None
87
assert rustac.version("stac-duckdb") is not None
98

109

0 commit comments

Comments
 (0)