procodile 0.1.1__tar.gz → 0.2.0.dev1__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.
- {procodile-0.1.1 → procodile-0.2.0.dev1}/.gitignore +1 -1
- {procodile-0.1.1 → procodile-0.2.0.dev1}/PKG-INFO +3 -3
- {procodile-0.1.1 → procodile-0.2.0.dev1}/procodile/cli/cli.py +4 -3
- {procodile-0.1.1 → procodile-0.2.0.dev1}/pyproject.toml +3 -3
- {procodile-0.1.1 → procodile-0.2.0.dev1}/LICENSE +0 -0
- {procodile-0.1.1 → procodile-0.2.0.dev1}/README.md +0 -0
- {procodile-0.1.1 → procodile-0.2.0.dev1}/procodile/__init__.py +0 -0
- {procodile-0.1.1 → procodile-0.2.0.dev1}/procodile/artifacts.py +0 -0
- {procodile-0.1.1 → procodile-0.2.0.dev1}/procodile/cli/__init__.py +0 -0
- {procodile-0.1.1 → procodile-0.2.0.dev1}/procodile/job.py +0 -0
- {procodile-0.1.1 → procodile-0.2.0.dev1}/procodile/process.py +0 -0
- {procodile-0.1.1 → procodile-0.2.0.dev1}/procodile/py.typed +0 -0
- {procodile-0.1.1 → procodile-0.2.0.dev1}/procodile/registry.py +0 -0
- {procodile-0.1.1 → procodile-0.2.0.dev1}/procodile/reporter.py +0 -0
- {procodile-0.1.1 → procodile-0.2.0.dev1}/procodile/schema.py +0 -0
- {procodile-0.1.1 → procodile-0.2.0.dev1}/procodile/workflow.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: procodile
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0.dev1
|
|
4
4
|
Summary: A light-weight processor development framework
|
|
5
5
|
Project-URL: Documentation, https://eo-tools.github.io/eozilla
|
|
6
6
|
Project-URL: Repository, https://github.com/eo-tools/eozilla
|
|
@@ -27,10 +27,10 @@ Classifier: Topic :: Scientific/Engineering
|
|
|
27
27
|
Classifier: Topic :: Software Development
|
|
28
28
|
Classifier: Typing :: Typed
|
|
29
29
|
Requires-Python: >=3.10
|
|
30
|
-
Requires-Dist: gavicore>=0.
|
|
30
|
+
Requires-Dist: gavicore>=0.2.0.dev1
|
|
31
31
|
Requires-Dist: pydantic
|
|
32
32
|
Requires-Dist: pyyaml
|
|
33
|
-
Requires-Dist: typer
|
|
33
|
+
Requires-Dist: typer<1,>=0.26.0
|
|
34
34
|
Description-Content-Type: text/markdown
|
|
35
35
|
|
|
36
36
|
[](https://github.com/eo-tools/eozilla/actions/workflows/ci.yml)
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
import json
|
|
6
6
|
from typing import TYPE_CHECKING, Annotated, Any, Callable, Optional, Union
|
|
7
7
|
|
|
8
|
-
import click
|
|
9
8
|
import typer
|
|
10
9
|
|
|
11
10
|
from gavicore.util.cli.group import AliasedGroup
|
|
@@ -155,7 +154,8 @@ def new_cli(
|
|
|
155
154
|
process_id_ = execution_request.process_id
|
|
156
155
|
process = registry.get(process_id_)
|
|
157
156
|
if process is None:
|
|
158
|
-
|
|
157
|
+
typer.echo(f"Process {process_id_!r} not found.", err=True)
|
|
158
|
+
raise typer.Exit(code=1)
|
|
159
159
|
|
|
160
160
|
job = Job.create(process, request=execution_request.to_process_request())
|
|
161
161
|
job_results = job.run()
|
|
@@ -194,7 +194,8 @@ def new_cli(
|
|
|
194
194
|
registry = _get_process_registry(ctx)
|
|
195
195
|
process = registry.get(process_id)
|
|
196
196
|
if process is None:
|
|
197
|
-
|
|
197
|
+
typer.echo(f"Process {process_id!r} not found.", err=True)
|
|
198
|
+
raise typer.Exit(code=1)
|
|
198
199
|
|
|
199
200
|
typer.echo(
|
|
200
201
|
json.dumps(
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "procodile"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.2.0.dev1"
|
|
8
8
|
description = "A light-weight processor development framework"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [
|
|
@@ -42,9 +42,9 @@ requires-python = ">=3.10"
|
|
|
42
42
|
dependencies = [
|
|
43
43
|
"pydantic",
|
|
44
44
|
"pyyaml",
|
|
45
|
-
"typer",
|
|
45
|
+
"typer >=0.26.0,<1",
|
|
46
46
|
# local dependency
|
|
47
|
-
"gavicore >=0.
|
|
47
|
+
"gavicore >=0.2.0.dev1",
|
|
48
48
|
]
|
|
49
49
|
|
|
50
50
|
[project.urls]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|