Description
Hi, we're considering pulling in this SDK in several Python projects. Because we build those projects in pretty bare containers, the compiled dependencies here (mmh3
, and cryptography
from requests[security]
) mean that we need to install some additional OS packages at build time. That's not a showstopper, but some questions came up:
-
Is
requests[security]
needed? From https://github.com/psf/requests/pull/4825/files, it seems like it's probably not needed anymore, since fixes have been introduced in the standard library in Python 2.7.9 and 3.4.3. -
There is already fallback code in case
mmh3
isn't installed:python-sdk/optimizely/bucketer.py
Lines 16 to 19 in d3ffe33
mmh3
requirement doesn't seem to be optional. Could it be made optional? -
Do you have any details on the performance penalty of using the pure-Python Murmur3 implementation, as compared to the compiled version? I suspect that, in our use case (AWS Lambda, process per request), it may not be an issue.