Skip to content

Fix Docker build and test hash for Shapely upgrade#94

Merged
iandees merged 1 commit into
masterfrom
fix-docker-build-and-tests
Mar 10, 2026
Merged

Fix Docker build and test hash for Shapely upgrade#94
iandees merged 1 commit into
masterfrom
fix-docker-build-and-tests

Conversation

@iandees

@iandees iandees commented Mar 10, 2026

Copy link
Copy Markdown
Member

Summary

  • Loosened Shapely == 2.0.1 to >= 2.0.1, < 3 — the pinned version has no pre-built wheel for Alpine/musl and fails to build due to missing pkg_resources (same fix as Make Docker build work again #91)
  • Reverted protobuf pin from == 5.29.6 to >= 4.21, < 5 — the 5.x version conflicts with mapbox-vector-tile 2.0.1 which requires protobuf < 5 (same fix as Make Docker build work again #91)
  • Updated expected hash in test_single_ny_orange — the newer Shapely wheel bundles a different GEOS version which produces slightly different WKT for high-precision coordinates, changing the deterministic hash

Fixes #90, fixes #92
Supersedes #91 (includes the same setup.py fixes plus the test fix)

Test plan

  • docker build --no-cache -t batch-machine . completes successfully
  • All 42 tests pass in Docker: python3 -m unittest openaddr.tests.TestOA

🤖 Generated with Claude Code

@iandees iandees merged commit bf118a6 into master Mar 10, 2026
1 check passed
@iandees iandees deleted the fix-docker-build-and-tests branch March 10, 2026 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test for us-ny-orange is failing Can't build Docker image

1 participant