feat: remove hdf5 dependencies and install logic

This commit is contained in:
Matthias
2025-01-06 13:21:16 +01:00
parent 0e5a88bf93
commit de2b8dcfdd
3 changed files with 1 additions and 29 deletions

View File

@@ -98,10 +98,6 @@ freqai_rl = [
"sb3-contrib",
"tqdm",
]
hdf5 = [
"tables",
"blosc",
]
develop = [
"coveralls",
"isort",
@@ -129,7 +125,7 @@ jupyter = [
"nbconvert",
]
all = [
"freqtrade[plot,hyperopt,freqai,freqai_rl,hdf5,jupyter]",
"freqtrade[plot,hyperopt,freqai,freqai_rl,jupyter]",
]
dev = [
"freqtrade[all,develop]",

View File

@@ -22,10 +22,6 @@ technical==1.5.0
tabulate==0.9.0
pycoingecko==3.2.0
jinja2==3.1.5
tables==3.10.1
# Pin blosc2 to < 3.0 until piwheel has wheels for 3.x
blosc2==2.7.1; platform_machine == 'armv7l' or python_version < '3.11'
blosc2==3.0.0; platform_machine != 'armv7l' and python_version >= '3.11'
joblib==1.4.2
rich==13.9.4
pyarrow==18.1.0; platform_machine != 'armv7l'

View File

@@ -136,22 +136,6 @@ function install_talib() {
cd ..
}
function install_mac_newer_python_dependencies() {
if [ ! $(brew --prefix --installed hdf5 2>/dev/null) ]
then
echo_block "Installing hdf5"
brew install hdf5
fi
export HDF5_DIR=$(brew --prefix)
if [ ! $(brew --prefix --installed c-blosc 2>/dev/null) ]
then
echo_block "Installing c-blosc"
brew install c-blosc
fi
export CBLOSC_DIR=$(brew --prefix)
}
# Install bot MacOS
function install_macos() {
@@ -165,10 +149,6 @@ function install_macos() {
#Gets number after decimal in python version
version=$(egrep -o 3.\[0-9\]+ <<< $PYTHON | sed 's/3.//g')
if [[ $version -ge 10 ]]; then #Checks if python version >= 3.10
install_mac_newer_python_dependencies
fi
}
# Install bot Debian_ubuntu