-
Couldn't load subscription status.
- Fork 1.8k
Remove kfp dependency executor #12172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove kfp dependency executor #12172
Conversation
|
Hi @aniketpati1121. Thanks for your PR. I'm waiting for a kubeflow member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
🚫 This command cannot be processed. Only organization members or owners can use the commands. |
5bb7118 to
122ca21
Compare
122ca21 to
c0addc3
Compare
|
Hi all, |
|
/ok-to-test |
|
Approvals successfully granted for pending runs. |
fcb0f6c to
6ec4cb4
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: aniketpatil <[email protected]>
Signed-off-by: aniketpatil <[email protected]>
Signed-off-by: Aniket Patil <[email protected]>
6ec4cb4 to
78220c7
Compare
|
Hi @kubeflow/owners, This PR removes the KFP dependency executor and related checks. All conflicts have been resolved, rebase is done, and all CI checks (CI Check, DCO) have passed successfully. Could you please review and provide /lgtm and /approve so that it can be merged? Thanks for your time and support! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @aniketpati1121! Thank you for taking on the issue, the scope for that issue was more along the lines of removing the need of the kfp dependency within the dsl.executor. In turn, trying to isolate the executor. I may end up closing that issue for a more refined one.
sdk/python/test_kfp_version.py
Outdated
| @@ -0,0 +1,3 @@ | |||
| import kfp | |||
|
|
|||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this file can be removed.
sdk/python/kfp/dsl/v1_modelbase.py
Outdated
| from typing import (Any, cast, Dict, get_type_hints, List, Mapping, | ||
| MutableMapping, MutableSequence, Sequence, Type, TypeVar, | ||
| Union) | ||
| from typing import Any, cast, Dict, get_type_hints, List, Mapping, MutableMapping, MutableSequence, Sequence, Type, TypeVar, Union |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the linter might not like this change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sdk/python/kfp/dsl/structures.py
chore(sdk): cleanup imports in component_factory
- Grouped stdlib, third-party, and local imports
- Converted long imports to parentheses for readability
- Removed unused
import kfp
| import textwrap | ||
| from typing import (Any, Callable, Dict, List, Mapping, Optional, Tuple, Type, | ||
| Union) | ||
| from typing import Any, Callable, Dict, List, Mapping, Optional, Tuple, Type, Union |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Linter might not like.
| import typing | ||
| from typing import (Any, DefaultDict, Dict, List, Mapping, Optional, Tuple, | ||
| Union) | ||
| from typing import Any, DefaultDict, Dict, List, Mapping, Optional, Tuple, Union |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Linter might not like
sdk/python/kfp/cli/cli.py
Outdated
| @click.version_option(version=kfp.__version__, message='%(prog)s %(version)s') | ||
| @click.version_option(version=_version.__version__, message='%(prog)s %(version)s') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this change is needed.
| __version__ = 'dev' | ||
| __version__ = "0.0.0+dev" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if this is needed.
3667cdc to
095de4e
Compare
Signed-off-by: Aniket Patil <[email protected]>
095de4e to
b202677
Compare
|
Hi @zazulam, Thanks for the feedback! The test file (test_kfp_version.py) was only used for local testing and is now removed. |
This PR removes the KFP dependency executor and related checks from the Kubeflow Pipelines SDK. The _KFP_RUNTIME check in kfp/init.py has been removed, and necessary updates have been applied to ensure compatibility.
fixes #12090