feat(python)!: Remove deprecated retries parameter - #28466
Open
BitWeaverDev wants to merge 1 commit into
Open
Conversation
BitWeaverDev
force-pushed
the
remove-retries-arg-27986
branch
2 times, most recently
from
July 21, 2026 21:08
a38b6c7 to
df28149
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #28466 +/- ##
==========================================
- Coverage 81.71% 81.64% -0.08%
==========================================
Files 1870 1870
Lines 262992 262901 -91
Branches 3217 3207 -10
==========================================
- Hits 214917 214636 -281
- Misses 47243 47442 +199
+ Partials 832 823 -9 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
The `retries` parameter was deprecated in 1.37.1 in favor of
`storage_options={"max_retries": n}` (pola-rs#26155). This removes it from
all scan/read/write/sink functions and the Catalog `scan_table` method.
Closes pola-rs#27986
BitWeaverDev
force-pushed
the
remove-retries-arg-27986
branch
from
July 31, 2026 08:39
df28149 to
e9de9ad
Compare
BitWeaverDev
marked this pull request as ready for review
July 31, 2026 08:39
BitWeaverDev
requested review from
MarcoGorelli,
alexander-beedie,
c-peters and
ritchie46
as code owners
July 31, 2026 08:39
retries parameter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
retriesparameter (deprecated in 1.37.1 in favor ofstorage_options={"max_retries": n}via depr(python): Deprecateretries=nin favor ofstorage_options={"max_retries": n}#26155) fromscan_parquet,read_parquet,read_parquet_metadata,scan_csv,scan_ipc,read_ipc,scan_ndjson,read_ndjson,Catalog.scan_table, and the corresponding write/sink functions (write_csv,write_ipc,write_parquet,sink_parquet,sink_csv,sink_ipc,sink_ndjson), which carried the identical deprecation.tests/conftest.pyandtests/unit/io/cloud/test_cloud.py.Closes #27986
Test plan
make lint(ruff, typos, mypy) passesmake testpasses (17802 passed, 22 skipped, 9 xfailed)retries=now raisesTypeErroron all affected functionsstorage_options={"max_retries": n}still works end-to-end for read/write/scan across csv/parquet/ipc/ndjson