From a3b2e50f8755b2c01be2a3b1a613b587c94ca74a Mon Sep 17 00:00:00 2001 From: Ian Dees Date: Mon, 9 Mar 2026 21:30:21 -0500 Subject: [PATCH] Fix Docker build and update test hash for Shapely compatibility --- openaddr/tests/__init__.py | 2 +- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openaddr/tests/__init__.py b/openaddr/tests/__init__.py index 662da881..e00127d6 100644 --- a/openaddr/tests/__init__.py +++ b/openaddr/tests/__init__.py @@ -1075,7 +1075,7 @@ def test_single_ny_orange(self): rows = list(map(json.loads, list(input))) self.assertEqual(rows[0]['properties']['id'], u'') self.assertEqual(rows[0]['properties']['number'], u'434') - self.assertEqual(rows[0]['properties']['hash'], u'3baff6b46b2f18bc') + self.assertEqual(rows[0]['properties']['hash'], u'8a72112f6b1404d8') self.assertEqual(rows[0]['properties']['city'], u'MONROE') self.assertEqual(rows[0]['geometry']['coordinates'], [-74.1926686, 41.3187728]) self.assertEqual(rows[0]['properties']['street'], u'') diff --git a/setup.py b/setup.py index dc0ed948..456b33c9 100644 --- a/setup.py +++ b/setup.py @@ -51,11 +51,11 @@ 'esridump == 1.13.0', # Used in openaddr.parcels - 'Shapely == 2.0.1', + 'Shapely >= 2.0.1, < 3', # https://github.com/tilezen/mapbox-vector-tile 'mapbox-vector-tile == 2.0.1', 'future==0.18.3', - 'protobuf==5.29.6', + 'protobuf>=4.21, <5', ] )