Created attachment 1348694 [details] IPv6 support patch Description of problem: Existing version of stomp.py package (3.1.6) doesn't support IPv6. Version-Release number of selected component (if applicable): 3.1.6 How reproducible: conn = stomp.Connection([(some_ipv6_address, 61616)], 'user', 'pass') conn.start() conn.connect(wait=True) conn.send(message='HelloWorld', destination='/topic/helloworld') Actual results: "WARNING:stomp.py:Could not connect to host #IP#, port #port#: [Errno -9] Address family for hostname not supported" Additional info: Patch is available as an attachment.
Do you have a link to the upstream commit. I realise you had to rework it to isolate this one thing.
Here is a commit: https://github.com/jasonrbriggs/stomp.py/commit/bf678a204f56ddd99ae3f26fbb386dd1205e63e0 However, those are changes on top of version 4.1.5 (check a parent commit: 0444dc7). In the given commit (bf678a204) they introduced compatibility layer for Python 2.5 and Python 2.6+. The patch is made by extracting only changes from compatibility layer for Python 2.6+.
stomppy-3.1.6-2.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-eb67f4aebb
stomppy-3.1.6-3.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-ce93b28876
stomppy-3.1.6-3.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
stomppy-3.1.6-2.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.