Description of problem:
- the current stomppy version available is 3.1.6. The major release 4 was already released and it seems not to be completely backward compatible. Example: the "connect" method.
Version-Release number of selected component (if applicable):
Version : 3.1.6
Release : 2.el7
Just execute the following steps with both the current stomppy version and then 4.*
Steps to Reproduce:
1. import stomp
2. conn = stomp.Connection([(url, port)])
With the current 3.* version:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: connect() takes at most 2 arguments (3 given)
Your example demonstrates it is not forward compatible.
version 4.0 states it's not backwards compatible so as a simple upgrade
within EPEL this is not possible unless there is a super good reason.
Do you actually need stomp version 1.2 which is the only new feature,
can you not just use the version 3 construct?
If still needed can looking at doing a new stomppy4 package.
I can work around then for this use case.
But nevertheless the upgrade/new package should be at some point right?
Not within the life time of RHEL7, RHEL8 will have the latest.
Unless a good reason or the existing one is so broken that it's
easier to blast it away and start again but we are not in that category