Skip to content

Commit 01afffd

Browse files
author
Stefan Jansen
committed
fix(acquisition): require qualified Yahoo SDK and record installed consumers
The former Yahoo range admitted SDK releases missing the exceptions used by public empty-download recovery. Reproduce the native failure with installed yfinance 0.2.1 and require the qualified 1.5.2 range; retain the existing resolved lock version. Record actual isolated wheel and sdist consumer journeys and their immutable legacy revisions.
1 parent 5ff44e4 commit 01afffd

3 files changed

Lines changed: 17 additions & 6 deletions

File tree

‎docs/getting-started/migration.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,3 +459,14 @@ The offline [acquisition migration example](https://github.com/ml4t/data/blob/ma
459459
replays retained public response captures through actual parsers, providers and CSV files. It runs
460460
without credentials or network and does not require any Reloaded package. This is an unreleased
461461
source workflow, not a claim that a released successor stack already replaces every legacy option.
462+
463+
Isolated wheel and source-distribution checks qualified Data `0.2.2.dev27+g5ff44e4ac`,
464+
Specs `0.2.0`, Diagnostic `0.1.9`, Pyfolio Reloaded `0.10.0` at immutable commit
465+
`365e649f591c39cef5d0170958280e49b8eeb953`, and Alphalens Reloaded `0.5.0` at
466+
`1bc181de4aafbe33437ed0e362ff96aa7ce20acd`. The checks exercised actual Diagnostic
467+
`FactorData`, Pyfolio's registered return callback and Alphalens' forward-return calculation from
468+
Data-produced inputs. They used Python `3.12`, pandas `2.3.3`, Polars `2.0.0` and yfinance
469+
`1.7.0`. The selected dependency-floor lane separately passed with Polars `1.36.1`,
470+
pandas-market-calendars `5.4.0` and yfinance `1.5.2`. Older yfinance versions admitted by the
471+
former `>=0.2.0` declaration lack the exception API used by Data's empty-download recovery;
472+
the Yahoo extra now requires the qualified `>=1.5.2` range.

‎pyproject.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ dependencies = [
107107
[project.optional-dependencies]
108108
# Provider-specific dependencies
109109
yahoo = [
110-
"yfinance>=0.2.0",
110+
"yfinance>=1.5.2",
111111
]
112112
databento = [
113113
"databento>=0.38.0",
@@ -186,7 +186,7 @@ dev = [
186186
"twine>=6.0.0",
187187
"pip-audit>=2.10.1",
188188
"databento>=0.38.0",
189-
"yfinance>=0.2.0",
189+
"yfinance>=1.5.2",
190190
]
191191

192192
[tool.uv]

‎uv.lock‎

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

0 commit comments

Comments
 (0)