python-elasticsearch-logger icon indicating copy to clipboard operation
python-elasticsearch-logger copied to clipboard

Fix installing via Poetry on python 3.4+

Open lassevalentini opened this issue 4 years ago • 0 comments

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

lassevalentini avatar Jun 16 '20 12:06 lassevalentini