* fix(client): fix missing dependencies and unsafe pickle usage
* ci: exclude client extra from default install to avoid macOS CI failures
* fix: CI error
* ci: install dependencies with --no-cache-dir to avoid disk space issues
* dont manually call setuptools_scm - its integrated
setuptools_scm automatically set the version attribute - manually setting it wrong
* fix(docs): set fallback version for setuptools-scm to fix autodoc import errors on Read the Docs
---------
Co-authored-by: SunsetWolf <Lv.Linlang@hotmail.com>
* fix: replace deprecated pandas fillna(method=) with ffill()/bfill()
Replace deprecated fillna(method="ffill"/"bfill") calls with modern
pandas ffill() and bfill() methods to fix FutureWarnings in pandas 2.x.
Also includes black formatting fixes for compliance.
This addresses the pandas deprecation warnings portion of issue #1981.
Other issues (date parsing, type conversion, timezone handling) will be
addressed in separate commits.
Fixes:
- Yahoo collector: 2 instances in calc_change() and adjusted_price()
- BaoStock collector: 1 instance in calc_change()
- Core utils: resam.py fillna operations
- Backtest: profit_attribution.py stock data processing
- High-freq ops: FFillNan and BFillNan operators
- Position analysis: parse_position.py weight processing
Partially addresses GitHub issue #1981
* lint with black
* lint with black
* limit minimum version of pandas
* limit minimum version of pandas
---------
Co-authored-by: Linlang <Lv.Linlang@hotmail.com>
* ci: auto release
* fix: bug getting version in qlib/__init__.py
* fix: bug getting version in setup.py
* fix: bug getting version in qlib/__init__.py
* fix: make the code in CI more complete
* fix: specify the root directory in the get_verison method
* fix: parameter error
* update: optimize code && add comments
* fix: upgrade the method of installing LightGBM on MacOS
* fix: upgrade the method of installing LightGBM on MacOS
* fix: upgrade the method of installing LightGBM on MacOS
* fix: upgrade the method of installing LightGBM on MacOS
* fix: upgrade the method of installing LightGBM on MacOS
* fix: upgrade the method of installing LightGBM on MacOS
* fix: upgrade the method of installing LightGBM on MacOS
* fix: upgrade the method of installing LightGBM on MacOS
* fix: upgrade the method of installing LightGBM on MacOS
* fix: upgrade the method of installing LightGBM on MacOS
* fix: upgrade the method of installing LightGBM on MacOS
* fix: upgrade the method of installing LightGBM on MacOS
* fix: upgrade the method of installing LightGBM on MacOS
* fix: upgrade the method of installing LightGBM on MacOS
* fix: upgrade the method of installing LightGBM on MacOS
* fix: upgrade the method of installing LightGBM on MacOS
* fix: upgrade the method of installing LightGBM on MacOS
* fix: upgrade the method of installing LightGBM on MacOS
* fix: upgrade the method of installing LightGBM on MacOS
* fix: upgrade the method of installing LightGBM on MacOS
* add: comments
* test: build package && check package
* test: build package && check package
* test: build package && check package
* optimize yml
* fixed a problem with multi index caused by the default value of groupkey
* modify group_key default value
* limit pandas verion
* format with black
* fix docs error
* fix docs error
* fixed bugs caused by pandas upgrade
* remove needless code
* reformat with black
* limit version & add docs