Skip to content

Commit 80f01f8

Browse files
authored
Pin protobuf to <3.18 to maintain Python 2 compatibility
See: protocolbuffers/protobuf#8984
1 parent eaf742c commit 80f01f8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dev-requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ python-dateutil
1010

1111
# Testing the 'search_mvt' API response
1212
mapbox-vector-tile; python_version!="3.4.*"
13+
# For mapbox-vector-tile, package broke Python 2 support without an annotation.
14+
# See: protocolbuffers/protobuf#8984
15+
protobuf<3.18; python_version!="3.4.*"
1316

1417
# No wheels for Python 3.10 yet!
1518
numpy; python_version<"3.10"

0 commit comments

Comments
 (0)