pypeline-runner 0.3.0__tar.gz → 0.3.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 (31) hide show
  1. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/PKG-INFO +1 -1
  2. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/pyproject.toml +1 -1
  3. pypeline_runner-0.3.1/src/pypeline/__init__.py +1 -0
  4. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/src/pypeline/pypeline.py +3 -2
  5. pypeline_runner-0.3.0/src/pypeline/__init__.py +0 -1
  6. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/LICENSE +0 -0
  7. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/README.md +0 -0
  8. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/src/pypeline/__run.py +0 -0
  9. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/src/pypeline/domain/__init__.py +0 -0
  10. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/src/pypeline/domain/artifacts.py +0 -0
  11. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/src/pypeline/domain/config.py +0 -0
  12. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/src/pypeline/domain/execution_context.py +0 -0
  13. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/src/pypeline/domain/pipeline.py +0 -0
  14. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/src/pypeline/domain/project_slurper.py +0 -0
  15. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/src/pypeline/kickstart/__init__.py +0 -0
  16. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/src/pypeline/kickstart/create.py +0 -0
  17. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/src/pypeline/kickstart/templates/bootstrap/bootstrap.ps1 +0 -0
  18. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/src/pypeline/kickstart/templates/bootstrap/bootstrap.py +0 -0
  19. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/src/pypeline/kickstart/templates/project/.gitignore +0 -0
  20. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/src/pypeline/kickstart/templates/project/poetry.toml +0 -0
  21. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/src/pypeline/kickstart/templates/project/pypeline.ps1 +0 -0
  22. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/src/pypeline/kickstart/templates/project/pypeline.yaml +0 -0
  23. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/src/pypeline/kickstart/templates/project/pyproject.toml +0 -0
  24. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/src/pypeline/kickstart/templates/project/scoopfile.json +0 -0
  25. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/src/pypeline/kickstart/templates/project/steps/my_step.py +0 -0
  26. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/src/pypeline/main.py +0 -0
  27. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/src/pypeline/py.typed +0 -0
  28. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/src/pypeline/steps/__init__.py +0 -0
  29. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/src/pypeline/steps/create_venv.py +0 -0
  30. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/src/pypeline/steps/scoop_install.py +0 -0
  31. {pypeline_runner-0.3.0 → pypeline_runner-0.3.1}/src/pypeline/steps/west_install.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pypeline-runner
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: Configure and execute pipelines with Python (similar to GitHub workflows or Jenkins pipelines).
5
5
  Home-page: https://github.com/cuinixam/pypeline
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pypeline-runner"
3
- version = "0.3.0"
3
+ version = "0.3.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__ = "0.3.1"
@@ -87,7 +87,7 @@ class PipelineLoader:
87
87
  def _create_run_command_step_class(command: str, name: str) -> Type[PipelineStep]:
88
88
  """Dynamically creates a step class for a given command."""
89
89
 
90
- class DynamicRunCommandStep(PipelineStep):
90
+ class TmpDynamicRunCommandStep(PipelineStep):
91
91
  """A simple step that runs a command."""
92
92
 
93
93
  def __init__(self, execution_context: ExecutionContext, output_dir: Path, config: Optional[Dict[str, Any]] = None) -> None:
@@ -118,7 +118,8 @@ class PipelineLoader:
118
118
  def update_execution_context(self) -> None:
119
119
  pass
120
120
 
121
- return DynamicRunCommandStep
121
+ # Dynamically create the class with the given name
122
+ return type(name, (TmpDynamicRunCommandStep,), {})
122
123
 
123
124
 
124
125
  class PipelineStepsExecutor:
@@ -1 +0,0 @@
1
- __version__ = "0.3.0"
File without changes