aboutcode.pipeline 0.2.0__tar.gz → 0.2.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aboutcode.pipeline
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: AboutCode Pipeline library. Execute code in steps.
5
5
  Keywords: open source,pipeline,scancode
6
6
  Author-email: "nexB. Inc. and others" <info@aboutcode.org>
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## Release 0.2.1 (February 24, 2025)
4
+
5
+ * Include the ``optional_step`` steps in the ``get_graph()`` list.
6
+ [Issue #1599](https://github.com/aboutcode-org/scancode.io/issues/1599)
7
+
3
8
  ## Release 0.2.0 (November 21, 2024)
4
9
 
5
10
  * Refactor the ``group`` decorator for pipeline optional steps as ``optional_step``.
@@ -31,7 +31,7 @@ from timeit import default_timer as timer
31
31
 
32
32
  module_logger = logging.getLogger(__name__)
33
33
 
34
- __version__ = "0.2.0"
34
+ __version__ = "0.2.1"
35
35
 
36
36
 
37
37
  class PipelineDefinition:
@@ -97,7 +97,7 @@ class PipelineDefinition:
97
97
  "doc": getdoc(step),
98
98
  "groups": getattr(step, "groups", []),
99
99
  }
100
- for step in cls.get_steps()
100
+ for step in cls.get_steps(groups=cls.get_available_groups())
101
101
  ]
102
102
 
103
103
  @classmethod
@@ -4,7 +4,7 @@ build-backend = "flot.buildapi"
4
4
 
5
5
  [project]
6
6
  name = "aboutcode.pipeline"
7
- version = "0.2.0"
7
+ version = "0.2.1"
8
8
  description = "AboutCode Pipeline library. Execute code in steps."
9
9
  license = { text = "Apache-2.0" }
10
10
  readme = "aboutcode/pipeline/README.md"