CrazyIvan359 / mqttany

MQTTany is designed to make it easy to connect hardware on single board computers to your home automation solution.
https://crazyivan359.github.io/mqttany/index.html
MIT License
6 stars 6 forks source link

Update requirements/mqttany.txt #162

Open glenm-nz opened 1 month ago

glenm-nz commented 1 month ago

2 issues occurred when reinstalling mqttany recently:

PIP install of pyyaml failed I believe it's this issue here https://github.com/python-poetry/poetry/issues/8287 (leading to the root cause in https://github.com/yaml/pyyaml/issues/736) Short version: 6.0.2 builds fine, and need to change the requirements upper limit of 6.0 to 6.0.2

PIP install of mprop failed I have logged a ticket for this, and it has been immediately resolved in mprop v0.17.0. Details here: https://github.com/josiahcarlson/mprop/issues/6 Short version: No change needed to requirements file, now that the new mprop version released, but no harm in dropping in 0.17.0 as the new minimum version

Environment

Proposed solution

Sorry - Jumpting straight to a solution here. Probably just update the following requirements file: https://github.com/CrazyIvan359/mqttany/blob/master/requirements/mqttany.txt

to read

typing
pyyaml>=5.1.2,<=6.0.2
yamlloader>=0.5.5,<1.0
colorlog>=4.2.1,<5.0
mprop>=0.17.0,<1.0
Adafruit-PlatformDetect>=3.0,<4.0
python-periphery>=2.1.0,<3.0

With regards to mprop, I know you have this ticket kicking around https://github.com/CrazyIvan359/mqttany/issues/126 but the above is probably a quick fix while you look at the longer term options.

Cheers