Skip to content

[topk-py] int overflow message - #628

Merged
petertoth merged 1 commit into
mainfrom
peto/py-int-overflow-message
Oct 6, 2026
Merged

petertoth merged 1 commit into
mainfrom
peto/py-int-overflow-message

Conversation

@petertoth

Copy link
Copy Markdown
Contributor

Python SDK tests failing with:

+test-py *failed* | FAILED tests/test_data_vector_dense.py::TestU8Vector::test_invalid_number_range - AssertionError: Regex pattern did not match.
+test-py *failed* |   Expected regex: 'out of range integral type conversion attempted'
+test-py *failed* |   Actual message: 'number too large to fit in target type'
+test-py *failed* | FAILED tests/test_data_vector_dense.py::TestI8Vector::test_invalid_number_range - AssertionError: Regex pattern did not match.
+test-py *failed* |   Expected regex: 'out of range integral type conversion attempted'
+test-py *failed* |   Actual message: 'number too small to fit in target type'
+test-py *failed* | FAILED tests/test_data_vector_dense.py::TestBinaryVector::test_invalid_number_range - AssertionError: Regex pattern did not match.
+test-py *failed* |   Expected regex: 'out of range integral type conversion attempted'
+test-py *failed* |   Actual message: 'number too large to fit in target type'

Due to the rust version change in rust:slim image as the currently latest image is using Rust version 1.99.0

Change coming from rust-lang/rust#156225

Alternative: We can pin rust version for tests in Earthfile

@petertoth petertoth added the ready label Oct 5, 2026
@petertoth
petertoth requested a review from jlsan92 October 6, 2026 13:25
@petertoth
petertoth merged commit 801491c into main Oct 6, 2026
42 of 54 checks passed
@petertoth
petertoth deleted the peto/py-int-overflow-message branch October 6, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants