python-elasticsearch-logger
python-elasticsearch-logger copied to clipboard
Fix installing via Poetry on python 3.4+
When installing via Poetry, the package enum is added to the package lock even though it cannot be installed for newer versions of python.
It seems to happen because the pypi endpoint returns enum as a dependency for all versions of python (under info/requires_dist).
I've fixed it by using an environment marker to the enum dependency instead of calculating it in setup.py