1
- From 1d68111b71462e8f15daa93eee333a4329db0b5d Mon Sep 17 00:00:00 2001
1
+ From b19d1322b2a266fc98bb01939cca615ed2ccdab8 Mon Sep 17 00:00:00 2001
2
2
From: Mohaned Qunaibit <mohaned.qunaibit@oracle.com>
3
3
Date: Tue, 5 Dec 2023 02:13:43 +0300
4
4
Subject: [PATCH] patch for tensorflow 2.15
@@ -444,7 +444,7 @@ index 00000000000..2fda834f065
444
444
+ backend-path = ["."]
445
445
diff --git a/requirements_graalpy.txt b/requirements_graalpy.txt
446
446
new file mode 100644
447
- index 00000000000..7b97c94f958
447
+ index 00000000000..262b347bd3d
448
448
--- /dev/null
449
449
+++ b/requirements_graalpy.txt
450
450
@@ -0,0 +1,44 @@
@@ -461,7 +461,7 @@ index 00000000000..7b97c94f958
461
461
+ portpicker==1.5.2
462
462
+ tensorflow-estimator==2.15.0
463
463
+ requests==2.31.0
464
- + psutil==5.9.5
464
+ + psutil==5.9.6
465
465
+ charset-normalizer==3.1.0
466
466
+ google-auth-oauthlib==1.0.0
467
467
+ protobuf==4.23.4
@@ -1099,7 +1099,7 @@ index 8601192edf7..e7f5a033af9 100644
1099
1099
# LINT.IfChange
1100
1100
diff --git a/tf_build_backend.py b/tf_build_backend.py
1101
1101
new file mode 100644
1102
- index 00000000000..29b5295b06f
1102
+ index 00000000000..a8f8ca74729
1103
1103
--- /dev/null
1104
1104
+++ b/tf_build_backend.py
1105
1105
@@ -0,0 +1,62 @@
@@ -1131,7 +1131,7 @@ index 00000000000..29b5295b06f
1131
1131
+ return env
1132
1132
+
1133
1133
+ def build_sdist(sdist_directory, config_settings=None):
1134
- + nv = 'tensorflow-2.14 .0'
1134
+ + nv = 'tensorflow-2.15 .0'
1135
1135
+ archive_path = Path(sdist_directory) / f'{nv}.tar.gz'
1136
1136
+
1137
1137
+ def tarfilter(info):
@@ -1151,7 +1151,7 @@ index 00000000000..29b5295b06f
1151
1151
+ str(SUB_VENV_PYTHON),
1152
1152
+ 'graalpy_build.py',
1153
1153
+ '--no-install',
1154
- + '--no-pipreq',
1154
+ + # '--no-pipreq',
1155
1155
+ '--sites', os.pathsep.join(site.getsitepackages()),
1156
1156
+ '--whl-path', d,
1157
1157
+ ], env=setup_venv(), check=True)
0 commit comments