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",