groundhog-hpc 0.7.2__tar.gz → 0.7.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/PKG-INFO +6 -2
  2. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/README.md +4 -0
  3. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/pyproject.toml +1 -1
  4. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/__init__.py +17 -0
  5. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/app/main.py +16 -0
  6. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/.gitignore +0 -0
  7. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/LICENSE +0 -0
  8. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/app/__init__.py +0 -0
  9. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/app/add.py +0 -0
  10. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/app/init.py +0 -0
  11. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/app/remove.py +0 -0
  12. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/app/run.py +0 -0
  13. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/app/utils.py +0 -0
  14. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/compute.py +0 -0
  15. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/configuration/__init__.py +0 -0
  16. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/configuration/defaults.py +0 -0
  17. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/configuration/endpoints.py +0 -0
  18. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/configuration/models.py +0 -0
  19. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/configuration/pep723.py +0 -0
  20. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/configuration/resolver.py +0 -0
  21. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/console.py +0 -0
  22. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/decorators.py +0 -0
  23. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/errors.py +0 -0
  24. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/function.py +0 -0
  25. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/future.py +0 -0
  26. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/harness.py +0 -0
  27. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/import_hook.py +0 -0
  28. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/logging.py +0 -0
  29. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/serialization.py +0 -0
  30. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/templates/groundhog_run.py.jinja +0 -0
  31. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/templates/init_script.py.jinja +0 -0
  32. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/templates/shell_command.sh.jinja +0 -0
  33. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/templating.py +0 -0
  34. {groundhog_hpc-0.7.2 → groundhog_hpc-0.7.4}/src/groundhog_hpc/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: groundhog-hpc
3
- Version: 0.7.2
3
+ Version: 0.7.4
4
4
  Summary: Iterative HPC function development. As many 'first tries' as you need.
5
5
  Author-email: Owen Price Skelly <OwenPriceSkelly@uchicago.edu>
6
6
  License: MIT
@@ -8,7 +8,7 @@ License-File: LICENSE
8
8
  Keywords: FaaS,Function Serving,Globus Compute,HPC
9
9
  Classifier: Intended Audience :: Science/Research
10
10
  Classifier: Topic :: Scientific/Engineering
11
- Requires-Python: >=3.10
11
+ Requires-Python: <3.14,>=3.10
12
12
  Requires-Dist: globus-compute-sdk>=3.12.0
13
13
  Requires-Dist: jinja2>=3.0.0
14
14
  Requires-Dist: packaging>=24.0
@@ -23,6 +23,10 @@ Description-Content-Type: text/markdown
23
23
 
24
24
  Home of `hog` ☀️🦫🕳️
25
25
 
26
+ <p align="center">
27
+ <img src="./docs/groundhog_logo.png" alt="Groundhog Logo" width="300">
28
+ </p>
29
+
26
30
  ## Quickstart
27
31
 
28
32
  Groundhog makes it easy to run, tweak, and re-run python functions on HPC clusters via [Globus Compute](https://www.globus.org/compute) using simple decorators.
@@ -1,5 +1,9 @@
1
1
  Home of `hog` ☀️🦫🕳️
2
2
 
3
+ <p align="center">
4
+ <img src="./docs/groundhog_logo.png" alt="Groundhog Logo" width="300">
5
+ </p>
6
+
3
7
  ## Quickstart
4
8
 
5
9
  Groundhog makes it easy to run, tweak, and re-run python functions on HPC clusters via [Globus Compute](https://www.globus.org/compute) using simple decorators.
@@ -2,7 +2,7 @@
2
2
  name = "groundhog-hpc"
3
3
  description = "Iterative HPC function development. As many 'first tries' as you need."
4
4
  readme = "README.md"
5
- requires-python = ">=3.10"
5
+ requires-python = ">=3.10,<3.14" # TEMPORARY: upstream pydantic v1 incompatibility in globus-compute-sdk
6
6
  dynamic = ["version"] # read from git tag
7
7
  dependencies = [
8
8
  "globus-compute-sdk>=3.12.0",
@@ -27,6 +27,23 @@ Example:
27
27
  Run with: `hog run script.py main`
28
28
  """
29
29
 
30
+ import sys
31
+
32
+ # Check Python version before any other imports that might fail
33
+ if sys.version_info >= (3, 14):
34
+ raise RuntimeError(
35
+ "Groundhog temporarily does not support Python 3.14 or later due to an "
36
+ "upstream incompatibility in the Globus Compute SDK. This will be resolved "
37
+ "in a future release.\n\n"
38
+ "If you installed with uv tool install:\n"
39
+ " uv tool uninstall groundhog-hpc\n"
40
+ " uv tool install --python 3.13 groundhog-hpc\n\n"
41
+ "If you installed with pipx:\n"
42
+ " pipx uninstall groundhog-hpc\n"
43
+ " pipx install --python python3.13 groundhog-hpc\n\n"
44
+ "Or use a virtual environment with Python 3.13 or earlier."
45
+ )
46
+
30
47
  import importlib.metadata
31
48
  import os
32
49
 
@@ -3,6 +3,22 @@
3
3
  This module implements the `hog` CLI tool entry point and command registration.
4
4
  """
5
5
 
6
+ import sys
7
+
8
+ # Check Python version before any other imports that might fail
9
+ if sys.version_info >= (3, 14):
10
+ print(
11
+ "Error: Groundhog temporarily does not support Python 3.14 or later due to an\n"
12
+ "upstream incompatibility in the Globus Compute SDK. This will be resolved in a\n"
13
+ "future release.\n\n"
14
+ "Please reinstall with Python 3.13 or earlier:\n"
15
+ " uv tool install --python 3.13 groundhog-hpc\n\n"
16
+ "Or if using pipx:\n"
17
+ " pipx install --python python3.13 groundhog-hpc",
18
+ file=sys.stderr,
19
+ )
20
+ sys.exit(1)
21
+
6
22
  import os
7
23
  from typing import Optional
8
24
 
File without changes
File without changes