Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 08de1a1

Browse files
authored
fix_CI_error (#1325)
1 parent 1861c8e commit 08de1a1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ def get_version(rel_path: str) -> str:
154154
"baostock",
155155
"yahooquery",
156156
"beautifulsoup4",
157+
# The 5.0.0 version of importlib-metadata removed the deprecated endpoint,
158+
# which prevented flake8 from working properly, so we restricted the version of importlib-metadata.
159+
"importlib-metadata<5.0.0",
157160
"tianshou",
158161
"gym>=0.24", # If you do not put gym at the end, gym will degrade causing pytest results to fail.
159162
],

0 commit comments

Comments
 (0)