Skip to content

Commit 646d19e

Browse files
committed
fix: limit fake-useragent version for python 3.8
1 parent d5d408f commit 646d19e

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/test_qlib_from_source.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ jobs:
5454
run: |
5555
make dev
5656
57+
- name: install fake-useragent for python 3.8
58+
if: ${{ matrix.python-version == '3.8' }}
59+
run: |
60+
python -m pip install "fake-useragent<1.5.0"
61+
5762
- name: Lint with Black
5863
run: |
5964
make black

.github/workflows/test_qlib_from_source_slow.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ jobs:
3535
run: |
3636
make dev
3737
38+
- name: install fake-useragent for python 3.8
39+
if: ${{ matrix.python-version == '3.8' }}
40+
run: |
41+
python -m pip install "fake-useragent<1.5.0"
42+
3843
- name: Downloads dependencies data
3944
run: |
4045
python scripts/get_data.py qlib_data --name qlib_data_simple --target_dir ~/.qlib/qlib_data/cn_data --interval 1d --region cn

0 commit comments

Comments
 (0)