Comments (9)
Is ARM (Raspberry Pi specifically) "natively" supported in SDK-Python(event hub in particular, version 5.0.2b) or does it still require an independent installation of UAMQP and OpenSSL? Is this still truly an Open issue?
It is unclear to me, as OpenSSL seems to be included in Raspbian-Buster(or is it only in Debian-Buster), which is the latest version of Raspbian, so as I understand it, this should all be resolved ( another evidence is that UAMQP seems to install just fine on the pi). However, data is still not being received on my client (on the Pi).
Thank you very much for any clarification of the current situation.
from azure-uamqp-python.
@annatisch That is great. I know one of our interns was having some issues with the current python wrapper version on the Pi, and saw the comment in the docs about it being in development. I'm happy to hear it again from you :) p.s. he worked around it on th pi by sending the data from python, over a socket, to NodeJS, since the NodeJS SDK did seem to work on the Pi and then sent the telemetry up to Azure.
Long story short, I'm looking forward to the pure Python version 👍
from azure-uamqp-python.
Piwheels are already making builds for uamqp for Raspbian for Python 3.4 and 3.5:
https://www.piwheels.org/
https://www.piwheels.org/simple/uamqp/
However these packages require OpenSSL to be installed. In my tests OpenSSL seems to already be present by default. Though my tests so far have only been on docker containers rather than a real Raspberry Pi.
If your setup doesn't already have OpenSSL, you should be able to install:
$ apt-get update
$ apt-get install libssl-dev
@digimaun - it would be great if you could try this package out on actual hardware and provide some feedback here :)
In the meantime I will continue to attempt to build an ARM ready manylinux wheel.
from azure-uamqp-python.
Hi @rafwaf - If you can get the module to install on the Pi then you should be good to go.
You will know if OpenSSL is an issue if you try to import/run the library and you get some interesting errors about missing symbols.
If you're not seeing any errors, and it otherwise appears to be running, it looks like it will likely be another reason that your client isn't receiving data.
The reason for this thread it to have specific ARM wheels built. But if you're able to build directly from the sdist, that would be unnecessary :)
from azure-uamqp-python.
Thanks @annatisch . I Guess it is something else then.
Good luck with development :)
from azure-uamqp-python.
Thanks @rafwaf - I'm currently working on pure-python port of this library which will hopefully support wider platform compatibility and easier debugging for this kind of thing.
from azure-uamqp-python.
It would already help a lot if wheels were provided for ARM64, would it be much more work than adding that arch to the CI/CD pipeline?
from azure-uamqp-python.
Looks like this would mean moving from manylinux2010 to manylinux2014
from azure-uamqp-python.
Is there an update on this? It's still not possible to directly pip install azure-servicebus
on a Raspberry Pi without apparently jumping through a bunch of hoops, and that's not sustainable for RPi devices.
The strong preference here would be to not have to fight uamqp
on a RPi.
from azure-uamqp-python.
Related Issues (20)
- This repo is missing important files HOT 1
- Python 3.11 issues for uaqmp HOT 8
- 1.6.0 tag missing in git repository HOT 2
- Update Ubuntu VM to 20.04
- Disable pipeline in Github Actions
- six usage is redundant HOT 2
- Build arm64 wheels HOT 1
- LinkDetach Idle timeout after 10 minutes is printed as log warning HOT 1
- Amqp over websocket is not working and leeds to a connection error HOT 2
- Add PyPy support HOT 5
- uamqp 1.6.4 on PyPi, but not in a GitHub release HOT 2
- Version tags on Github are broken HOT 5
- Provide Python 3.12 wheels HOT 2
- Can't build on Mac OS error: command '/usr/bin/clang' failed with exit code 1 HOT 7
- Vulnerable to CVE-2024-21646? HOT 4
- Python Based AQMP Library & uAMQP Repo Status HOT 2
- Fails to build with Python 3.12
- Vulnerable to CVE-2024-25110? HOT 5
- [1.6.9] Failed building wheel for uamqp HOT 9
- Backport CVE-2024-29195 fix here as well?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-uamqp-python.