dhis2w-cli 1.30.0__tar.gz → 1.31.0__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.
- {dhis2w_cli-1.30.0 → dhis2w_cli-1.31.0}/PKG-INFO +2 -2
- {dhis2w_cli-1.30.0 → dhis2w_cli-1.31.0}/pyproject.toml +2 -2
- {dhis2w_cli-1.30.0 → dhis2w_cli-1.31.0}/pyproject.toml.orig +2 -2
- {dhis2w_cli-1.30.0 → dhis2w_cli-1.31.0}/src/dhis2w_cli/main.py +2 -2
- {dhis2w_cli-1.30.0 → dhis2w_cli-1.31.0}/LICENSE +0 -0
- {dhis2w_cli-1.30.0 → dhis2w_cli-1.31.0}/README.md +0 -0
- {dhis2w_cli-1.30.0 → dhis2w_cli-1.31.0}/src/dhis2w_cli/__init__.py +0 -0
- {dhis2w_cli-1.30.0 → dhis2w_cli-1.31.0}/src/dhis2w_cli/packs.py +0 -0
- {dhis2w_cli-1.30.0 → dhis2w_cli-1.31.0}/src/dhis2w_cli/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dhis2w-cli
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.31.0
|
|
4
4
|
Summary: d2w command-line interface (Typer) — mounts plugins from dhis2w-core.
|
|
5
5
|
Author: Morten Hansen
|
|
6
6
|
Author-email: Morten Hansen <morten@winterop.com>
|
|
@@ -11,7 +11,7 @@ Classifier: Intended Audience :: Developers
|
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.13
|
|
13
13
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
14
|
-
Requires-Dist: dhis2w-core>=1.
|
|
14
|
+
Requires-Dist: dhis2w-core>=1.31.0,<2.0
|
|
15
15
|
Requires-Dist: typer>=0.27.1
|
|
16
16
|
Requires-Dist: rich>=15
|
|
17
17
|
Requires-Dist: dhis2w-browser>=1.29.0,<2.0 ; extra == 'browser'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "dhis2w-cli"
|
|
3
|
-
version = "1.
|
|
3
|
+
version = "1.31.0"
|
|
4
4
|
description = "d2w command-line interface (Typer) — mounts plugins from dhis2w-core."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.13"
|
|
@@ -14,7 +14,7 @@ classifiers = [
|
|
|
14
14
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
15
15
|
]
|
|
16
16
|
dependencies = [
|
|
17
|
-
"dhis2w-core>=1.
|
|
17
|
+
"dhis2w-core>=1.31.0,<2.0",
|
|
18
18
|
"typer>=0.27.1",
|
|
19
19
|
"rich>=15",
|
|
20
20
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "dhis2w-cli"
|
|
3
|
-
version = "1.
|
|
3
|
+
version = "1.31.0"
|
|
4
4
|
description = "d2w command-line interface (Typer) — mounts plugins from dhis2w-core."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
authors = [{ name = "Morten Hansen", email = "morten@winterop.com" }]
|
|
@@ -15,7 +15,7 @@ classifiers = [
|
|
|
15
15
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
16
16
|
]
|
|
17
17
|
dependencies = [
|
|
18
|
-
"dhis2w-core>=1.
|
|
18
|
+
"dhis2w-core>=1.31.0,<2.0",
|
|
19
19
|
"typer>=0.27.1",
|
|
20
20
|
"rich>=15",
|
|
21
21
|
]
|
|
@@ -11,7 +11,7 @@ from typing import Annotated
|
|
|
11
11
|
import typer
|
|
12
12
|
from dhis2w_core.cli_errors import run_app
|
|
13
13
|
from dhis2w_core.cli_output import JSON_OUTPUT
|
|
14
|
-
from dhis2w_core.plugin import DEFAULT_VERSION_KEY, load_plugin_host, resolve_startup_version
|
|
14
|
+
from dhis2w_core.plugin import DEFAULT_VERSION_KEY, SUPPORTED_VERSION_KEYS, load_plugin_host, resolve_startup_version
|
|
15
15
|
from dhis2w_core.rich_console import STDERR_CONSOLE
|
|
16
16
|
from rich.logging import RichHandler
|
|
17
17
|
|
|
@@ -85,7 +85,7 @@ def _version_banner() -> str:
|
|
|
85
85
|
pkg_version = "unknown"
|
|
86
86
|
active = resolve_startup_version()
|
|
87
87
|
env_version = os.environ.get("DHIS2_VERSION", "").strip()
|
|
88
|
-
if env_version in
|
|
88
|
+
if env_version in SUPPORTED_VERSION_KEYS and env_version == active:
|
|
89
89
|
source = f"DHIS2_VERSION={env_version!r} env"
|
|
90
90
|
elif active == DEFAULT_VERSION_KEY:
|
|
91
91
|
source = "default (no profile.version, no DHIS2_VERSION env)"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|