From: Nabil Ghodbane Date: Tue, 9 May 2023 12:40:58 +0000 (+0200) Subject: Fedora 32: otpod 0.6.9 - fix scikit-learn version to embedded one, namely: 0.24.2 X-Git-Tag: V9_11_0~41 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e155e5cf5044e68260ad85a0a33974be97591093;p=tools%2Fsat_salome.git Fedora 32: otpod 0.6.9 - fix scikit-learn version to embedded one, namely: 0.24.2 --- diff --git a/products/openturns.pyconf b/products/openturns.pyconf index 0507d93..4cb1c48 100644 --- a/products/openturns.pyconf +++ b/products/openturns.pyconf @@ -131,7 +131,7 @@ version_1_20_1_FD34 : version_1_20_1_FD32 : { compil_script : "openturns-1.20.1" + $VARS.scriptExtension - patches : ['openturns-1.20.1.0002.patch'] + patches : ['openturns-1.20.1.0002.patch', 'openturns-1.20.1.0003.patch'] depend : ['Python', 'lapack', 'hdf5', 'tbb', 'nlopt', 'libxml2', 'eigen', 'matplotlib', 'cminpack', 'FMILibrary', 'PyFMI'] opt_depend : ['pandas', 'statsmodels'] } diff --git a/products/patches/openturns-1.20.1.0003.patch b/products/patches/openturns-1.20.1.0003.patch new file mode 100644 index 0000000..7e797bc --- /dev/null +++ b/products/patches/openturns-1.20.1.0003.patch @@ -0,0 +1,12 @@ +diff -Naur openturns_ref/otpod-0.6.9/setup.py openturns_dev/otpod-0.6.9/setup.py +--- openturns_ref/otpod-0.6.9/setup.py 2023-05-09 09:03:51.430613624 +0200 ++++ openturns_dev/otpod-0.6.9/setup.py 2023-05-09 12:50:24.206735094 +0200 +@@ -12,7 +12,7 @@ + + install_requires=['statsmodels>=0.6.1', + 'numpy>=1.10.4', +- 'scikit-learn>=0.17', ++ 'scikit-learn==0.24.2', + 'matplotlib>=1.5.1', + 'scipy>=0.17.0', + 'decorator>=4.0.9']