Skip to content

Commit 0868552

Browse files
authored
Pin setuptools below 82 for TensorFlow Hub pkg_resources compatibility (#37929)
* Pin setuptools below 82 for TensorFlow Hub pkg_resources compatibility * Pin setuptools for tensorflow_hub (tensorflow/hub#934)
1 parent 7431dea commit 0868552

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

sdks/python/apache_beam/ml/inference/tensorflow_tests_requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ tensorflow_hub>=0.10.0
2121
Pillow>=9.0.0
2222
typing-extensions>=4.8.0
2323
google-cloud-monitoring>=2.27.0
24+
# Pin setuptools below 82: tensorflow_hub still imports pkg_resources, which setuptools 82+ no longer provides.
25+
# https://github.com/tensorflow/hub/issues/934
26+
setuptools>=65.0.0,<82

0 commit comments

Comments
 (0)