-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[py-gt4py, py-icon4py] Renaming gt4py versions + Adding icon4py v0.0.…
…3.1 to latest (#835) * adding patched v0.0.3.1 * GitHub Action: Apply Pep8-formatting * updating condition * trying special case for v0.0.3 * GitHub Action: Apply Pep8-formatting * Update package.py * GitHub Action: Apply Pep8-formatting * renaming gt4py versions * testing new icon4py gt4py tags * GitHub Action: Apply Pep8-formatting * Update package.py * GitHub Action: Apply Pep8-formatting * Update package.py * Update package.py * adding test for gt4py 1.0.1.1b * GitHub Action: Apply Pep8-formatting * adding icon4py v0.0.8 * Update system_test.py * Update package.py * folder mapping for lower versions * folder mapping * GitHub Action: Apply Pep8-formatting * temp test for dsl * Update system_test.py * Update package.py * Pick parent dir for ver < 0.0.4 * GitHub Action: Apply Pep8-formatting * Update package.py * GitHub Action: Apply Pep8-formatting * Update system_test.py * Reverting repo/branch --------- Co-authored-by: github-actions <[email protected]>
- Loading branch information
Showing
4 changed files
with
56 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,10 +16,11 @@ class PyGt4py(PythonPackage): | |
url = "[email protected]:GridTools/gt4py.git" | ||
|
||
version('main', branch='main', git=url) | ||
version('1.1.1', tag='icon4py_20230413', git=url) | ||
version('1.1.2', tag='icon4py_20230621', git=url) | ||
version('1.1.3', tag='icon4py_20230817', git=url) | ||
version('1.1.4', tag='icon4py_20230926', git=url) | ||
version('1.0.1.1', tag='icon4py_20230413', git=url) | ||
version('1.0.1.1b', tag='icon4py_20230530', git=url) | ||
version('1.0.1.2', tag='icon4py_20230621', git=url) | ||
version('1.0.1.3', tag='icon4py_20230817', git=url) | ||
version('1.0.1.4', tag='icon4py_20230926', git=url) | ||
|
||
maintainers = ['samkellerhals'] | ||
|
||
|
@@ -60,7 +61,7 @@ class PyGt4py(PythonPackage): | |
# See: https://github.com/C2SM/spack-c2sm/issues/803 | ||
depends_on('[email protected]:2.9.2', type=('build', 'run')) | ||
|
||
depends_on('[email protected]:', when="@1.1.3:", type=('build', 'run')) | ||
depends_on('[email protected]:', when="@1.0.1.3:", type=('build', 'run')) | ||
depends_on('[email protected]:', type=('build', 'run')) | ||
depends_on('[email protected]:4.6', type=('build', 'run')) | ||
depends_on('[email protected]:', type=('build', 'run')) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -645,19 +645,22 @@ def test_install_default(self): | |
@pytest.mark.no_tsa # Irrelevant | ||
class PyGt4pyTest(unittest.TestCase): | ||
|
||
def test_install_version_1_1_1(self): | ||
spack_install_and_test('py-gt4py @1.1.1') | ||
def test_install_version_1_0_1_1(self): | ||
spack_install_and_test('py-gt4py @1.0.1.1') | ||
|
||
def test_install_version_1_1_2(self): | ||
spack_install_and_test('py-gt4py @1.1.2') | ||
def test_install_version_1_0_1_1b(self): | ||
spack_install_and_test('py-gt4py @1.0.1.1b') | ||
|
||
def test_install_version_1_0_1_2(self): | ||
spack_install_and_test('py-gt4py @1.0.1.2') | ||
|
||
@pytest.mark.no_daint # fails with ModuleNotFoundError: No module named 'dace' | ||
@pytest.mark.no_balfrin # fails with ModuleNotFoundError: No module named 'dace' | ||
def test_install_version_1_1_3(self): | ||
spack_install_and_test('py-gt4py @1.1.3') | ||
def test_install_version_1_0_1_3(self): | ||
spack_install_and_test('py-gt4py @1.0.1.3') | ||
|
||
def test_install_version_1_1_4(self): | ||
spack_install_and_test('py-gt4py @1.1.4') | ||
def test_install_version_1_0_1_4(self): | ||
spack_install_and_test('py-gt4py @1.0.1.4') | ||
|
||
|
||
class PyHatchlingTest(unittest.TestCase): | ||
|
@@ -669,15 +672,18 @@ def test_install_default(self): | |
@pytest.mark.no_tsa # py-isort install fails with: No module named 'poetry'. | ||
class PyIcon4pyTest(unittest.TestCase): | ||
|
||
def test_install_version_0_0_3(self): | ||
spack_install_and_test('py-icon4py @ 0.0.3.1 %gcc ^[email protected]') | ||
|
||
def test_install_version_0_0_5(self): | ||
spack_install_and_test('py-icon4py @ 0.0.5 %gcc ^[email protected]') | ||
spack_install_and_test('py-icon4py @ 0.0.5 %gcc ^py-gt4py@1.0.1.1') | ||
|
||
def test_install_version_0_0_6(self): | ||
spack_install_and_test('py-icon4py @ 0.0.6 %gcc ^[email protected]') | ||
spack_install_and_test('py-icon4py @ 0.0.6 %gcc ^py-gt4py@1.0.1.2') | ||
|
||
def test_install_version_0_0_7(self): | ||
spack_install_and_test( | ||
'py-icon4py @ 0.0.7 %gcc ^[email protected] ^[email protected]') | ||
'py-icon4py @ 0.0.7 %gcc ^py-gt4py@1.0.1.3 ^[email protected]') | ||
|
||
|
||
class PyInflectionTest(unittest.TestCase): | ||
|