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

azure-iot-device v2.13.0 does not support paho-mqtt v2.0.0 #1175

Closed
smijatovic opened this issue Mar 5, 2024 · 2 comments
Closed

azure-iot-device v2.13.0 does not support paho-mqtt v2.0.0 #1175

smijatovic opened this issue Mar 5, 2024 · 2 comments
Assignees
Labels

Comments

@smijatovic
Copy link

Installing python paho-mqtt version 2.0.0 caused a conflict with the latest (current date: 05032024) azure-iot-device version 2.13.0.

ERROR: Cannot install azure-iot-device==2.13.0, testenv because these package versions have conflicting dependencies.

The conflict is caused by:
    testenv 0.0.1 depends on paho-mqtt==2.0.0
    azure-iot-device 2.13.0 depends on paho-mqtt<2.0.0 and >=1.6.1
    testenv 0.0.1 depends on paho-mqtt==2.0.0
    azure-iot-device 2.12.0 depends on paho-mqtt<2.0.0 and >=1.6.1

paho-mqtt version 2.0.0 was released on the 10th february 2024 and is currently (current date: 05032024) the latest supported version.

@smijatovic smijatovic added the bug label Mar 5, 2024
@cartertinney
Copy link
Member

Currently we don't support version 2.0 of Paho. We might be able to at some point, but for now this is a backlog item. Is it possible for you to use 1.x instead?

@cartertinney cartertinney self-assigned this Mar 6, 2024
@smijatovic
Copy link
Author

Hi, thank you for the answer. paho-mqtt v2.0 offers more property functions to access protected variables and the static values are abstracted in enums which increases the readability but I refactored my code to v1.6 and it works too. There are no breaking changes which are required for me between the two versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants