Skip to content
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

[SDK] Remove Final Keyword from constants #1980

Merged

Conversation

andreyvelich
Copy link
Member

I think, we should remove Final keyword from our constants in Python SDK.
Final is available only in >= Python 3.8 version: https://peps.python.org/pep-0591/
Currently, we say that Katib SDK is supported in Python 3 and 3.7.
Also, it's better to be compatible with other Kubeflow components SDKs, e.g. with Kubeflow Pipelines.

We can think about Python upgrade in the future releases/versions across various Kubeflow components.

@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andreyvelich

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@andreyvelich
Copy link
Member Author

@coveralls
Copy link

coveralls commented Oct 24, 2022

Coverage Status

Coverage increased (+0.2%) to 73.681% when pulling c78f789 on andreyvelich:sdk-remove-final-keyword into 8cbaf85 on kubeflow:master.

@johnugeorge
Copy link
Member

@andreyvelich Can you do a rebase?

Copy link
Member

@tenzen-y tenzen-y left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andreyvelich Thanks for pointing this out!
/lgtm

I think that we could upgrade the minimal support python version to v3.8 still releasing katib v0.15.

@tenzen-y
Copy link
Member

/lgtm

@google-oss-prow google-oss-prow bot added the lgtm label Oct 24, 2022
@google-oss-prow google-oss-prow bot merged commit 47b746f into kubeflow:master Oct 24, 2022
@andreyvelich andreyvelich deleted the sdk-remove-final-keyword branch October 24, 2022 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants