From 7c124a363b8e6a76c91af2a5ab4b61bab81491e4 Mon Sep 17 00:00:00 2001 From: Will Evonosky Date: Mon, 2 Oct 2023 16:08:30 +0000 Subject: [PATCH] Updated backoff --- requirements.txt | 2 +- setup.py | 40 ++++++++++++++++++++++++++-------------- 2 files changed, 27 insertions(+), 15 deletions(-) diff --git a/requirements.txt b/requirements.txt index 6f6b55ebb..1a74fceb3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -backoff==1.10.0 +backoff>=2.2.1,<3.0 geojson google-api-core>=1.22.1 imagesize diff --git a/setup.py b/setup.py index e459b0f5e..690facd56 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,8 @@ import setuptools -with open('labelbox/__init__.py') as fid: +with open("labelbox/__init__.py") as fid: for line in fid: - if line.startswith('__version__'): + if line.startswith("__version__"): SDK_VERSION = line.strip().split()[-1][1:-1] break @@ -20,23 +20,35 @@ url="https://labelbox.com", packages=setuptools.find_packages(), install_requires=[ - "backoff==1.10.0", "requests>=2.22.0", "google-api-core>=1.22.1", - "pydantic>=1.8,<2.0", "tqdm", "python-dateutil>=2.8.2,<2.9.0" + "backoff>=2.2.1,<3.0", + "requests>=2.22.0", + "google-api-core>=1.22.1", + "pydantic>=1.8,<2.0", + "tqdm", + "python-dateutil>=2.8.2,<2.9.0", ], extras_require={ - 'data': [ - "shapely", "geojson", "numpy", "PILLOW", "opencv-python", - "typeguard", "imagesize", "pyproj", "pygeotile", - "typing-extensions", "packaging" + "data": [ + "shapely", + "geojson", + "numpy", + "PILLOW", + "opencv-python", + "typeguard", + "imagesize", + "pyproj", + "pygeotile", + "typing-extensions", + "packaging", ], }, classifiers=[ - 'License :: OSI Approved :: Apache Software License', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', + "License :: OSI Approved :: Apache Software License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", ], - python_requires='>=3.7', + python_requires=">=3.7", keywords=["labelbox"], )