Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
easyblock = 'PythonBundle'

name = 'SciPy-bundle'
version = '2026.05'

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

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

builddependencies = [
('hypothesis', '6.153.2'),
('UnZip', '6.0'),
# scipy >= 1.9.0 uses Meson/Ninja
('Meson', '1.10.2'),
('meson-python', '0.19.0'),
('Ninja', '1.13.2'),
('pkgconf', '2.5.1'), # required by scipy
('Cython', '3.2.4'), # required by numpy and scipy
('pybind11', '3.0.4'), # required by scipy
('spin', '0.18'), # required for testing numpy
]
dependencies = [
('Python', '3.14.2'),
('Python-bundle-PyPI', '2026.04'),
]

# order is important!
exts_list = [
('numpy', '2.4.6', {
'checksums': ['f3a3570c4a2a16746ac2c31a7c7c7b0c186b95ce902e33db6f28094ed7387dda'],
}),
('ply', '3.11', {
'checksums': ['00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3'],
}),
('gast', '0.6.0', {
'checksums': ['88fc5300d32c7ac6ca7b515310862f71e6fdf2c029bbec7c66c0f5dd47b6b1fb'],
}),
('beniget', '0.4.2.post1', {
'checksums': ['a0258537e65e7e14ec33a86802f865a667f949bb6c73646d55e42f7c45a052ae'],
}),
('pythran', '0.18.1', {
'checksums': ['8803ed948bf841a11bbbb10472a8ff6ea24ebd70e67c3f77b77be3db900eccfe'],
}),
('versioneer', '0.29', {
'checksums': ['5ab283b9857211d61b53318b7c792cf68e798e765ee17c27ade9f6c924235731'],
}),
('mpmath', '1.4.1', {
'checksums': ['efd6d1b75f09d69524a67609949812668b28e81ecbfe0ab449ced8c13e92642e'],
}),
('scipy', '1.17.1', {
'enable_slow_tests': True,
'ignore_test_result': False,
'patches': [
'scipy-1.16.0_skip-tests-broken-grace.patch',
'scipy-1.17.1_relax-tests-py314.patch',
],
'checksums': [
{'scipy-1.17.1.tar.gz': '95d8e012d8cb8816c226aef832200b1d45109ed4464303e997c5b13122b297c0'},
{'scipy-1.16.0_skip-tests-broken-grace.patch':
'33885518a572f843a0edeb7a58aa938202aae70267f6de1ce60acef97f393126'},
{'scipy-1.17.1_relax-tests-py314.patch':
'4a54394854f14b3f1300629e00c19fbce1b7780fa38044e3a1f0b2b2cff6f988'},
],
}),
('numexpr', '2.14.1', {
'checksums': ['4be00b1086c7b7a5c32e31558122b7b80243fe098579b170967da83f3152b48b'],
}),
('bottleneck', '1.6.0', {
'checksums': ['028d46ee4b025ad9ab4d79924113816f825f62b17b87c9e1d0d8ce144a4a0e31'],
}),
('pandas', '3.0.3', {
'preinstallopts': "export PANDAS_CI=0 && ",
'checksums': ['696a4a00a2a2a35d4e5deb3fc946641b96c944f02230e4f76137fe35d806c4fc'],
}),
('moocore', '0.3.1', {
'checksums': ['a8f83cfbc0aa81c1c9dd33e473adbc9b638dc3b1a6943753f8146770bb76bae4'],
}),
('deap', '1.4.4', {
'modulename': 'deap.base',
'checksums': ['50d4bd924fca5a16a3dba8bfdb1140a55e9c24ce50816ab4f5683d2f31c2d734'],
}),
]

moduleclass = 'lang'
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Relax fragile SciPy 1.17.1 tests with Python 3.14.2:
loosen an overly strict finite-difference tolerance and
skip zlib stream tests relying on unstable compressed-data length.
Author: Pavel Tomanek (Inuits/Ugent) with help of ChatGPT5.5
diff --git a/scipy/differentiate/tests/test_differentiate.py b/scipy/differentiate/tests/test_differentiate.py
--- a/scipy/differentiate/tests/test_differentiate.py
+++ b/scipy/differentiate/tests/test_differentiate.py
@@ -255,7 +255,7 @@ class TestDerivative:
for i in range(h0.shape[0]):
ref = derivative(f, x, initial_step=h0[i, 0], order=2, maxiter=1,
step_direction=step_direction)
- xp_assert_close(res.df[i, :], ref.df, rtol=1e-14)
+ xp_assert_close(res.df[i, :], ref.df, rtol=1e-12)

def test_maxiter_callback(self, xp):
# Test behavior of `maxiter` parameter and `callback` interface
diff --git a/scipy/io/matlab/tests/test_streams.py b/scipy/io/matlab/tests/test_streams.py
--- a/scipy/io/matlab/tests/test_streams.py
+++ b/scipy/io/matlab/tests/test_streams.py
@@ -197,9 +197,7 @@ class TestZlibInputStream:
stream.seek(1024)
assert_(stream.all_data_read())

- @pytest.mark.skipif(
- (platform.system() == 'Windows' and sys.version_info >= (3, 14)),
- reason='gh-23185')
+ @pytest.mark.skipif(sys.version_info >= (3, 14), reason='gh-23185')
def test_all_data_read_overlap(self):
COMPRESSION_LEVEL = 6

@@ -216,9 +214,7 @@ class TestZlibInputStream:
stream.seek(len(data))
assert_(stream.all_data_read())

- @pytest.mark.skipif(
- (platform.system() == 'Windows' and sys.version_info >= (3, 14)),
- reason='gh-23185')
+ @pytest.mark.skipif(sys.version_info >= (3, 14), reason='gh-23185')
def test_all_data_read_bad_checksum(self):
COMPRESSION_LEVEL = 6
Loading