Skip to content
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
easyblock = 'PythonBundle'

name = 'meson-python'
version = '0.16.0'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need 0.16 specifically? We already have 0.15

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I bump scikit-learn to 1.6.1 which uses meson-python 0.16.0 in other easyconfigs.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes but those use a different toolchain (2023a, 2024a instead of 2023b), so they are likely to use different dependency versions: They use what is already available in their toolchain.
I see @verdurin introduced an additional meson-python to for the 2023a toolchain as dependency for scikit-learn in #22698 Maybe he remembers why?


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'
Comment thread
PhoenixEmik marked this conversation as resolved.
Outdated
('Meson', '1.4.0'),
]

exts_list = [
('pyproject-metadata', '0.8.0', {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should go into an easyconfig. We have many modules installing this possibly redundantly and maybe conflicting. Counts per toolchain

      1 foss-2023b.eb
      1 GCCcore-12.2.0.eb
      8 GCCcore-12.3.0.eb
      5 GCCcore-13.2.0.eb
      4 GCCcore-13.3.0.eb
      6 GCCcore-14.2.0.eb
      6 GCCcore-14.3.0.eb
      2 GCCcore-15.2.0.eb
      1 gfbf-2023a.eb
      1 gfbf-2023b.eb
      1 gfbf-2024a.eb
      1 gfbf-2025a.eb
      1 gfbf-2025b.eb
      1 iimkl-2023a.eb
      1 iimkl-2025b.eb

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with that. Maybe propose in next conference call?

'sources': ['pyproject_metadata-%(version)s.tar.gz'],
'checksums': ['376d5a00764ac29440a54579f88e66b7d9cb7e629d35c35a1c7248bfebc9b455'],
}),
(name, version, {
'modulename': 'mesonpy',
'sources': ['meson_python-%(version)s.tar.gz'],
'checksums': ['9068c17e36c89d6c7ff709fffb2a8a9925e8cd0b02629728e5ceaf2ec505cb5f'],
}),
]

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

name = 'scikit-learn'
version = '1.5.2'

homepage = 'https://scikit-learn.org/stable/index.html'
description = """Scikit-learn integrates machine learning algorithms in the tightly-knit scientific Python world,
building upon numpy, scipy, and matplotlib. As a machine-learning module,
it provides versatile tools for data mining and analysis in any field of science and engineering.
It strives to be simple and efficient, accessible to everybody, and reusable in various contexts."""

toolchain = {'name': 'gfbf', 'version': '2023b'}

builddependencies = [
('meson-python', '0.16.0'),
('Cython', '3.0.10'),
]

dependencies = [
('Python', '3.11.5'),
('Python-bundle-PyPI', '2023.10'),
('SciPy-bundle', '2023.11'),
]

exts_list = [
(name, version, {
'modulename': 'sklearn',
'sources': ['scikit_learn-%(version)s.tar.gz'],
'checksums': ['b4237ed7b3fdd0a4882792e68ef2545d5baa50aca3bb45aa7df468138ad8f94d'],
}),
('sklearn', '0.0', {
Comment thread
PhoenixEmik marked this conversation as resolved.
Outdated
'checksums': ['e23001573aa194b834122d2b9562459bf5ae494a2d59ca6b8aa22c85a44c0e31'],
}),
]

moduleclass = 'data'
Loading