Fix a constant name 53/1053/1
authorTommy Carpenter <tc677g@att.com>
Wed, 2 Oct 2019 14:52:14 +0000 (10:52 -0400)
committerTommy Carpenter <tc677g@att.com>
Wed, 2 Oct 2019 14:52:21 +0000 (10:52 -0400)
Change-Id: I0f8f53b2f8debd68ae74acb732cfe577aa725235
Signed-off-by: Tommy Carpenter <tc677g@att.com>
src/bindings/rmr-python/docs/Changelog.rst
src/bindings/rmr-python/rmr/rmr.py
src/bindings/rmr-python/setup.py

index 721143b..b565641 100644 (file)
@@ -7,6 +7,21 @@ The format is based on `Keep a Changelog <http://keepachangelog.com/>`__
 and this project adheres to `Semantic
 Versioning <http://semver.org/>`__.
 
+
+[0.13.2] - 10/2/2019
+--------------------
+
+::
+
+    * Fix a constant name (RMRFL_MT_CALL)
+
+[0.13.1] - 10/1/2019
+--------------------
+
+::
+
+    * Correct unit test bug in rmr-python. With RMR 1.8.x connections are forced to be asynch by default to prevent kubernetes blocking the attempt for minutes. However, the asynch nature of connections makes unit tests concerned with the ability to send and receive messages non-deterministic as some connections are established before the first message is sent, and others are not. This change ensures that unit tests establish connections in a synchronous manner which ensures that the first send will not be rejected by NNG due to a pending connection.
+
 [0.13.0] - 9/27/2019
 --------------------
 
@@ -14,7 +29,7 @@ Versioning <http://semver.org/>`__.
    * Add a helpers module to provide extensions and helper functions such as receive all queued messages.
    * Enhance unit test to check only for RMR constants which are needed.
    * Correct unprintable characters in documentation.
-   
+
 
 [0.12.0] - 8/23/2019
 --------------------
index 00f6e71..8c9ff5a 100644 (file)
@@ -69,7 +69,7 @@ def _get_mapping_dict(cache={}):
     RMR_ERR_TIMEOUT     12  message processing call timed out
     RMR_ERR_UNSET       13  the message hasn't been populated with a transport buffer
     RMR_ERR_TRUNC       14  received message likely truncated
-    RMR_ERR_INITFAILED  15  initialisation of something (probably message) failed
+    RMR_ERR_INITFAILED  15  initialization of something (probably message) failed
 
     """
     if cache:
@@ -105,11 +105,9 @@ _RCONST = _get_constants()
 # TODO: Are there others that will be useful?
 
 RMR_MAX_RCV_BYTES = _RCONST["RMR_MAX_RCV_BYTES"]
-
-RMRFL_NONE = _RCONST.get("RMRFL_MTCALL", 0x02)   # initialisation flags
+RMRFL_MTCALL = _RCONST.get("RMRFL_MTCALL", 0x02)  # initialization flags
 RMRFL_NONE = _RCONST.get("RMRFL_NONE", 0x0)
-
-RMR_OK = _RCONST["RMR_OK"]                        # useful state constants
+RMR_OK = _RCONST["RMR_OK"]  # useful state constants
 RMR_ERR_TIMEOUT = _RCONST["RMR_ERR_TIMEOUT"]
 RMR_ERR_RETRY = _RCONST["RMR_ERR_RETRY"]
 
index 59368d4..c1b3148 100644 (file)
@@ -32,7 +32,7 @@ def _long_descr():
 
 setup(
     name="rmr",
-    version="0.13.1",
+    version="0.13.2",
     packages=find_packages(),
     author="Tommy Carpenter, E. Scott Daniels",
     description="Python wrapper for RIC RMR",