SciPy-bundle-2025.07-gfbf-2025b.eb 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. easyblock = 'PythonBundle'
  2. name = 'SciPy-bundle'
  3. version = '2025.07'
  4. homepage = 'https://python.org/'
  5. description = "Bundle of Python packages for scientific software"
  6. toolchain = {'name': 'gfbf', 'version': '2025b'}
  7. toolchainopts = {'pic': True, 'lowopt': True}
  8. builddependencies = [
  9. ('hypothesis', '6.136.6'),
  10. ('UnZip', '6.0'),
  11. # scipy >= 1.9.0 uses Meson/Ninja
  12. ('Meson', '1.8.2'),
  13. ('meson-python', '0.18.0'),
  14. ('Ninja', '1.13.0'),
  15. ('pkgconf', '2.4.3'), # required by scipy
  16. ('Cython', '3.1.2'), # required by numpy and scipy
  17. ('pybind11', '3.0.0'), # required by scipy
  18. ('spin', '0.14'), # required for testing numpy
  19. ]
  20. dependencies = [
  21. ('Python', '3.13.5'),
  22. ('Python-bundle-PyPI', '2025.07'),
  23. ]
  24. # order is important!
  25. exts_list = [
  26. ('numpy', '2.3.2', {
  27. 'patches': ['numpy-1.22.3_disable-broken-override-test.patch'],
  28. 'testopts': ' -- -k "not test_validate_transcendentals" ', # Skips the failing ULP accuracy test
  29. 'checksums': [
  30. {'numpy-2.3.2.tar.gz': 'e0486a11ec30cdecb53f184d496d1c6a20786c81e55e41640270130056f8ee48'},
  31. {'numpy-1.22.3_disable-broken-override-test.patch':
  32. '9c589bb073b28b25ff45eb3c63c57966aa508dd8b318d0b885b6295271e4983c'},
  33. ],
  34. }),
  35. ('ply', '3.11', {
  36. 'checksums': ['00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3'],
  37. }),
  38. ('gast', '0.6.0', {
  39. 'checksums': ['88fc5300d32c7ac6ca7b515310862f71e6fdf2c029bbec7c66c0f5dd47b6b1fb'],
  40. }),
  41. ('beniget', '0.4.2.post1', {
  42. 'checksums': ['a0258537e65e7e14ec33a86802f865a667f949bb6c73646d55e42f7c45a052ae'],
  43. }),
  44. ('pythran', '0.18.0', {
  45. 'checksums': ['5c003e8cbedf6dbb68c2869c49fc110ce8b5e8982993078a4a819f1dadc4fc6a'],
  46. }),
  47. ('versioneer', '0.29', {
  48. 'checksums': ['5ab283b9857211d61b53318b7c792cf68e798e765ee17c27ade9f6c924235731'],
  49. }),
  50. ('scipy', '1.16.1', {
  51. 'enable_slow_tests': True,
  52. 'ignore_test_result': False,
  53. 'patches': [
  54. 'scipy-1.11.1_disable-tests.patch',
  55. 'scipy-1.16.0_skip-tests-broken-grace.patch',
  56. 'scipy-1.16.0_relax-tests-broken-neoverse-v1.patch',
  57. 'scipy-1.16.0_remove-float16-differentiate-test.patch',
  58. 'scipy-1.16.1_bump-orth-memory-efficiency-tolerance.patch',
  59. ],
  60. 'checksums': [
  61. {'scipy-1.16.1.tar.gz': '44c76f9e8b6e8e488a586190ab38016e4ed2f8a038af7cd3defa903c0a2238b3'},
  62. {'scipy-1.11.1_disable-tests.patch': '906bfb03397d94882ccdc1b93bc2c8e854e0e060c2d107c83042992394e6a4af'},
  63. {'scipy-1.16.0_skip-tests-broken-grace.patch':
  64. '33885518a572f843a0edeb7a58aa938202aae70267f6de1ce60acef97f393126'},
  65. {'scipy-1.16.0_relax-tests-broken-neoverse-v1.patch':
  66. 'a72d794b95dc437c03b323f86392b264c7ecfdbfa19e3bc01fba8d5d3ab2f21a'},
  67. {'scipy-1.16.0_remove-float16-differentiate-test.patch':
  68. 'f857fc1e941c196285f2e871e803cf463fc59c040dd2955deda1dd277d4b00db'},
  69. {'scipy-1.16.1_bump-orth-memory-efficiency-tolerance.patch':
  70. '1eb58b162d04cbf957979897966bfcf318f05a2bdbb61f0b47c0b3881910b354'},
  71. ],
  72. }),
  73. ('numexpr', '2.11.0', {
  74. # workaround for: ValueError: invalid pyproject.toml config: project.license
  75. 'preinstallopts': "sed -i '/^license =/d' pyproject.toml && ",
  76. 'checksums': ['75b2c01a4eda2e7c357bc67a3f5c3dd76506c15b5fd4dc42845ef2e182181bad'],
  77. }),
  78. ('bottleneck', '1.5.0', {
  79. 'checksums': ['c860242cf20e69d5aab2ec3c5d6c8c2a15f19e4b25b28b8fca2c2a12cefae9d8'],
  80. }),
  81. ('tzdata', '2025.2', {
  82. 'checksums': ['b60a638fcc0daffadf82fe0f57e53d06bdec2f36c4df66280ae79bce6bd6f2b9'],
  83. }),
  84. ('pandas', '2.3.1', {
  85. 'preinstallopts': "export PANDAS_CI=0 && ",
  86. 'checksums': ['0a95b9ac964fe83ce317827f80304d37388ea77616b1425f0ae41c9d2d0d7bb2'],
  87. }),
  88. ('mpmath', '1.3.0', {
  89. 'checksums': ['7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f'],
  90. }),
  91. ('deap', '1.4.3', {
  92. 'modulename': 'deap.base',
  93. 'checksums': ['7c97088fb05835bdc255bec475cb0e778de2b43e44cbefbf2bcd655aeec865fd'],
  94. }),
  95. ]
  96. moduleclass = 'lang'