From 4b6e51cd1467f3fd4015083f52ecf8d983b45839 Mon Sep 17 00:00:00 2001
From: kat-statsig <167801639+kat-statsig@users.noreply.github.com>
Date: Mon, 19 Aug 2024 14:23:07 -0700
Subject: [PATCH] remove pin (#300)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
For testing, deployed 3.7 + 3.9 on long running instances. Calling
console apis to update flags/config and checking that gcir is being
updated to the same lcut as the grpc response lcut.
Python 3.7 has the following restrictions:
**grpcio==1.51.1 **
**protobuf<4.0.0,>=3.2.0 **
Tested Python 3.9 with the same restrictions as well as no restriction:
---
setup.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/setup.py b/setup.py
index 92802a9..77c8e00 100644
--- a/setup.py
+++ b/setup.py
@@ -37,12 +37,12 @@
'requests',
'ua_parser',
'ip3country',
- 'grpcio==1.62.3',
- 'protobuf==4.24.4',
+ 'grpcio',
+ 'protobuf',
],
tests_require=test_deps,
extras_require=extras,
include_package_data=True,
packages=find_packages(include=['statsig', 'statsig.grpc', 'statsig.grpc.generated']),
- python_requires='>=3.5',
+ python_requires='>=3.7',
)