Skip to content
Merged
24 changes: 24 additions & 0 deletions easybuild/easyconfigs/j/JPype/JPype-1.5.0-gfbf-2023b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
easyblock = 'PythonBundle'

name = 'JPype'
version = '1.5.0'

homepage = 'http://www.jpype.org'
description = "A Python module to provide full access to Java from within Python"

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

dependencies = [
('Python', '3.11.5'),
('SciPy-bundle', '2023.11'),
('Java', '21', '', SYSTEM),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@SimonPinches Does this really need Java/21?

For the 2023b generation, we usually stick with Java/11...

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.

@boegel Some of our applications need Java/21 as remarked here in PR #20945. It is also the recommended LTS version (see https://whichjdk.com/).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We can make an exception to this, but you're swimming upstream a bit for this generation of easyconfigs...

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.

Thanks. I've added an exception which shouldn't be needed when we move to using the new 2025b toolchains :-)

]

exts_list = [
('JPype1', version, {
'modulename': 'jpype',
'checksums': ['425a6e1966afdd5848b60c2688bcaeb7e40ba504a686f1114589668e0631e878'],
}),
]

moduleclass = 'tools'
6 changes: 3 additions & 3 deletions test/easyconfigs/easyconfigs.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,9 +596,9 @@ def check_dep_vars(self, gen, dep, dep_vars):
'h5py': [(r'3\.9\.0; versionsuffix: -serial', [r'autoCAS'])],
# jax 0.2.24 is used as dep for AlphaFold 2.1.2 (other easyconfigs with foss/2021a use jax 0.3.9)
'jax': [(r'0\.2\.24', [r'AlphaFold-2\.1\.2-foss-2021a'])],
# Java 21 is used as dep for Octave 9.2.0 (other 2023b easyconfigs use Java 11)
# and MDSplus
'Java': [(r'21', [r'Octave-9\.2\.0', r'MDSplus-7\.1'])],
# Java 21 is used as dep for Octave 9.2.0, MDSplus 7.1 and JPype 1.5.0
# (other 2023b easyconfigs use Java 11)
'Java': [(r'21', [r'Octave-9\.2\.0', r'MDSplus-7\.1', r'JPype-1\.5\.0'])],
# libxc 4.x is required by libGridXC
# (Qiskit depends on PySCF), Elk 7.x requires libxc >= 5
'libxc': [
Expand Down
Loading