From 280c95d7f73f7c6ae830d1d4cde832859eb542f2 Mon Sep 17 00:00:00 2001 From: J Wyman Date: Thu, 16 Jul 2026 19:38:46 -0400 Subject: [PATCH] feat: Remove Upper-Bound on `grpcio` Package (#892) * remove grpcio package upper bound * remove pkg_resources The pkg_resources wheel has been deprecated. (cherry picked from commit fc250c285064877e04f589866a983731726745f6) --- src/python/library/requirements/requirements_grpc.txt | 2 +- .../library/tritonclient/utils/cuda_shared_memory/__init__.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/python/library/requirements/requirements_grpc.txt b/src/python/library/requirements/requirements_grpc.txt index 4ec0fedcd..bd3d86b25 100644 --- a/src/python/library/requirements/requirements_grpc.txt +++ b/src/python/library/requirements/requirements_grpc.txt @@ -24,7 +24,7 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -grpcio>=1.63.0,<1.68 +grpcio>=1.81.1 numpy>=1.19.1 packaging>=14.1 protobuf>=6.30.0,<7.0 diff --git a/src/python/library/tritonclient/utils/cuda_shared_memory/__init__.py b/src/python/library/tritonclient/utils/cuda_shared_memory/__init__.py index 3af88a0fd..2a655207d 100755 --- a/src/python/library/tritonclient/utils/cuda_shared_memory/__init__.py +++ b/src/python/library/tritonclient/utils/cuda_shared_memory/__init__.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright 2019-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright 2019-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions @@ -38,11 +38,9 @@ import base64 import ctypes -import os import struct import numpy as np -import pkg_resources from .. import _dlpack from .._shared_memory_tensor import SharedMemoryTensor