Skip to content

Block dependencies that depend on enum34#8698

Merged
balloob merged 7 commits into
devfrom
block-enum34
Aug 5, 2017
Merged

Block dependencies that depend on enum34#8698
balloob merged 7 commits into
devfrom
block-enum34

Conversation

@balloob
Copy link
Copy Markdown
Member

@balloob balloob commented Jul 29, 2017

Description:

This blocks enum34 from being installed. It is a backport of the Python 3.4 enum module for Python 2.7-3.3. It is never needed for Home Assistant.

When installed in Python 3.6, it will blow up things that depend on enum.

This change will fail any dependency that tries to install enum34. As these dependencies have to depend on enum-compat instead, which will only install enum34 when necessary.

See earlier work done in #8103

As this is very annoying, I'm planning on disabling components/platforms that currently depend on requirements that pull in enum34. Based on the current list that will only be sensor.skybeacon.

Found violating packages with pipdeptree --reverse --packages enum34:

The pygatt and yeelight PRs have been submitted over a month ago and have not gotten any response.

Related issue (if applicable): fixes #7733

@balloob balloob merged commit e49b970 into dev Aug 5, 2017
@balloob balloob deleted the block-enum34 branch August 5, 2017 06:06
@fabaff fabaff mentioned this pull request Aug 12, 2017
dethpickle pushed a commit to dethpickle/home-assistant that referenced this pull request Aug 18, 2017
* Block dependencies that depend on enum34

* Remove uninstalling enum34

* Update validation script

* Add constraints to tox.ini

* Upgrade yeelight to version that uses enum-compat

* Disable sensor.skybeacon

* Lint
@patrickkeys
Copy link
Copy Markdown

Looks like pygatt may now be fixed: https://github.com/peplin/pygatt/blob/master/CHANGELOG.rst. Could the skybeacon component be re-enabled now, or is more work required?

@balloob
Copy link
Copy Markdown
Member Author

balloob commented Dec 9, 2017

If a new release of pygatt has been done, you can submit a PR to Home Assistant to uncomment and upgrade the dependency for skybeacon.

@home-assistant home-assistant locked and limited conversation to collaborators Mar 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

speedtest errors in docker homeassistant/home-assistant:latest

4 participants