Skip to content

Use enum-compat instead of enum34 directly#10

Merged
CharlesBlonde merged 1 commit into
CharlesBlonde:masterfrom
jeanregisser:master
Jun 19, 2017
Merged

Use enum-compat instead of enum34 directly#10
CharlesBlonde merged 1 commit into
CharlesBlonde:masterfrom
jeanregisser:master

Conversation

@jeanregisser
Copy link
Copy Markdown
Contributor

Hi,

I'm getting an error in Home Assistant running python 3.6 that uses your library: AttributeError: module 'enum' has no attribute 'IntFlag'

It appears enum34 is not meant to be installed in Python versions 3.4+
so this fixes it.

Let me know what you think,

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 99.461% when pulling fcc853f on jeanregisser:master into 257828e on CharlesBlonde:master.

@CharlesBlonde
Copy link
Copy Markdown
Owner

Thanks for the PR, I'll try to do some tests quickly and release a new version.

@CharlesBlonde
Copy link
Copy Markdown
Owner

I just released version 0.6.1.
I'll create a PR on Home Assistant to use this version instead of 0.3.0

And thanks for this PR, I was unaware of this side effect ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants