diff --git a/elyra/pipeline/registry.py b/elyra/pipeline/registry.py index 8c519ebdc..f509095a7 100644 --- a/elyra/pipeline/registry.py +++ b/elyra/pipeline/registry.py @@ -57,8 +57,8 @@ def __init__(self, **kwargs): for processor in entrypoints.get_group_all("elyra.pipeline.processors"): try: # instantiate an actual instance of the processor - processor_instance = processor.load()(root_dir=self.root_dir, parent=kwargs.get("parent")) if not self.runtimes or processor.name in self.runtimes: + processor_instance = processor.load()(root_dir=self.root_dir, parent=kwargs.get("parent")) self._add_processor(processor_instance) else: self.log.info( diff --git a/pyproject.toml b/pyproject.toml index 9d2cf541f..265ebeabd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,12 +43,11 @@ dependencies = [ "rfc3986-validator>=0.1.1", "tornado>=6.1.0", "traitlets>=4.3.2", - "typing-extensions>=3.10,<5", # Cap from kfp + "typing-extensions>=3.10", "urllib3>=1.26.5", "watchdog>=2.1.3", "websocket-client", "yaspin", - "kfp>=1.7.0,<2.0,!=1.7.2", # We cap the SDK to <2.0 due to possible breaking changes "pygithub", "black>=22.8.0", ] @@ -85,6 +84,11 @@ test = [ "requests-unixsocket", "kfp-tekton" ] +kfp = [ + "kfp>=1.7.0,<2.0,!=1.7.2", # We cap the SDK to <2.0 due to possible breaking changes + "typing-extensions>=3.10,<5", # Cap from kfp +] + kfp-tekton = [ "kfp-tekton>=1.5.2" # requires kfp >= 1.8.19, which contains fix for Jupyterlab ] @@ -96,9 +100,11 @@ gitlab = [ ] # The following is a collection of "non-test" extra dependencies from above. all = [ + "kfp>=1.7.0,<2.0,!=1.7.2", # We cap the SDK to <2.0 due to possible breaking changes "kfp-tekton>=1.5.2", "elyra-examples-kfp-catalog", "python-gitlab", + "typing-extensions>=3.10,<5", # Cap from kfp ] # Console scripts