Skip to content

Commit 61ac28d

Browse files
chrisdengsoclaude
andcommitted
Pin python-rapidjson<=1.20 for py3.8 wheel support
tritonclient pulls in python-rapidjson; 1.21+ ships no Python 3.8 wheels, so pip builds from source and fails on the slim image (no g++). 1.20 is the last release with cp38 manylinux wheels. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 3b637f9 commit 61ac28d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎requirements.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ onnxruntime==1.16.3
1919
PyTurboJPEG==1.7.5
2020
exifread
2121
tritonclient[http,grpc]
22+
# transitive dep of tritonclient; >=1.21 has no py3.8 wheels (source build needs g++)
23+
python-rapidjson<=1.20
2224
imageio
2325
aiohttp
2426
tenacity

0 commit comments

Comments
 (0)