Package Details: python-miio 0.5.8-1

Git Clone URL: https://aur.archlinux.org/python-miio.git (read-only, click to copy)
Package Base: python-miio
Description: Python library & console tool for controlling Xiaomi smart appliances
Upstream URL: https://github.com/rytilahti/python-miio
Keywords: Python smart-home Xiaomi
Licenses: GPL3
Submitter: patrick.luehne
Maintainer: lmartinez-mirror
Last Packager: lmartinez-mirror
Votes: 5
Popularity: 0.026631
First Submitted: 2017-11-18 21:21
Last Updated: 2021-09-02 17:29

Latest Comments

1 2 Next › Last »

ntkoopman commented on 2021-06-13 09:05

Thanks for updating. I had to also install python-yaml and python-croniter for it to work.

lmartinez-mirror commented on 2021-06-08 16:33

I'd have to install it "properly" to see where the fault is. If it's the PKGBUILD's fault, I'll have to work something out when I have the time.

If it's an upstream issue, I'll make sure to pass along this bug to them.

frostwork commented on 2021-06-08 15:02

Thanks for taking over @lmartinez-mirror! I can confirm the package installs correctly and the package seems to work correctly (tested consumables, info, status) ~~mirobo --version seems to be broken, but maybe this is an upstream bug, or already was broken before~~

Edit: mirobo --version is already broken in 0.5.4 here.

lmartinez-mirror commented on 2021-06-08 14:53

Upstream removed the setup.py in favor of pyproject.toml, which can be converted from with python-dephell. Fix was implemented with the update back to 0.5.6. Please let me know if this package works again.

davidalb97 commented on 2021-06-07 20:25

@frostwork You are right, looks like setup.py has been removed from the source code at https://github.com/rytilahti/python-miio/commit/7a2731430c52edd30f388a9f26e92e79228d2c4f I will revert back to 0.5.0.1 until there is a solution.

frostwork commented on 2021-06-07 20:16

I did not even recognize that the package was out of date, because I (barely) use an own 0.5.4 PKGBUILD in my local repo, so thanks for taking over, @davidalb97!

Just wanted to give it a try though, and it fails with: ==> Beginne build()... python: can't open file '~/.cache/yay/python-miio/src/python-miio-0.5.6/setup.py': [Errno 2] No such file or directory ==> FEHLER: Ein Fehler geschah in build(). Breche ab... error making: python-miio

(removed the directory recursively before)

frostwork commented on 2020-12-10 12:48

Hey @patrick.luehne! Thanks for trying to maintain this package!

I don't know anything about dephell, but looks like

https://wiki.archlinux.org/index.php/Python_package_guidelines#pyproject.toml_(PEP_517)

does what it should. You probably already found it yourself :)

patrick.luehne commented on 2020-12-09 14:04

@frostwork: Indeed, it seems that python-miio is now built with Poetry, and I don’t have much experience with that, let alone packaging software built with Poetry for Arch Linux. Dephell sounds interesting, I’ll give it a look. So far, I tried and gave up updating this PKGBUILD a couple of times already, but I’ll give it another shot at some point.

frostwork commented on 2020-12-09 13:47

Hello @patrick.luehne. Apologies for the late response as well - totally forgot about my comment here and it was just a coincidence that I just found it. I recently removed a local PKGBUILD from my system and found that AUR is flagged out of date. Just wanted to quickly bump it, but upstream did not only remove the setup.py, which could be "easily" fixed adding the tool "python-dephell" to makedepends which could generate it (pulls in a bunch of dependencies...) dephell deps convert --from pyproject.toml --to setup.py but the package also depends (at least - haven't checked further) on https://aur.archlinux.org/packages/python-croniter/ but the package is only for python2.

Still a nice tool, but I'm not sure if it is worth to fix that mess.

patrick.luehne commented on 2020-01-02 00:32

@frostwork: Apologies for the late response, I had missed your message. I’ve now brought this package up-to-date with the 0.4.8 release and removed the unneeded python_cron dependency while doing that. (Also, android_backup_tools is now an optional dependency.) Let me know if the package looks better to you now. I’ll also ask for the python-mirobo AUR package to be deleted to avoid user confusion.