Skip to content

Commit 927e6f0

Browse files
committed
Remove python 2 symbols, match packages to what we have in document
environment
1 parent 0811bbf commit 927e6f0

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

ml_metadata/ml_metadata.bzl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,6 @@ def ml_metadata_pybind_extension(
224224
# For Linux, include Python 2 symbols for compatibility
225225
# (version script allows undefined symbols)
226226
exported_symbols_linux = [
227-
"init%s" % sname,
228-
"init_%s" % sname,
229227
"PyInit_%s" % sname,
230228
]
231229

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ def run(self):
163163
# Make sure to sync the versions of common dependencies (absl-py, numpy,
164164
# six, and protobuf) with TF.
165165
install_requires=[
166-
'absl-py>=0.9,<2.0.0',
167-
'attrs>=20.3,<24',
168-
'grpcio>=1.8.6,<2',
166+
'absl-py>=0.9,<2.3.2',
167+
'attrs>=20.3,<25.5',
168+
'grpcio>=1.8.6,<1.66',
169169
f'protobuf>={"4.25.2" if _IS_PY311 else "4.21.6"},<5',
170170
'six>=1.10,<2',
171171
],

0 commit comments

Comments
 (0)