mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 20:42:26 +00:00
* fix(yfinance): update yfinance version to fix curl_cffi compatibility Update yfinance from pinned version 0.2.58 to ^0.2.66 to resolve the 'CurlStreamResponse._decode() got an unexpected keyword argument max_length' error that occurs when using the yfinance provider. The issue is caused by a version mismatch between yfinance and curl_cffi, where the older yfinance version passes arguments that the newer curl_cffi no longer expects. Fixes #7277 * refactor(yfinance): avoid session injection and fix thread-safety * run 'black' to fix formatting and recapture unit test cassettes. * lint * fix(yfinance): update yfinance version to fix curl_cffi compatibility Update yfinance from pinned version 0.2.58 to ^0.2.66 to resolve the 'CurlStreamResponse._decode() got an unexpected keyword argument max_length' error that occurs when using the yfinance provider. The issue is caused by a version mismatch between yfinance and curl_cffi, where the older yfinance version passes arguments that the newer curl_cffi no longer expects. Fixes #7277 * refactor(yfinance): avoid session injection and fix thread-safety * run 'black' to fix formatting and recapture unit test cassettes. * lint * fix linter error in price_target_consensus * try a different vcr configuration and recapture test cassettes * try with vcr config for allow_playback_repeats. if this doesn't work, we should disable cassette mode temporarily until the actions issue can be properly diagnosed. * version bump --------- Co-authored-by: Murat Aslan <murataslan1@users.noreply.github.com> Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>