From 8584f1c3208f3e93fb3921323ca3d1d718717be2 Mon Sep 17 00:00:00 2001 From: Jarred Parrett <91471796+jarredSafegraph@users.noreply.github.com> Date: Fri, 22 Nov 2024 21:06:57 -0500 Subject: [PATCH] Locking h3 version on supported 3.6.1 to 3.7.7 (#42) * Locking h3 version on supported 3.6.1 to 3.7.7 * Fix test --- placekey/tests/test_api.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/placekey/tests/test_api.py b/placekey/tests/test_api.py index 119920b..55b61e2 100644 --- a/placekey/tests/test_api.py +++ b/placekey/tests/test_api.py @@ -99,7 +99,7 @@ def test_lookup_placekeys(self): self.assertListEqual( self.pk_api.lookup_placekeys(places), [ - {'query_id': 'place_0', 'placekey': '0rsdbudq45@5vg-7gq-5mk'}, + {'query_id': 'place_0', 'placekey': '22g@5vg-7gq-5mk'}, {'query_id': 'thisqueryidaloneiscustom', 'placekey': '227-223@5vg-82n-pgk'}, {'query_id': 'place_2', 'placekey': '@5vg-82n-kzz'} ] diff --git a/setup.py b/setup.py index 67bc19e..2fdfab5 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ def get_version(): long_description_content_type="text/markdown", url="https://github.com/Placekey/placekey-py", packages=setuptools.find_packages(), - install_requires=['h3', 'shapely', 'requests', 'ratelimit', 'backoff'], + install_requires=['h3>=3.6.1,<4', 'shapely', 'requests', 'ratelimit', 'backoff'], classifiers=[ "Programming Language :: Python :: 3", "License :: OSI Approved :: Apache Software License",