-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Require python 3.8 or higher * Fix typo * Try heavy machinery * Update workflow
- Loading branch information
1 parent
5d58a5a
commit be8de9d
Showing
3 changed files
with
38 additions
and
6 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Copyright (c) 2022, National Technology & Engineering Solutions of Sandia, | ||
# LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. | ||
# Government retains certain rights in this software. | ||
# | ||
# This software is released under the BSD 3-clause license. See LICENSE file | ||
# for more details. | ||
|
||
""" | ||
a script to make sure minimum requirements for spack-manager | ||
are met. | ||
- [email protected] or higher | ||
""" | ||
import sys | ||
|
||
def check_spack_manager_requirements(): | ||
if sys.version_info < (3,8): | ||
raise ValueError("Spack-Manager requires Python 3.8 or higher.") | ||
|
||
if __name__ == "__main__": | ||
check_spack_manager_requirements() |
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