rn-forge-devops 0.5.0__tar.gz → 0.5.1__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.
- {rn_forge_devops-0.5.0 → rn_forge_devops-0.5.1}/PKG-INFO +2 -2
- {rn_forge_devops-0.5.0 → rn_forge_devops-0.5.1}/pyproject.toml +6 -6
- {rn_forge_devops-0.5.0 → rn_forge_devops-0.5.1}/pyproject.toml.orig +6 -6
- {rn_forge_devops-0.5.0 → rn_forge_devops-0.5.1}/src/rn_forge/devops/requirements.py +18 -13
- {rn_forge_devops-0.5.0 → rn_forge_devops-0.5.1}/LICENSE +0 -0
- {rn_forge_devops-0.5.0 → rn_forge_devops-0.5.1}/README.md +0 -0
- {rn_forge_devops-0.5.0 → rn_forge_devops-0.5.1}/src/rn_forge/devops/__init__.py +0 -0
- {rn_forge_devops-0.5.0 → rn_forge_devops-0.5.1}/src/rn_forge/devops/cli.py +0 -0
- {rn_forge_devops-0.5.0 → rn_forge_devops-0.5.1}/src/rn_forge/devops/notes.py +0 -0
- {rn_forge_devops-0.5.0 → rn_forge_devops-0.5.1}/src/rn_forge/devops/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rn-forge-devops
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.1
|
|
4
4
|
Summary: Release commands for the pykit workspace
|
|
5
5
|
Author: Rohit Narayanan
|
|
6
6
|
Author-email: Rohit Narayanan <rohit.nn@gmail.com>
|
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
13
13
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.14
|
|
15
15
|
Classifier: Typing :: Typed
|
|
16
|
-
Requires-Dist: packaging>=
|
|
16
|
+
Requires-Dist: packaging>=26.3
|
|
17
17
|
Requires-Python: >=3.14
|
|
18
18
|
Project-URL: Documentation, https://rn-forge.github.io/pykit/packages/rn-forge-devops/latest/
|
|
19
19
|
Project-URL: Source, https://github.com/rn-forge/pykit/tree/main/packages/rn-forge-devops
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "rn-forge-devops"
|
|
3
|
-
version = "0.5.
|
|
3
|
+
version = "0.5.1"
|
|
4
4
|
description = "Release commands for the pykit workspace"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = "MIT"
|
|
@@ -15,7 +15,7 @@ classifiers = [
|
|
|
15
15
|
"Typing :: Typed",
|
|
16
16
|
]
|
|
17
17
|
requires-python = ">=3.14"
|
|
18
|
-
dependencies = ["packaging>=
|
|
18
|
+
dependencies = ["packaging>=26.3"]
|
|
19
19
|
|
|
20
20
|
[[project.authors]]
|
|
21
21
|
name = "Rohit Narayanan"
|
|
@@ -54,15 +54,15 @@ addopts = "-ra --import-mode=importlib"
|
|
|
54
54
|
[dependency-groups]
|
|
55
55
|
dev = [
|
|
56
56
|
"pyright>=1.1.411",
|
|
57
|
-
"pytest>=9.
|
|
57
|
+
"pytest>=9.2.0",
|
|
58
58
|
"pytest-cov>=7.1.0",
|
|
59
59
|
"pytest-randomly>=4.1.0",
|
|
60
60
|
"rn-forge-devops",
|
|
61
|
-
"ruff>=0.
|
|
61
|
+
"ruff>=0.17.4",
|
|
62
62
|
]
|
|
63
63
|
docs = [
|
|
64
64
|
"mkdocs>=1.6.1",
|
|
65
|
-
"mkdocs-material>=9.
|
|
66
|
-
"mkdocstrings[python]>=1.0.
|
|
65
|
+
"mkdocs-material>=9.8.1",
|
|
66
|
+
"mkdocstrings[python]>=1.0.8",
|
|
67
67
|
"rn-forge-devops",
|
|
68
68
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "rn-forge-devops"
|
|
3
|
-
version = "0.5.
|
|
3
|
+
version = "0.5.1"
|
|
4
4
|
description = "Release commands for the pykit workspace"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
authors = [{ name = "Rohit Narayanan", email = "rohit.nn@gmail.com" }]
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Typing :: Typed",
|
|
17
17
|
]
|
|
18
18
|
requires-python = ">=3.14"
|
|
19
|
-
dependencies = ["packaging>=
|
|
19
|
+
dependencies = ["packaging>=26.3"]
|
|
20
20
|
|
|
21
21
|
[project.scripts]
|
|
22
22
|
rn-forge-devops = "rn_forge.devops.cli:main"
|
|
@@ -51,15 +51,15 @@ addopts = "-ra --import-mode=importlib"
|
|
|
51
51
|
[dependency-groups]
|
|
52
52
|
dev = [
|
|
53
53
|
"pyright>=1.1.411",
|
|
54
|
-
"pytest>=9.
|
|
54
|
+
"pytest>=9.2.0",
|
|
55
55
|
"pytest-cov>=7.1.0",
|
|
56
56
|
"pytest-randomly>=4.1.0",
|
|
57
57
|
"rn-forge-devops",
|
|
58
|
-
"ruff>=0.
|
|
58
|
+
"ruff>=0.17.4",
|
|
59
59
|
]
|
|
60
60
|
docs = [
|
|
61
61
|
"mkdocs>=1.6.1",
|
|
62
|
-
"mkdocs-material>=9.
|
|
63
|
-
"mkdocstrings[python]>=1.0.
|
|
62
|
+
"mkdocs-material>=9.8.1",
|
|
63
|
+
"mkdocstrings[python]>=1.0.8",
|
|
64
64
|
"rn-forge-devops",
|
|
65
65
|
]
|
|
@@ -33,6 +33,23 @@ def find_root(start: Path) -> Path:
|
|
|
33
33
|
raise FileNotFoundError(f"no uv workspace at or above {start}")
|
|
34
34
|
|
|
35
35
|
|
|
36
|
+
def _read_member(path: Path) -> tuple[str, str, dict[str, Any]]:
|
|
37
|
+
manifest: dict[str, Any] = tomllib.loads(path.read_text())
|
|
38
|
+
if "project" not in manifest:
|
|
39
|
+
raise InvalidManifest(f"{path}: missing [project]")
|
|
40
|
+
project: dict[str, Any] = manifest["project"]
|
|
41
|
+
if "name" not in project:
|
|
42
|
+
raise InvalidManifest(f"{path}: missing [project].name")
|
|
43
|
+
name: str = project["name"]
|
|
44
|
+
version: str = project.get("version", "")
|
|
45
|
+
if "version" in project:
|
|
46
|
+
try:
|
|
47
|
+
Version(version)
|
|
48
|
+
except InvalidVersion as error:
|
|
49
|
+
raise InvalidManifest(f"{path}: {error}") from error
|
|
50
|
+
return name, version, manifest
|
|
51
|
+
|
|
52
|
+
|
|
36
53
|
def _members(root: Path) -> dict[str, tuple[str, str, dict[str, Any], Path]]:
|
|
37
54
|
"""Map each canonical name to its name, version, manifest and path."""
|
|
38
55
|
workspace: dict[str, Any] = tomllib.loads((root / MANIFEST).read_text())["tool"][
|
|
@@ -50,19 +67,7 @@ def _members(root: Path) -> dict[str, tuple[str, str, dict[str, Any], Path]]:
|
|
|
50
67
|
for path in sorted(root.glob(f"{pattern}/{MANIFEST}")):
|
|
51
68
|
if path in excluded:
|
|
52
69
|
continue
|
|
53
|
-
|
|
54
|
-
if "project" not in manifest:
|
|
55
|
-
raise InvalidManifest(f"{path}: missing [project]")
|
|
56
|
-
project: dict[str, Any] = manifest["project"]
|
|
57
|
-
if "name" not in project:
|
|
58
|
-
raise InvalidManifest(f"{path}: missing [project].name")
|
|
59
|
-
name: str = project["name"]
|
|
60
|
-
version: str = project.get("version", "")
|
|
61
|
-
if "version" in project:
|
|
62
|
-
try:
|
|
63
|
-
Version(version)
|
|
64
|
-
except InvalidVersion as error:
|
|
65
|
-
raise InvalidManifest(f"{path}: {error}") from error
|
|
70
|
+
name, version, manifest = _read_member(path)
|
|
66
71
|
members[canonicalize_name(name)] = (
|
|
67
72
|
name,
|
|
68
73
|
version,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|