Skip to content

Commit

Permalink
Fix joblib being in wrong requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Apr 23, 2022
1 parent 2d07cbc commit 8cac0a4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ dependencies:
- prompt-toolkit
- schedule
- python-dateutil
- joblib


# ============================
Expand All @@ -54,7 +55,6 @@ dependencies:
- scikit-learn
- filelock
- scikit-optimize
- joblib
- progressbar2
# ============================
# 4/4 req plot
Expand Down
2 changes: 1 addition & 1 deletion freqtrade/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from typing.io import IO
from urllib.parse import urlparse

import joblib
import rapidjson

from freqtrade.constants import DECIMAL_PER_COIN_FALLBACK, DECIMALS_PER_COIN
Expand Down Expand Up @@ -94,6 +93,7 @@ def file_dump_joblib(filename: Path, data: Any, log: bool = True) -> None:
:param data: Object data to save
:return:
"""
import joblib

if log:
logger.info(f'dumping joblib to "{filename}"')
Expand Down
1 change: 0 additions & 1 deletion requirements-hyperopt.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ scipy==1.8.0
scikit-learn==1.0.2
scikit-optimize==0.9.0
filelock==3.6.0
joblib==1.1.0
progressbar2==4.0.0
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pycoingecko==2.2.0
jinja2==3.1.1
tables==3.7.0
blosc==1.10.6
joblib==1.1.0

# find first, C search in arrays
py_find_1st==1.1.5
Expand Down

0 comments on commit 8cac0a4

Please sign in to comment.