PyCQA / flake8-import-order

Flake8 plugin that checks import order against various Python Style Guides
GNU Lesser General Public License v3.0
278 stars 72 forks source link

enum34 dependency installed on python 3.6 #148

Closed Korijn closed 6 years ago

Korijn commented 6 years ago

It's weird, but I think there's a bug in setup.py. I installed flake8-import-order in a python 3.6 environment with pip, and the enum34 dependency came along. This subsequently broke my pyinstaller script, with the following error:

https://stackoverflow.com/questions/43124775/why-python-3-6-1-throws-attributeerror-module-enum-has-no-attribute-intflag

Solution was indeed removing the enum34 package. I think the python_version constraint is incorrectly specified in setup.py?

Korijn commented 6 years ago

Nevermind, it was installed by something else.