Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gt4py: Add 1.0.3.10 #1018

Merged
merged 9 commits into from
Nov 28, 2024
1 change: 1 addition & 0 deletions repos/c2sm/packages/py-gt4py/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class PyGt4py(PythonPackage):
version('1.0.3.3', tag='icon4py_20240229', git=url)
version('1.0.3.7', tag='icon4py_20240521', git=url)
version('1.0.3.9', tag='icon4py_20240912', git=url)
version('1.0.3.10', tag='icon4py_20241113', git=url)

maintainers = ['samkellerhals']

Expand Down
1 change: 1 addition & 0 deletions repos/c2sm/packages/py-icon4py/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class PyIcon4py(PythonPackage):
version('0.0.10', tag='v0.0.10', git=git)
version('0.0.11', tag='v0.0.11', git=git)
version('0.0.13', tag='v0.0.13', git=git)
version('0.0.14', tag='v0.0.14', git=git)

depends_on('py-wheel', type='build')
depends_on('py-setuptools', type='build')
Expand Down
8 changes: 5 additions & 3 deletions test/system_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,15 @@ def test_install_py_gridtools_cpp_install_default():
spack_install('py-gridtools-cpp')


@pytest.mark.parametrize("version", ['1.0.3.7', '1.0.3.9'])
@pytest.mark.parametrize("version", ['1.0.3.7', '1.0.3.9', '1.0.3.10'])
def test_install_py_gt4py_for_version(version):
spack_install(f'py-gt4py @{version}')


def test_install_py_icon4py():
spack_install('py-icon4py')
@pytest.mark.parametrize("version, gt4py_version", [('0.0.13', '1.0.3.9'),
('0.0.14', '1.0.3.10')])
def test_install_py_icon4py(version, gt4py_version):
spack_install(f'py-icon4py@{version} ^py-gt4py@{gt4py_version}')


def test_install_py_hatchling_default():
Expand Down