Skip to content

Pinned stomp to <9 again; Other improvements for stomp - #2279

Open
andy-maier wants to merge 1 commit into
masterfrom
andy/stomp-pin-improve
Open

andy-maier wants to merge 1 commit into
masterfrom
andy/stomp-pin-improve

Conversation

@andy-maier

@andy-maier andy-maier commented Sep 12, 2026

Copy link
Copy Markdown
Member

For details, see the commit message.

I tested this with the test_auto_update.py end2end test against the HMC of B151.

The remaining issues with stomp version 9 are documented in https://codeberg.org/jasonrbriggs/stomp.py/issues/453

Note: After merging this PR, reopen the linked issue again.

@andy-maier andy-maier self-assigned this Sep 12, 2026
@andy-maier andy-maier added this to the 1.27.0 milestone Sep 12, 2026
@andy-maier andy-maier linked an issue Sep 12, 2026 that may be closed by this pull request
@andy-maier
andy-maier force-pushed the andy/stomp-pin-improve branch from 60d969e to 65f4316 Compare September 12, 2026 11:17
Details:

* Changed pinning of stomp.py from <8.3.0 to <9.0.0. The 8.3.0 version is
  meanwhile yanked, but the changes in version 9.0.0 have not yet been
  accommodated in zhmcclient.

* In preparation of future stomp version 9 support, added explicit
  enabling or disabling of certificate validation with stomp, in the
  NotificationReceiver and AutoUpdater classes.

* To check the stomp version, added a new parse_version() function to the
  zhmcclient._utils module that translates the stomp version string
  into a tuple of int values. Added unit test cases for parse_version().

* The AutoUpdater.open() method has been changed to no longer raise stomp
  exceptions directly. Such exceptions are now raised as
  zhmcclient.NotificationConnectionError. Added an incompatibility change
  log entry about that change. The other class that connects to stomp,
  NotificationReceiver already raises stomp exceptions as
  zhmcclient.NotificationConnectionError, so this is now consistent.

* Added logging before opening and closing the JMS (stomp) connection in the
  zhmcclient auto-update support, to provide context for any errors logged
  during opening and closing the connection.

Signed-off-by: Andreas Maier <maiera@de.ibm.com>
@andy-maier
andy-maier force-pushed the andy/stomp-pin-improve branch from 65f4316 to f65d2fe Compare September 12, 2026 11:33
@coveralls

Copy link
Copy Markdown
Collaborator

Coverage Status

coverage: 78.839% (-0.03%) from 78.865% — andy/stomp-pin-improve into master

@andy-maier andy-maier changed the title Pinned stop to <9 again; Other improvements for stomp Pinned stomp to <9 again; Other improvements for stomp Sep 13, 2026
@andy-maier andy-maier added the backport Create backport PR when PR gets merged label Sep 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Create backport PR when PR gets merged review needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Accommodate changes in stomp.py 9.0.0

2 participants