Skip to content

Commit c297119

Browse files
author
Googler
committed
chore(components): Drop GCPC Python 3.7
PiperOrigin-RevId: 627500444
1 parent cab99f7 commit c297119

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

components/google-cloud/RELEASE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* Use larger base reward model when tuning `text-bison@001`, `chat-bison@001` and `t5-xxl` with the `preview.llm.rlhf_pipeline`.
33
* Move `preview.model_evaluation.autosxs_pipeline` to `v1.model_evaluation.autosxs_pipeline`.
44
* Remove default prediction column names in `v1.model_evaluation.classification_component` component to fix pipeline errors when using bigquery data source.
5+
* Drop support for Python 3.7 since it has reached end-of-life.
56

67
## Release 2.13.1
78
* Fix model name preprocess error, pass correct model to `ModelImportEvaluationOp` component in `v1.model_evaluation.evaluation_llm_text_generation_pipeline` and `v1.model_evaluation.evaluation_llm_classification_pipeline`.

components/google-cloud/google_cloud_pipeline_components/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717

1818
from google_cloud_pipeline_components.version import __version__
1919

20-
if sys.version_info < (3, 8):
20+
if sys.version_info < (3, 9):
2121
warnings.warn(
2222
(
23-
'Python 3.7 has reached end-of-life. Google Cloud Pipeline Components'
24-
' will drop support for Python 3.7 on April 23, 2024. To use new'
23+
'Python 3.8 has reached end-of-life. Google Cloud Pipeline Components'
24+
' will drop support for Python 3.8 in Oct, 2024. To use new'
2525
' versions of the KFP SDK after that date, you will need to upgrade'
26-
' to Python >= 3.8. See https://devguide.python.org/versions/ for'
26+
' to Python >= 3.9. See https://devguide.python.org/versions/ for'
2727
' more details.'
2828
),
2929
FutureWarning,

components/google-cloud/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
],
7878
},
7979
include_package_data=True,
80-
python_requires=">=3.7.0,<3.12.0",
80+
python_requires=">=3.8.0,<3.12.0",
8181
install_requires=[
8282
# Pin google-api-core version for the bug fixing in 1.31.5
8383
# https://github.com/googleapis/python-api-core/releases/tag/v1.31.5

0 commit comments

Comments
 (0)