pypeline-runner 1.24.0__tar.gz → 1.24.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.
Files changed (32) hide show
  1. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/PKG-INFO +1 -1
  2. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/pyproject.toml +1 -1
  3. pypeline_runner-1.24.1/src/pypeline/__init__.py +1 -0
  4. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/steps/create_venv.py +5 -5
  5. pypeline_runner-1.24.0/src/pypeline/__init__.py +0 -1
  6. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/LICENSE +0 -0
  7. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/README.md +0 -0
  8. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/__run.py +0 -0
  9. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/bootstrap/__init__.py +0 -0
  10. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/bootstrap/run.py +0 -0
  11. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/domain/__init__.py +0 -0
  12. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/domain/artifacts.py +0 -0
  13. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/domain/config.py +0 -0
  14. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/domain/execution_context.py +0 -0
  15. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/domain/pipeline.py +0 -0
  16. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/domain/project_slurper.py +0 -0
  17. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/inputs_parser.py +0 -0
  18. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/kickstart/__init__.py +0 -0
  19. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/kickstart/create.py +0 -0
  20. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/kickstart/templates/project/.gitignore +0 -0
  21. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/kickstart/templates/project/pypeline.ps1 +0 -0
  22. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/kickstart/templates/project/pypeline.yaml +0 -0
  23. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/kickstart/templates/project/pyproject.toml +0 -0
  24. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/kickstart/templates/project/steps/my_step.py +0 -0
  25. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/kickstart/templates/project/west.yaml +0 -0
  26. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/main.py +0 -0
  27. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/py.typed +0 -0
  28. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/pypeline.py +0 -0
  29. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/steps/__init__.py +0 -0
  30. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/steps/env_setup_script.py +0 -0
  31. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/steps/scoop_install.py +0 -0
  32. {pypeline_runner-1.24.0 → pypeline_runner-1.24.1}/src/pypeline/steps/west_install.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pypeline-runner
3
- Version: 1.24.0
3
+ Version: 1.24.1
4
4
  Summary: Configure and execute pipelines with Python (similar to GitHub workflows or Jenkins pipelines).
5
5
  License: MIT
6
6
  License-File: LICENSE
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pypeline-runner"
3
- version = "1.24.0"
3
+ version = "1.24.1"
4
4
  description = "Configure and execute pipelines with Python (similar to GitHub workflows or Jenkins pipelines)."
5
5
  authors = ["cuinixam <me@cuinixam.com>"]
6
6
  license = "MIT"
@@ -0,0 +1 @@
1
+ __version__ = "1.24.1"
@@ -316,7 +316,7 @@ class CreateVEnv(PipelineStep[ExecutionContext]):
316
316
 
317
317
  def run(self) -> int:
318
318
  self.logger.debug(f"Run {self.get_name()} step. Output dir: {self.output_dir}")
319
- bootstrap_config: Dict[str, Any] = {}
319
+ bootstrap_config = CreateVEnvConfig()
320
320
  is_managed = False
321
321
  # Determine target script and mode
322
322
  if self.user_config.bootstrap_script:
@@ -356,17 +356,17 @@ class CreateVEnv(PipelineStep[ExecutionContext]):
356
356
  for field_name in self.user_config.get_all_properties_names(["bootstrap_script", "python_executable"]):
357
357
  val = getattr(self.user_config, field_name)
358
358
  if val is not None:
359
- bootstrap_config[field_name] = val
359
+ setattr(bootstrap_config, field_name, val)
360
360
 
361
361
  # Priority: input python_version takes precedence over config python_version
362
362
  input_python_version = self.execution_context.get_input("python_version")
363
363
  if input_python_version:
364
- bootstrap_config["python_version"] = input_python_version
364
+ bootstrap_config.python_version = input_python_version
365
365
 
366
366
  # Write bootstrap.json if any configuration is provided
367
- if bootstrap_config:
367
+ if bootstrap_config.is_any_property_set():
368
368
  self.bootstrap_config_file.parent.mkdir(exist_ok=True)
369
- CreateVEnvConfig.from_dict(bootstrap_config).to_json_file(self.bootstrap_config_file)
369
+ bootstrap_config.to_json_file(self.bootstrap_config_file)
370
370
  self.logger.info(f"Created bootstrap configuration at {self.bootstrap_config_file}")
371
371
 
372
372
  # Build bootstrap script arguments
@@ -1 +0,0 @@
1
- __version__ = "1.24.0"