Skip to content

Commit

Permalink
{lang}[gfbf/2023.09] SciPy-bundle v2023.11
Browse files Browse the repository at this point in the history
  • Loading branch information
boegel committed Nov 24, 2023
1 parent 51c85ca commit d6d159b
Show file tree
Hide file tree
Showing 3 changed files with 156 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
easyblock = 'PythonPackage'

name = 'hypothesis'
version = '6.90.0'

homepage = "https://github.com/HypothesisWorks/hypothesis"
description = """Hypothesis is an advanced testing library for Python. It lets you write tests which are parametrized
by a source of examples, and then generates simple and comprehensible examples that make your tests fail. This lets
you find more bugs in your code with less work."""

toolchain = {'name': 'GCCcore', 'version': '13.2.0'}

sources = [SOURCE_TAR_GZ]
checksums = ['0ab33900b9362318bd03d911a77a0dda8629c1877420074d87ae466919f6e4c0']

builddependencies = [('binutils', '2.40')]

dependencies = [
('Python', '3.11.5'),
('Python-bundle-PyPI', '2023.10'), # required for attrs, sortedcontainers
]

use_pip = True
download_dep_fail = True
sanity_pip_check = True

moduleclass = 'tools'
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
easyblock = 'PythonBundle'

name = 'meson-python'
version = '0.15.0'

homepage = 'https://github.com/mesonbuild/meson-python'
description = "Python build backend (PEP 517) for Meson projects"

toolchain = {'name': 'GCCcore', 'version': '13.2.0'}

builddependencies = [
('binutils', '2.40'),
]

dependencies = [
('Python', '3.11.5'),
('Python-bundle-PyPI', '2023.10'), # provides 'packaging'
('Meson', '1.2.3'),
]

use_pip = True

exts_list = [
('pyproject-metadata', '0.7.1', {
'checksums': ['0a94f18b108b9b21f3a26a3d541f056c34edcb17dc872a144a15618fed7aef67'],
}),
(name, version, {
'modulename': 'mesonpy',
'sources': ['meson_python-%(version)s.tar.gz'],
'checksums': ['fddb73eecd49e89c1c41c87937cd89c2d0b65a1c63ba28238681d4bd9484d26f'],
}),
]

sanity_pip_check = True

moduleclass = 'tools'
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
easyblock = 'PythonBundle'

name = 'SciPy-bundle'
version = '2023.11'

homepage = 'https://python.org/'
description = "Bundle of Python packages for scientific software"

toolchain = {'name': 'gfbf', 'version': '2023.09'}
toolchainopts = {'pic': True, 'lowopt': True}

builddependencies = [
('hypothesis', '6.90.0'),
('UnZip', '6.0'),
# scipy >= 1.9.0 uses Meson/Ninja
('Meson', '1.2.3'),
('meson-python', '0.15.0'),
('Ninja', '1.11.1'),
('pkgconf', '2.0.3'), # required by scipy
]

dependencies = [
('Python', '3.11.5'),
('Python-bundle-PyPI', '2023.10'),
('pybind11', '2.11.1'), # required by scipy
]

use_pip = True

# order is important!
exts_list = [
('numpy', '1.26.2', {
'patches': ['numpy-1.22.3_disable-broken-override-test.patch'],
'checksums': [
{'numpy-1.26.2.tar.gz': 'f65738447676ab5777f11e6bbbdb8ce11b785e105f690bc45966574816b6d3ea'},
{'numpy-1.22.3_disable-broken-override-test.patch':
'9c589bb073b28b25ff45eb3c63c57966aa508dd8b318d0b885b6295271e4983c'},
],
}),
('ply', '3.11', {
'checksums': ['00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3'],
}),
('gast', '0.5.4', {
'checksums': ['9c270fe5f4b130969b54174de7db4e764b09b4f7f67ccfc32480e29f78348d97'],
}),
('beniget', '0.4.1', {
'checksums': ['75554b3b8ad0553ce2f607627dad3d95c60c441189875b98e097528f8e23ac0c'],
}),
('pythran', '0.14.0', {
'checksums': ['42f3473946205964844eff7f750e2541afb2006d53475d708f5ff2d048db89bd'],
}),
('versioneer', '0.29', {
'checksums': ['5ab283b9857211d61b53318b7c792cf68e798e765ee17c27ade9f6c924235731'],
}),
('scipy', '1.11.4', {
'patches': [
'scipy-1.11.1_disable-tests.patch',
'scipy-1.11.1_xfail-aarch64_test_maxiter_worsening.patch',
],
'checksums': [
{'scipy-1.11.4.tar.gz': '90a2b78e7f5733b9de748f589f09225013685f9b218275257f8a8168ededaeaa'},
{'scipy-1.11.1_disable-tests.patch': '906bfb03397d94882ccdc1b93bc2c8e854e0e060c2d107c83042992394e6a4af'},
{'scipy-1.11.1_xfail-aarch64_test_maxiter_worsening.patch':
'918c8e6fa8215d459126f267764c961bde729ea4a116c7f6287cddfdc58ffcea'},
],
'enable_slow_tests': True,
'ignore_test_result': False,
}),
('numexpr', '2.8.7', {
'checksums': ['596eeb3bbfebc912f4b6eaaf842b61ba722cebdb8bc42dfefa657d3a74953849'],
}),
('Bottleneck', '1.3.7', {
'checksums': ['e1467e373ad469da340ed0ff283214d6531cc08bfdca2083361a3aa6470681f8'],
}),
('tzdata', '2023.3', {
'checksums': ['11ef1e08e54acb0d4f95bdb1be05da659673de4acbd21bf9c69e94cc5e907a3a'],
}),
('pandas', '2.1.3', {
'checksums': ['22929f84bca106921917eb73c1521317ddd0a4c71b395bcf767a106e3494209f'],
'preinstallopts': "export PANDAS_CI=0 && ",
}),
('mpmath', '1.3.0', {
'checksums': ['7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f'],
}),
('deap', '1.4.1', {
'modulename': 'deap.base',
'checksums': ['cc01de9892dfa7d1bc9803dab28892fead177f0182c81db47360a240ead778ff'],
}),
]

sanity_pip_check = True

moduleclass = 'lang'

0 comments on commit d6d159b

Please sign in to comment.