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
  • Loading branch information
Googler committed Apr 23, 2024
1 parent cab99f7 commit c297119
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions components/google-cloud/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Use larger base reward model when tuning `text-bison@001`, `chat-bison@001` and `t5-xxl` with the `preview.llm.rlhf_pipeline`.
* Move `preview.model_evaluation.autosxs_pipeline` to `v1.model_evaluation.autosxs_pipeline`.
* Remove default prediction column names in `v1.model_evaluation.classification_component` component to fix pipeline errors when using bigquery data source.
* Drop support for Python 3.7 since it has reached end-of-life.

## Release 2.13.1
* 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`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@

from google_cloud_pipeline_components.version import __version__

if sys.version_info < (3, 8):
if sys.version_info < (3, 9):
warnings.warn(
(
'Python 3.7 has reached end-of-life. Google Cloud Pipeline Components'
' will drop support for Python 3.7 on April 23, 2024. To use new'
'Python 3.8 has reached end-of-life. Google Cloud Pipeline Components'
' 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.8. See https://devguide.python.org/versions/ for'
' to Python >= 3.9. See https://devguide.python.org/versions/ for'
' more details.'
),
FutureWarning,
Expand Down
2 changes: 1 addition & 1 deletion components/google-cloud/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
],
},
include_package_data=True,
python_requires=">=3.7.0,<3.12.0",
python_requires=">=3.8.0,<3.12.0",
install_requires=[
# Pin google-api-core version for the bug fixing in 1.31.5
# https://github.com/googleapis/python-api-core/releases/tag/v1.31.5
Expand Down

0 comments on commit c297119

Please sign in to comment.