Skip to content

Commit

Permalink
chore(components): Drop GCPC Python 3.7
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 627500444

**Description of your changes:**

**Checklist:**
- [ ] The title for your pull request (PR) should follow our title convention. [Learn more about the pull request title convention used in this repository](https://github.com/kubeflow/pipelines/blob/master/CONTRIBUTING.md#pull-request-title-convention).
<!--
   PR titles examples:
    * `fix(frontend): fixes empty page. Fixes kubeflow#1234`
       Use `fix` to indicate that this PR fixes a bug.
    * `feat(backend): configurable service account. Fixes kubeflow#1234, fixes kubeflow#1235`
       Use `feat` to indicate that this PR adds a new feature.
    * `chore: set up changelog generation tools`
       Use `chore` to indicate that this PR makes some changes that users don't need to know.
    * `test: fix CI failure. Part of kubeflow#1234`
        Use `part of` to indicate that a PR is working on an issue, but shouldn't close the issue when merged.
-->
  • Loading branch information
rickyxie0929 committed Apr 23, 2024
1 parent c297119 commit 0a93e1a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kubernetes_platform/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def read_readme() -> str:
'https://github.com/kubeflow/pipelines/tree/master/kubernetes_platform/python',
},
packages=setuptools.find_namespace_packages(include=['kfp.*']),
python_requires='>=3.7.0,<3.13.0',
python_requires='>=3.8.0,<3.13.0',
install_requires=REQUIREMENTS,
include_package_data=True,
extras_require={
Expand Down
1 change: 1 addition & 0 deletions sdk/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

## Documentation updates
* Make full version dropdown visible on all KFP SDK docs versions [\#10577](https://github.com/kubeflow/pipelines/pull/10577)
* Drop support for Python 3.7 since it has reached end-of-life.

# 2.7.0

Expand Down
4 changes: 2 additions & 2 deletions sdk/python/kfp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
import sys
import warnings

if sys.version_info < (3, 8):
if sys.version_info < (3, 9):
warnings.warn(
('Python 3.7 has reached end-of-life. KFP will drop support for Python 3.7 on April 23, 2024. To use new versions of the KFP SDK after that date, you will need to upgrade to Python >= 3.8. See https://devguide.python.org/versions/ for more details.'
('Python 3.8 has reached end-of-life. KFP will drop support for Python 3.8 in Oct 2024. To use new versions of the KFP SDK after that date, you will need to upgrade to Python >= 3.9. See https://devguide.python.org/versions/ for more details.'
),
FutureWarning,
stacklevel=2,
Expand Down

0 comments on commit 0a93e1a

Please sign in to comment.