cs-image-system-bash-mod-plugin 0.1.3__tar.gz → 0.1.5__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: cs-image-system-bash-mod-plugin
3
- Version: 0.1.3
3
+ Version: 0.1.5
4
4
  Summary: The shell modification plugin: inline script, script files and an ensure form become Packer shell provisioners
5
5
  Project-URL: Repository, https://github.com/infrastructurebuilder/cs-image-system-3
6
6
  Project-URL: Documentation, https://github.com/infrastructurebuilder/cs-image-system-3/blob/develop/docs/OPERATIONS.md
@@ -9,7 +9,8 @@ Author-email: Mykel Alvis <mykelalvis@infrastructurebuilder.org>
9
9
  License-Expression: Apache-2.0
10
10
  License-File: LICENSE
11
11
  Requires-Python: >=3.13
12
- Requires-Dist: cs-image-system-system==0.1.3
12
+ Requires-Dist: cs-image-system-base==0.1.5
13
+ Requires-Dist: cs-image-system-contract==0.1.5
13
14
  Requires-Dist: pydantic>=2.13
14
15
  Description-Content-Type: text/markdown
15
16
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  [project]
6
6
  name = "cs-image-system-bash-mod-plugin"
7
- version = "0.1.3"
7
+ version = "0.1.5"
8
8
  description = "The shell modification plugin: inline script, script files and an ensure form become Packer shell provisioners"
9
9
  readme = "README.md"
10
10
  authors = [{ name = "Mykel Alvis", email = "mykelalvis@infrastructurebuilder.org" }]
@@ -12,7 +12,8 @@ license = "Apache-2.0"
12
12
  license-files = ["LICENSE"]
13
13
  requires-python = ">=3.13"
14
14
  dependencies = [
15
- "cs-image-system-system==0.1.3",
15
+ "cs-image-system-contract==0.1.5",
16
+ "cs-image-system-base==0.1.5",
16
17
  "pydantic>=2.13",
17
18
  ]
18
19
 
@@ -9,13 +9,13 @@ import shutil
9
9
  from pathlib import Path
10
10
  from typing import TypeVar, cast
11
11
 
12
- from cs_image_system.base.basic.asset import AssetSet
12
+ from cs_image_system.contract.assets import AssetSet
13
13
  from cs_image_system.base.bake_steps import execute_command_line
14
14
 
15
15
  from .bash_models import BASH_BUILDER, BASH_EXECUTABLE, BashBuilderModel, BashModItemModel, BashModBuilderModel
16
16
  from cs_image_system.base.basic.abstract_version_checker import AbstractVersionChecker
17
17
  from cs_image_system.base.basic.builder_base_mod import ModBuilderBase
18
- from cs_image_system.base.lifecycle import ExecutionLifecyclePhase
18
+ from cs_image_system.contract.lifecycle import ExecutionLifecyclePhase
19
19
  from cs_image_system.base.models.image import Image
20
20
  from cs_image_system.base.basic.builder_base_image import ImageBuilderBase
21
21
  from cs_image_system.base.models.moditem_type import ModItemModel
@@ -4,7 +4,7 @@
4
4
 
5
5
  import re
6
6
  from dataclasses import field
7
- from cs_image_system.base.models.model_config import CSIS_MODEL_CONFIG
7
+ from cs_image_system.contract.model_config import CSIS_MODEL_CONFIG
8
8
  from pydantic.dataclasses import dataclass # stage 23: validation at construction
9
9
  from pathlib import Path
10
10
  from typing import Any
@@ -6,11 +6,10 @@ import logging
6
6
  from .bash_builder import BashModBuilder, BashVersionChecker
7
7
  from .bash_models import BASH_BUILDER, BASH_EXECUTABLE, BashModItemModel, BashModBuilderModel
8
8
  from cs_image_system.base.basic.abstract_plugin_metadata import AbstractPluginMetadata
9
- from cs_image_system.base.protocols.plugin_metadata import PluginMetadataProtocol
10
9
 
11
10
  log = logging.getLogger(__name__)
12
11
 
13
- class BashModTypes(AbstractPluginMetadata, PluginMetadataProtocol):
12
+ class BashModTypes(AbstractPluginMetadata):
14
13
  def __init__(self) -> None:
15
14
  super().__init__( "1", "3.13",
16
15
  {BASH_BUILDER: [