]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
Fedora 32: otpod 0.6.9 - fix scikit-learn version to embedded one, namely: 0.24.2
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Tue, 9 May 2023 12:40:58 +0000 (14:40 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Tue, 9 May 2023 12:40:58 +0000 (14:40 +0200)
products/openturns.pyconf
products/patches/openturns-1.20.1.0003.patch [new file with mode: 0644]

index 0507d936811a9329a9b38c54cee4e7d4d21013ec..4cb1c48faf6d493896fb9cb5c0fe4c7fec41eb38 100644 (file)
@@ -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 (file)
index 0000000..7e797bc
--- /dev/null
@@ -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']