From a7a553f191d2ef79abad45fdaadfdb7e91cf9270 Mon Sep 17 00:00:00 2001 From: Chen Sun Date: Wed, 13 Nov 2024 18:45:38 +0000 Subject: [PATCH 1/2] chore(sdk): support Python 3.13 Signed-off-by: Chen Sun --- .github/workflows/kfp-sdk-tests.yml | 2 +- sdk/RELEASE.md | 1 + sdk/python/setup.py | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/kfp-sdk-tests.yml b/.github/workflows/kfp-sdk-tests.yml index 0f0266d8f5d..6a6cc003f0f 100644 --- a/.github/workflows/kfp-sdk-tests.yml +++ b/.github/workflows/kfp-sdk-tests.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.9, 3.10, 3.11, 3.12] + python-version: [3.9, 3.10, 3.11, 3.12, 3.13] steps: - name: Checkout code diff --git a/sdk/RELEASE.md b/sdk/RELEASE.md index 4038afede51..df5fca06756 100644 --- a/sdk/RELEASE.md +++ b/sdk/RELEASE.md @@ -7,6 +7,7 @@ ## Deprecations ## Bug fixes and other changes +* Support Python 3.13. [\#11372](https://github.com/kubeflow/pipelines/pull/11372) ## Documentation updates diff --git a/sdk/python/setup.py b/sdk/python/setup.py index 6b820ad9150..080c713af0f 100644 --- a/sdk/python/setup.py +++ b/sdk/python/setup.py @@ -91,13 +91,14 @@ def read_readme() -> str: 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', 'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering :: Artificial Intelligence', 'Topic :: Software Development', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules', ], - python_requires='>=3.9.0,<3.13.0', + python_requires='>=3.9.0', include_package_data=True, entry_points={ 'console_scripts': [ From 88e5f0f41461165a777ca31427f5cac2722e6cfd Mon Sep 17 00:00:00 2001 From: Chen Sun Date: Wed, 13 Nov 2024 23:50:26 +0000 Subject: [PATCH 2/2] chore: remove python_requires upperbound for kfp-kubernetes Signed-off-by: Chen Sun --- kubernetes_platform/python/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubernetes_platform/python/setup.py b/kubernetes_platform/python/setup.py index b8b3781e44b..ad56ad76e1d 100644 --- a/kubernetes_platform/python/setup.py +++ b/kubernetes_platform/python/setup.py @@ -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.9.0,<3.13.0', + python_requires='>=3.9.0', install_requires=REQUIREMENTS, include_package_data=True, extras_require={