python-hyper / brotlicffi

Python bindings to the Brotli compression library
MIT License
147 stars 27 forks source link

Explicitly depend on enum34 for Python < 3.4 #172

Closed mgorny closed 3 years ago

mgorny commented 3 years ago

Add an explicit dependency on enum34 for Python < 3.4 (notably 2.7 that is still seemingly supported). This is necessary for brotlicffi to seamlessly replace brotlipy in deps still claiming to support py2.7. The package's tests do not fail because enum34 is brought indirectly by the test dependencies.

sethmlarson commented 3 years ago

Hah, surprised no one has reported this until now. Thanks!