1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-06 20:41:09 +08:00

fix(client): fix missing dependencies and unsafe pickle usage (#2072)

* 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
This commit is contained in:
Linlang
2025-12-18 15:29:48 +08:00
committed by GitHub
parent 2e9a00a9f7
commit cb285bccac
3 changed files with 22 additions and 15 deletions

View File

@@ -74,34 +74,37 @@ prerequisite:
# Install the package in editable mode.
dependencies:
python -m pip install -e .
python -m pip install --no-cache-dir -e .
lightgbm:
python -m pip install lightgbm --prefer-binary
python -m pip install --no-cache-dir lightgbm --prefer-binary
rl:
python -m pip install -e .[rl]
python -m pip install --no-cache-dir -e .[rl]
develop:
python -m pip install -e .[dev]
python -m pip install --no-cache-dir -e .[dev]
lint:
python -m pip install -e .[lint]
python -m pip install --no-cache-dir -e .[lint]
docs:
python -m pip install -e .[docs]
python -m pip install --no-cache-dir -e .[docs]
package:
python -m pip install -e .[package]
python -m pip install --no-cache-dir -e .[package]
test:
python -m pip install -e .[test]
python -m pip install --no-cache-dir -e .[test]
analysis:
python -m pip install -e .[analysis]
python -m pip install --no-cache-dir -e .[analysis]
client:
python -m pip install --no-cache-dir -e .[client]
all:
python -m pip install -e .[pywinpty,dev,lint,docs,package,test,analysis,rl]
python -m pip install --no-cache-dir -e .[pywinpty,dev,lint,docs,package,test,analysis,rl]
install: prerequisite dependencies