Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kubeflow-pipelines-visualization-server: bump to use Python 3.11 #39639

Merged
merged 3 commits into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 10 additions & 12 deletions kubeflow-pipelines-visualization-server.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,29 @@
package:
name: kubeflow-pipelines-visualization-server
version: 2.3.0
epoch: 4
epoch: 5
description: Machine Learning Pipelines for Kubeflow
copyright:
- license: Apache-2.0
target-architecture:
- x86_64 # Since tensorflow-data-validation is not available for aaarch64 yet
dependencies:
runtime:
- py3.10-google-cloud-sdk
- python-3.10
- py${{vars.py-version}}-google-cloud-sdk
- py${{vars.py-version}}-typing-extensions
- python-${{vars.py-version}}

vars:
py-version: 3.11

environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- py3.10-crcmod
- py3.10-pip
- python-3.10
- python-3.10-dev
- py${{vars.py-version}}-build-base-dev
- py${{vars.py-version}}-crcmod
- py${{vars.py-version}}-pip

pipeline:
- uses: git-checkout
Expand All @@ -35,7 +37,6 @@ pipeline:
patches: 0001-Bump-dependencies.patch

- runs: |
ln -sf /usr/bin/python3.10 /usr/bin/python3
mkdir -p ${{targets.destdir}}/usr/share/app
cp -r backend/src/apiserver/visualization/* ${{targets.destdir}}/usr/share/app/
cd ${{targets.destdir}}/usr/share/app/
Expand All @@ -45,9 +46,6 @@ pipeline:
pip install --root=${{targets.destdir}} --prefix=/usr -r requirements.txt
find ${{targets.destdir}} -name "*.pyc" -exec rm -rf '{}' +

# "collections" is deprecated in Python 3.10, use "collections.abc" instead
sed -i 's/collections/collections.abc/g' ${{targets.destdir}}/usr/lib/python3.10/site-packages/gcsfs/mapping.py

# CVE-2023-47248, GHSA-5wvp-7f3h-6wmm
pip install pyarrow-hotfix
sed -i '1 i\import pyarrow_hotfix' server.py
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ index 61ebd737b..d4ff15c82 100644
-tensorflow-serving-api==2.10.1
+nbformat==5.5.0
+scikit-learn==1.5.0
+tensorflow==2.15.0
+tensorflow==2.16.2
+tensorflow-metadata==1.14.*
+tensorflow-model-analysis==0.45.*
+tensorflow-data-validation==1.14.0
+tensorflow-model-analysis==0.47.*
+tensorflow-data-validation==1.16.1
+tensorflow-serving-api==2.14.1
tornado==6.*
-mistune<2.0.0
Expand All @@ -43,7 +43,7 @@ index 00cc9a82e..8f69cbc48 100644
#
absl-py==1.4.0
# via
@@ -12,40 +12,48 @@ absl-py==1.4.0
@@ -12,40 +12,48 @@
# tensorflow-metadata
# tensorflow-model-analysis
# tfx-bsl
Expand Down Expand Up @@ -102,7 +102,7 @@ index 00cc9a82e..8f69cbc48 100644
# via ipywidgets
crcmod==1.7
# via apache-beam
@@ -57,24 +65,34 @@ defusedxml==0.7.1
@@ -57,24 +65,34 @@
# via nbconvert
dill==0.3.1.1
# via apache-beam
Expand Down Expand Up @@ -141,7 +141,7 @@ index 00cc9a82e..8f69cbc48 100644
# google-cloud-bigquery
# google-cloud-bigquery-storage
# google-cloud-bigtable
@@ -85,7 +103,9 @@ google-api-core[grpc]==2.11.1
@@ -85,7 +103,9 @@
# google-cloud-pubsub
# google-cloud-pubsublite
# google-cloud-recommendations-ai
Expand All @@ -151,7 +151,7 @@ index 00cc9a82e..8f69cbc48 100644
# google-cloud-videointelligence
# google-cloud-vision
google-api-python-client==1.7.12
@@ -94,7 +114,7 @@ google-api-python-client==1.7.12
@@ -94,7 +114,7 @@
# tfx-bsl
google-apitools==0.5.31
# via apache-beam
Expand All @@ -160,7 +160,7 @@ index 00cc9a82e..8f69cbc48 100644
# via
# apache-beam
# gcsfs
@@ -102,75 +122,106 @@ google-auth==2.23.0
@@ -102,106 +122,134 @@
# google-api-python-client
# google-auth-httplib2
# google-auth-oauthlib
Expand Down Expand Up @@ -290,7 +290,10 @@ index 00cc9a82e..8f69cbc48 100644
# grpcio-status
# tensorboard
# tensorflow
@@ -180,28 +231,25 @@ grpcio-status==1.48.2
# tensorflow-serving-api
-grpcio-status==1.48.2
+grpcio-status==1.49.1
# via
# google-api-core
# google-cloud-pubsub
# google-cloud-pubsublite
Expand Down Expand Up @@ -326,7 +329,7 @@ index 00cc9a82e..8f69cbc48 100644
# notebook
ipython==7.12.0
# via
@@ -212,48 +260,55 @@ ipython==7.12.0
@@ -212,48 +260,55 @@
ipython-genutils==0.2.0
# via
# ipywidgets
Expand Down Expand Up @@ -388,7 +391,7 @@ index 00cc9a82e..8f69cbc48 100644
-keras==2.10.0
- # via tensorflow
-keras-preprocessing==1.1.2
+keras==2.15.0
+keras==3.8.0
# via tensorflow
-libclang==16.0.6
+libclang==18.1.1
Expand All @@ -398,11 +401,11 @@ index 00cc9a82e..8f69cbc48 100644
# via tensorboard
markupsafe==2.0.1
# via
@@ -263,30 +318,43 @@ mistune==0.8.4
@@ -263,30 +318,43 @@
# via
# -r requirements.in
# nbconvert
+ml-dtypes==0.2.0
+ml-dtypes==0.3.1
+ # via tensorflow
+nbclassic==1.1.0
+ # via notebook
Expand Down Expand Up @@ -448,7 +451,7 @@ index 00cc9a82e..8f69cbc48 100644
# tensorboard
# tensorflow
# tensorflow-data-validation
@@ -296,18 +364,21 @@ oauth2client==4.1.3
@@ -296,18 +364,21 @@
# via google-apitools
oauthlib==3.2.2
# via requests-oauthlib
Expand All @@ -474,7 +477,7 @@ index 00cc9a82e..8f69cbc48 100644
# tensorflow
pandas==1.5.3
# via
@@ -315,39 +386,47 @@ pandas==1.5.3
@@ -315,39 +386,47 @@
# tensorflow-data-validation
# tensorflow-model-analysis
# tfx-bsl
Expand Down Expand Up @@ -528,7 +531,7 @@ index 00cc9a82e..8f69cbc48 100644
+ # google-cloud-videointelligence
# google-cloud-vision
-protobuf==3.19.6
+protobuf==3.20.3
+protobuf
# via
# apache-beam
# google-api-core
Expand All @@ -537,15 +540,15 @@ index 00cc9a82e..8f69cbc48 100644
# google-cloud-bigquery-storage
# google-cloud-bigtable
# google-cloud-datastore
@@ -355,6 +434,7 @@ protobuf==3.19.6
@@ -355,6 +434,7 @@
# google-cloud-language
# google-cloud-pubsub
# google-cloud-recommendations-ai
+ # google-cloud-resource-manager
# google-cloud-spanner
# google-cloud-videointelligence
# google-cloud-vision
@@ -373,87 +453,97 @@ ptyprocess==0.7.0
@@ -373,87 +453,97 @@
# via
# pexpect
# terminado
Expand Down Expand Up @@ -669,7 +672,7 @@ index 00cc9a82e..8f69cbc48 100644
six==1.16.0
# via
# astunparse
@@ -463,66 +553,70 @@ six==1.16.0
@@ -463,66 +553,70 @@
# google-apitools
# google-pasta
# hdfs
Expand All @@ -687,23 +690,23 @@ index 00cc9a82e..8f69cbc48 100644
+sqlparse==0.5.1
# via google-cloud-spanner
-tensorboard==2.10.1
+tensorboard==2.15.2
+tensorboard==2.16.2
# via tensorflow
-tensorboard-data-server==0.6.1
+tensorboard-data-server==0.7.2
# via tensorboard
-tensorboard-plugin-wit==1.8.1
- # via tensorboard
-tensorflow==2.10.1
+tensorflow==2.15.0
+tensorflow==2.16.2
# via
# -r requirements.in
# tensorflow-data-validation
# tensorflow-model-analysis
# tensorflow-serving-api
# tfx-bsl
-tensorflow-data-validation==1.9.0
+tensorflow-data-validation==1.14.0
+tensorflow-data-validation==1.16.1
# via -r requirements.in
-tensorflow-estimator==2.10.0
+tensorflow-estimator==2.15.0
Expand All @@ -712,14 +715,14 @@ index 00cc9a82e..8f69cbc48 100644
+tensorflow-io-gcs-filesystem==0.37.1
# via tensorflow
-tensorflow-metadata==1.9.0
+tensorflow-metadata==1.14.0
+tensorflow-metadata==1.16.1
# via
# -r requirements.in
# tensorflow-data-validation
# tensorflow-model-analysis
# tfx-bsl
-tensorflow-model-analysis==0.40.0
+tensorflow-model-analysis==0.45.0
+tensorflow-model-analysis==0.47.1
# via -r requirements.in
-tensorflow-serving-api==2.10.1
+tensorflow-serving-api==2.14.1
Expand All @@ -738,7 +741,7 @@ index 00cc9a82e..8f69cbc48 100644
testpath==0.6.0
# via nbconvert
-tfx-bsl==1.9.0
+tfx-bsl==1.14.0
+tfx-bsl==1.16.1
# via
# tensorflow-data-validation
# tensorflow-model-analysis
Expand All @@ -760,7 +763,7 @@ index 00cc9a82e..8f69cbc48 100644
# via
# comm
# ipykernel
@@ -530,38 +624,38 @@ traitlets==5.10.0
@@ -530,38 +624,38 @@
# ipywidgets
# jupyter-client
# jupyter-core
Expand Down
Loading