Skip to content

Commit f887b13

Browse files
committed
optimize code
1 parent 08c2758 commit f887b13

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

Makefile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,6 @@ dependencies:
7979
lightgbm:
8080
python -m pip install lightgbm --prefer-binary
8181

82-
# On 2025-04-02 osqp released version 1.0.2, osqp is used as a dependency for qlib.
83-
# It would lead to errors installing qlib, so we limited the version of osqp.
84-
# refs: https://github.com/osqp/osqp/issues/728
85-
osqp:
86-
python -m pip install osqp==1.0.1
87-
8882
rl:
8983
python -m pip install -e .[rl]
9084

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ description = "A Quantitative-research Platform"
2323
requires-python = ">=3.8.0"
2424
readme = {file = "README.md", content-type = "text/markdown"}
2525

26+
# On 2025-04-02 osqp released version 1.0.2, osqp is used as a dependency for qlib.
27+
# It would lead to errors installing qlib, so we limited the version of osqp.
28+
# refs: https://github.com/osqp/osqp/issues/728
2629
dependencies = [
30+
"osqp<1.0.2",
2731
"pyyaml",
2832
"numpy",
2933
"pandas",

0 commit comments

Comments
 (0)