-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing Crypto requirement in manifest #33
Comments
Thanks @frenck, I'll get this resolved ASAP. |
Looks like this has been fixed in |
@frenck There's an issue with the latest release of the pytuya module - it tries to access Crypto during its installation, but Crypto isn't there at the time, which requires a two-stage installation. For some reason this appears to work fine when installing via HACS (I suspect it's already installed by a sub-sub-dependency of HACS), but obviously that doesn't help your Wheels build environment. This is already fixed in pytuya 'master' but there hasn't been a release yet. The suggestion made by the maintainer of pytuya, to avoid them creating a release before they're ready to, was to use a Github dependency reference instead. As far as I understand, this would not be allowed by Home Assistant because it's not coming from PyPi. At least, it's not allowed when submitting a PR to Core ... would it be work and be acceptable for inclusion in Wheels? |
It is already a dependency of HA itself, however, packages should define their own set of dependencies and not rely on the coincidence of having it already installed. In this case, we are building Python wheels, which has nothing to do with Home Assistant itself directly. |
@frenck Totally agree - as this is a peer dependency of The issue here though is that The developer of |
This integration is missing a requirement in its manifest, hence the Home Assistant Custom Integration wheels failed to build the requirements.
See: https://github.com/clach04/python-tuya#encryption-notes
I'm removing the inclusion of this integration from our wheels project for now.
Feel free to re-add it when this has been resolved.
The text was updated successfully, but these errors were encountered: