{"id":1762,"date":"2024-04-21T13:44:55","date_gmt":"2024-04-21T10:14:55","guid":{"rendered":"https:\/\/mshaeri.com\/blog\/?p=1762"},"modified":"2024-08-20T13:20:19","modified_gmt":"2024-08-20T09:50:19","slug":"python-azure-iot-hub-package-issue-on-linux-and-mac-os","status":"publish","type":"post","link":"https:\/\/mshaeri.com\/blog\/python-azure-iot-hub-package-issue-on-linux-and-mac-os\/","title":{"rendered":"Python azure-iot-hub Package Issue On Linux and Mac OS"},"content":{"rendered":"\n<p>In a recent project, I faced an issue while working with <strong>azure IoT hub<\/strong>. I found that its python package <a href=\"https:\/\/pypi.org\/project\/azure-iot-hub-api\/\">azure-iot-hub<\/a> despite +200K download per month, had not received any updates for years and it depends on deprecated <a href=\"https:\/\/github.com\/Azure\/azure-uamqp-python\">azure-uamqp-python<\/a> package which fails to build on certain systems such as <a href=\"https:\/\/github.com\/ansible-collections\/azure\/issues\/1511\">Mac ARM<\/a> and <a href=\"https:\/\/github.com\/ansible-collections\/azure\/issues\/1505\">Linux ARM on Python 3.12+<\/a>. To resolve the issue, I started to develop a stopgap alternative package, as temporary solution until the <strong>azure-iot-hub<\/strong> package undergoes necessary updates.<\/p>\n\n\n\n<p>I uploaded the the package to pypi.org with <a href=\"https:\/\/pypi.org\/project\/azure-iot-hub-api\/\"><strong>azure-iot-hub-api<\/strong><\/a> name to make it available to others who might encounter similar situation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a recent project, I faced an issue while working with azure IoT hub. I found that its python package azure-iot-hub despite +200K download per &hellip; <\/p>\n","protected":false},"author":1,"featured_media":1754,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,41],"tags":[225,230,226,227,229,39],"_links":{"self":[{"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/posts\/1762"}],"collection":[{"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/comments?post=1762"}],"version-history":[{"count":2,"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/posts\/1762\/revisions"}],"predecessor-version":[{"id":1791,"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/posts\/1762\/revisions\/1791"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/media\/1754"}],"wp:attachment":[{"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/media?parent=1762"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/categories?post=1762"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/tags?post=1762"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}