Skip to content

Commit 258e2b9

Browse files
chore(deps): update all patch updates (patch) (#2339)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [exponential-decay-histogram](https://redirect.github.com/sfackler/exponential-decay-histogram) | workspace.dependencies | patch | `=0.1.11` -> `=0.1.13` | | [oneshot](https://redirect.github.com/faern/oneshot) | workspace.dependencies | patch | `0.1.10` -> `0.1.11` | | [rand_distr](https://rust-random.github.io/book) ([source](https://redirect.github.com/rust-random/rand_distr)) | workspace.dependencies | patch | `0.5.0` -> `0.5.1` | | [tar](https://redirect.github.com/alexcrichton/tar-rs) | workspace.dependencies | patch | `0.4.43` -> `0.4.44` | --- ### Release Notes <details> <summary>sfackler/exponential-decay-histogram (exponential-decay-histogram)</summary> ### [`v0.1.13`](https://redirect.github.com/sfackler/exponential-decay-histogram/releases/tag/v0.1.13) [Compare Source](https://redirect.github.com/sfackler/exponential-decay-histogram/compare/v0.1.12...v0.1.13) #### What's Changed - Update ordered-float requirement from 4.1 to 5.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/sfackler/exponential-decay-histogram/pull/10](https://redirect.github.com/sfackler/exponential-decay-histogram/pull/10) **Full Changelog**: sfackler/exponential-decay-histogram@v0.1.12...v0.1.13 ### [`v0.1.12`](https://redirect.github.com/sfackler/exponential-decay-histogram/releases/tag/v0.1.12) [Compare Source](https://redirect.github.com/sfackler/exponential-decay-histogram/compare/0.1.11...v0.1.12) #### What's Changed - Update rand requirement from 0.8 to 0.9 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in [https://github.com/sfackler/exponential-decay-histogram/pull/9](https://redirect.github.com/sfackler/exponential-decay-histogram/pull/9) **Full Changelog**: sfackler/exponential-decay-histogram@0.1.11...v0.1.12 </details> <details> <summary>faern/oneshot (oneshot)</summary> ### [`v0.1.11`](https://redirect.github.com/faern/oneshot/blob/HEAD/CHANGELOG.md#0111---2025-02-22) [Compare Source](https://redirect.github.com/faern/oneshot/compare/v0.1.10...v0.1.11) ##### Fixed - Handle the `UNPARKING` state correctly in `Receiver::drop()`. Fixes a panic that could occur if a `Receiver` had been first polled as a future and then was being dropped in parallel with the `Sender` sending a message. </details> <details> <summary>rust-random/rand_distr (rand_distr)</summary> ### [`v0.5.1`](https://redirect.github.com/rust-random/rand_distr/blob/HEAD/CHANGELOG.md#051) [Compare Source](https://redirect.github.com/rust-random/rand_distr/compare/0.5.0...0.5.1) ##### Testing - Added building the crate to CI ##### Fixes - Fix missing import for `no_std` builds </details> <details> <summary>alexcrichton/tar-rs (tar)</summary> ### [`v0.4.44`](https://redirect.github.com/alexcrichton/tar-rs/compare/0.4.43...0.4.44) [Compare Source](https://redirect.github.com/alexcrichton/tar-rs/compare/0.4.43...0.4.44) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/spiraldb/vortex). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni4yIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Robert Kruszewski <[email protected]>
1 parent e47dbc0 commit 258e2b9

File tree

7 files changed

+53
-48
lines changed

7 files changed

+53
-48
lines changed

Cargo.lock

+23-21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ datafusion-physical-plan = "45"
8282
divan = { package = "codspeed-divan-compat", version = "2.8.0" }
8383
dyn-hash = "0.2.0"
8484
enum-iterator = "2.0.0"
85-
exponential-decay-histogram = "=0.1.11"
85+
exponential-decay-histogram = "=0.1.13"
8686
fastlanes = "0.1.5"
8787
flatbuffers = "25"
8888
flexbuffers = "25"

vortex-file/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@ async-trait = { workspace = true }
1818
bytes = { workspace = true }
1919
flatbuffers = { workspace = true }
2020
futures = { workspace = true, features = ["std"] }
21-
# TODO(ngates): remove these in favor of futures
22-
futures-executor = { workspace = true }
21+
# Needed to pickup the "wasm_js" feature for wasm targets from the workspace configuration
22+
getrandom_v03 = { workspace = true }
2323
itertools = { workspace = true }
2424
log = { workspace = true }
2525
moka = { workspace = true, features = ["future", "quanta"] }
26-
# Needed to pickup the "js" feature for wasm targets from the workspace configuration
27-
uuid = { workspace = true }
2826
oneshot = { workspace = true, features = ["async"] }
2927
rustc-hash = { workspace = true }
3028
tokio = { workspace = true, features = ["rt"], optional = true }
3129
tracing = { workspace = true, optional = true }
30+
# Needed to pickup the "js" feature for wasm targets from the workspace configuration
31+
uuid = { workspace = true }
3232
vortex-array = { workspace = true }
3333
vortex-buffer = { workspace = true }
3434
vortex-dtype = { workspace = true }

vortex-file/src/tests.rs

+20-20
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ use std::sync::Arc;
55

66
use bytes::Bytes;
77
use futures::{pin_mut, StreamExt, TryStreamExt};
8-
use futures_executor::block_on;
98
use itertools::Itertools;
109
use vortex_array::accessor::ArrayAccessor;
1110
use vortex_array::arrays::{
@@ -19,7 +18,7 @@ use vortex_array::{Array, ArrayVariants, IntoArray, ToCanonical};
1918
use vortex_buffer::{buffer, Buffer, ByteBufferMut};
2019
use vortex_dtype::PType::I32;
2120
use vortex_dtype::{DType, Nullability, PType, StructDType};
22-
use vortex_error::{vortex_panic, VortexExpect, VortexResult};
21+
use vortex_error::{vortex_panic, VortexResult};
2322
use vortex_expr::{and, eq, get_item, gt, gt_eq, ident, lit, lt, lt_eq, or, select};
2423

2524
use crate::{
@@ -964,39 +963,40 @@ async fn test_repeated_projection() {
964963
);
965964
}
966965

967-
fn chunked_file() -> VortexFile<InMemoryVortexFile> {
966+
async fn chunked_file() -> VortexResult<VortexFile<InMemoryVortexFile>> {
968967
let array = ChunkedArray::from_iter([
969968
buffer![0, 1, 2].into_array(),
970969
buffer![3, 4, 5].into_array(),
971970
buffer![6, 7, 8].into_array(),
972971
])
973972
.into_array();
974973

975-
block_on(async {
976-
let buffer: Bytes = VortexWriteOptions::default()
977-
.write(vec![], array.to_array_stream())
978-
.await?
979-
.into();
980-
VortexOpenOptions::in_memory(buffer).open().await
981-
})
982-
.vortex_expect("Failed to create test file")
974+
let buffer: Bytes = VortexWriteOptions::default()
975+
.write(vec![], array.to_array_stream())
976+
.await?
977+
.into();
978+
VortexOpenOptions::in_memory(buffer).open().await
983979
}
984980

985-
#[test]
986-
fn basic_file_roundtrip() -> VortexResult<()> {
987-
let vxf = chunked_file();
988-
let result = block_on(vxf.scan().into_array())?.to_primitive()?;
981+
#[tokio::test]
982+
async fn basic_file_roundtrip() -> VortexResult<()> {
983+
let vxf = chunked_file().await?;
984+
let result = vxf.scan().into_array().await?.to_primitive()?;
989985

990986
assert_eq!(result.as_slice::<i32>(), &[0, 1, 2, 3, 4, 5, 6, 7, 8]);
991987

992988
Ok(())
993989
}
994990

995-
#[test]
996-
fn file_take() -> VortexResult<()> {
997-
let vxf = chunked_file();
998-
let result =
999-
block_on(vxf.scan().with_row_indices(buffer![0, 1, 8]).into_array())?.to_primitive()?;
991+
#[tokio::test]
992+
async fn file_take() -> VortexResult<()> {
993+
let vxf = chunked_file().await?;
994+
let result = vxf
995+
.scan()
996+
.with_row_indices(buffer![0, 1, 8])
997+
.into_array()
998+
.await?
999+
.to_primitive()?;
10001000

10011001
assert_eq!(result.as_slice::<i32>(), &[0, 1, 8]);
10021002

vortex-io/Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ compio = { workspace = true, features = ["bytes", "macros"], optional = true }
2020
flume = { workspace = true }
2121
futures = { workspace = true, features = ["std"] }
2222
futures-util = { workspace = true }
23+
# Needed to pickup the "wasm_js" feature for wasm targets from the workspace configuration
24+
getrandom_v03 = { workspace = true }
2325
object_store = { workspace = true, optional = true }
2426
pin-project = { workspace = true }
2527
# this is the maximum subset of fetaures that is safe for wasm32 targets

vortex-layout/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,11 @@ exponential-decay-histogram = { workspace = true }
2323
flatbuffers = { workspace = true }
2424
flume = { workspace = true }
2525
futures = { workspace = true, features = ["alloc", "executor"] }
26+
getrandom_v03 = { workspace = true }
2627
itertools = { workspace = true }
2728
log = { workspace = true }
2829
pin-project-lite = { workspace = true }
30+
tokio = { workspace = true, features = ["sync"], optional = true }
2931
vortex-array = { workspace = true }
3032
vortex-buffer = { workspace = true }
3133
vortex-dtype = { workspace = true }
@@ -34,7 +36,6 @@ vortex-expr = { workspace = true }
3436
vortex-flatbuffers = { workspace = true, features = ["layout"] }
3537
vortex-mask = { workspace = true }
3638
vortex-scalar = { workspace = true }
37-
tokio = { workspace = true, features = ["sync"], optional = true }
3839

3940
[dev-dependencies]
4041
futures = { workspace = true, features = ["executor"] }

vortex-metrics/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ categories = { workspace = true }
1616
[dependencies]
1717
vortex-error = { workspace = true }
1818
witchcraft-metrics = { workspace = true }
19-
getrandom_v02 = { workspace = true }
19+
getrandom_v03 = { workspace = true }
2020

2121
[lints]
2222
workspace = true

0 commit comments

Comments
 (0)