Skip to content

Commit

Permalink
change
Browse files Browse the repository at this point in the history
Signed-off-by: rickyxie0929 <[email protected]>
  • Loading branch information
rickyxie0929 committed Apr 25, 2024
1 parent 41bb5a3 commit 926353e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sdk/python/kfp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

if sys.version_info < (3, 9):
warnings.warn(
('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.'
('KFP will drop support for Python 3.8 on Oct 1, 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
2 changes: 1 addition & 1 deletion sdk/python/kfp/init_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def test(self):

with self.assertWarnsRegex(
FutureWarning,
r'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\.'
r'KFP will drop support for Python 3\.8 on Oct 1, 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\.'
):
# simulate first import from kfp
importlib.reload(mod)
Expand Down

0 comments on commit 926353e

Please sign in to comment.