Skip to content

Commit e39d16b

Browse files
authored
Merge pull request #11089 from boegel/20200811151828_new_pr_scikit-learn0231
install scikit-learn 0.23.1 as a bundle and include required threadpoolctl extension
2 parents 4fd56a0 + 7bc5400 commit e39d16b

File tree

1 file changed

+22
-7
lines changed

1 file changed

+22
-7
lines changed

easybuild/easyconfigs/s/scikit-learn/scikit-learn-0.23.1-foss-2020a-Python-3.8.2.eb

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
easyblock = 'PythonPackage'
1+
easyblock = 'PythonBundle'
22

33
name = 'scikit-learn'
44
version = '0.23.1'
@@ -12,19 +12,34 @@ It strives to be simple and efficient, accessible to everybody, and reusable in
1212

1313
toolchain = {'name': 'foss', 'version': '2020a'}
1414

15-
source_urls = [PYPI_SOURCE]
16-
sources = [SOURCE_TAR_GZ]
17-
checksums = ['e3fec1c8831f8f93ad85581ca29ca1bb88e2da377fb097cf8322aa89c21bc9b8']
18-
1915
dependencies = [
2016
('Python', '3.8.2'),
2117
('SciPy-bundle', '2020.03', versionsuffix)
2218
]
2319

24-
download_dep_fail = True
2520
use_pip = True
2621

27-
options = {'modulename': 'sklearn'}
22+
exts_default_options = {'source_urls': [PYPI_SOURCE]}
23+
24+
exts_list = [
25+
('pytoml', '0.1.21', {
26+
'checksums': ['8eecf7c8d0adcff3b375b09fe403407aa9b645c499e5ab8cac670ac4a35f61e7'],
27+
}),
28+
('flit-core', '2.3.0', {
29+
'source_tmpl': 'flit_core-%(version)s.tar.gz',
30+
'checksums': ['a50bcd8bf5785e3a7d95434244f30ba693e794c5204ac1ee908fc07c4acdbf80'],
31+
}),
32+
('flit', '2.3.0', {
33+
'checksums': ['017012b809ec489918afd68af7a70bd7c8c770c87b60159d875c126866e97a4b'],
34+
}),
35+
('threadpoolctl', '2.1.0', {
36+
'checksums': ['ddc57c96a38beb63db45d6c159b5ab07b6bced12c45a1f07b2b92f272aebfa6b'],
37+
}),
38+
(name, version, {
39+
'modulename': 'sklearn',
40+
'checksums': ['e3fec1c8831f8f93ad85581ca29ca1bb88e2da377fb097cf8322aa89c21bc9b8'],
41+
}),
42+
]
2843

2944
sanity_pip_check = True
3045

0 commit comments

Comments
 (0)