Skip to content
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

Update requirements/mqttany.txt #162

Open
glenm-nz opened this issue Oct 17, 2024 · 0 comments
Open

Update requirements/mqttany.txt #162

glenm-nz opened this issue Oct 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@glenm-nz
Copy link

glenm-nz commented Oct 17, 2024

2 issues occurred when reinstalling mqttany recently:

PIP install of pyyaml failed
I believe it's this issue here python-poetry/poetry#8287 (leading to the root cause in yaml/pyyaml#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: josiahcarlson/mprop#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

  • MQTTany version: 0.14.3
  • Ubuntu 24.10
  • Python 3.12

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 #126
but the above is probably a quick fix while you look at the longer term options.

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant