Hello community,

here is the log from the commit of package python-raet for openSUSE:Factory 
checked in at 2015-03-27 09:40:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-raet (Old)
 and      /work/SRC/openSUSE:Factory/.python-raet.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-raet"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-raet/python-raet.changes  2015-02-27 
11:10:34.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-raet.new/python-raet.changes     
2015-03-27 09:40:59.000000000 +0100
@@ -1,0 +2,6 @@
+Wed Mar 25 20:05:09 UTC 2015 - [email protected]
+
+- Updated to 0.6.3
+  - Changed imports ioflo.base.nonblocking to be compat with ioflo 1.2.1
+  
+-------------------------------------------------------------------

Old:
----
  raet-0.6.1.tar.gz

New:
----
  raet-0.6.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-raet.spec ++++++
--- /var/tmp/diff_new_pack.L0MdsD/_old  2015-03-27 09:40:59.000000000 +0100
+++ /var/tmp/diff_new_pack.L0MdsD/_new  2015-03-27 09:40:59.000000000 +0100
@@ -16,7 +16,7 @@
 #
 
 Name:           python-raet
-Version:        0.6.1
+Version:        0.6.3
 Release:        0
 License:        Apache-2.0
 Summary:        Reliable Asynchronous Event Transport protocol

++++++ raet-0.6.1.tar.gz -> raet-0.6.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/raet-0.6.1/PKG-INFO new/raet-0.6.3/PKG-INFO
--- old/raet-0.6.1/PKG-INFO     2015-02-12 23:46:16.000000000 +0100
+++ new/raet-0.6.3/PKG-INFO     2015-03-10 22:50:59.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: raet
-Version: 0.6.1
+Version: 0.6.3
 Summary: Reliable Asynchronous Event Transport protocol
 Home-page: https://github.com/saltstack/raet
 Author: Samuel M. Smith
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/raet-0.6.1/raet/__init__.py 
new/raet-0.6.3/raet/__init__.py
--- old/raet-0.6.1/raet/__init__.py     2014-06-18 17:35:34.000000000 +0200
+++ new/raet-0.6.3/raet/__init__.py     2015-03-03 20:02:20.000000000 +0100
@@ -7,9 +7,9 @@
 
 __all__ = ['raeting', 'nacling', 'keeping', 'lotting', 'stacking', 'road', 
'lane']
 
-import  importlib
+import importlib
 for m in __all__:
     importlib.import_module(".{0}".format(m), package='raet')
 
 # Load the package metadata
-from raet.__metadata__ import *
+from raet.__metadata__ import *  # pylint: disable=wildcard-import
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/raet-0.6.1/raet/__metadata__.py 
new/raet-0.6.3/raet/__metadata__.py
--- old/raet-0.6.1/raet/__metadata__.py 2015-02-12 23:29:54.000000000 +0100
+++ new/raet-0.6.3/raet/__metadata__.py 2015-03-10 21:06:31.000000000 +0100
@@ -2,7 +2,7 @@
 Raet package metadata
 '''
 
-__version_info__ = (0, 6, 1)
+__version_info__ = (0, 6, 3)
 __version__ = '{0}.{1}.{2}'.format(*__version_info__)
 __author__ = "Samuel M. Smith"
 __license__ = "Apache2"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/raet-0.6.1/raet/flo/test/test_behaving.py 
new/raet-0.6.3/raet/flo/test/test_behaving.py
--- old/raet-0.6.1/raet/flo/test/test_behaving.py       2015-02-02 
21:13:49.000000000 +0100
+++ new/raet-0.6.3/raet/flo/test/test_behaving.py       2015-03-03 
20:02:20.000000000 +0100
@@ -9,7 +9,6 @@
 else:
     import unittest
 
-import os
 from collections import deque
 
 from ioflo.test import testing
@@ -17,16 +16,20 @@
 console = getConsole()
 
 # Import raet libs
+# pylint: disable=wildcard-import,unused-wildcard-import,redefined-builtin
 from raet.abiding import *  # import globals
-from raet.flo import behaving
+# pylint: enable=wildcard-import,unused-wildcard-import,redefined-builtin
 from raet.road import stacking
 
+
 def setUpModule():
     console.reinit(verbosity=console.Wordage.concise)
 
+
 def tearDownModule():
     pass
 
+
 class BasicTestCase(testing.FrameIofloTestCase):
     """
     Example TestCase
@@ -56,7 +59,7 @@
         self.resolve()  # resolve House, Framer, Frame, Acts, Actors
         self.assertDictEqual(act.actor.Ioinits,
                              {
-                                'txmsgs': {'ipath': 'txmsgs','ival': 
deque([])},
+                                'txmsgs': {'ipath': 'txmsgs', 'ival': 
deque([])},
                                 'local': {'ipath': 'local', 'ival': {'uid': 
None,
                                         'auto': 1, 'basedirpath': 
'/tmp/raet/keep',
                                         'host': '0.0.0.0', 'sigkey': None,
@@ -87,14 +90,16 @@
     suite = unittest.TestSuite([test])
     unittest.TextTestRunner(verbosity=2).run(suite)
 
+
 def runSome():
     """ Unittest runner """
-    tests =  []
+    tests = []
     names = ['testRaetRoadStack', ]
-    tests.extend(map(BasicTestCase, names))
+    tests.extend(map(BasicTestCase, names))  # pylint: disable=bad-builtin
     suite = unittest.TestSuite(tests)
     unittest.TextTestRunner(verbosity=2).run(suite)
 
+
 def runAll():
     """ Unittest runner """
     suite = unittest.TestSuite()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/raet-0.6.1/raet/lane/stacking.py 
new/raet-0.6.3/raet/lane/stacking.py
--- old/raet-0.6.1/raet/lane/stacking.py        2015-02-12 21:59:46.000000000 
+0100
+++ new/raet-0.6.3/raet/lane/stacking.py        2015-03-10 20:59:30.000000000 
+0100
@@ -25,6 +25,7 @@
 # Import ioflo libs
 from ioflo.base.odicting import odict
 from ioflo.base import aiding
+from ioflo.base import nonblocking
 from ioflo.base import storing
 
 # Import raet libs
@@ -84,10 +85,10 @@
         '''
 
         if not sys.platform == 'win32':
-            server = aiding.SocketUxdNb(ha=self.ha,
+            server = nonblocking.SocketUxdNb(ha=self.ha,
                                 bufsize=raeting.UXD_MAX_PACKET_SIZE * 
self.bufcnt)
         else:
-            server = aiding.WinMailslotNb(ha=self.ha,
+            server = nonblocking.WinMailslotNb(ha=self.ha,
                                 bufsize=raeting.UXD_MAX_PACKET_SIZE * 
self.bufcnt)
         return server
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/raet-0.6.1/raet/nacling.py 
new/raet-0.6.3/raet/nacling.py
--- old/raet-0.6.1/raet/nacling.py      2015-02-05 05:44:03.000000000 +0100
+++ new/raet-0.6.3/raet/nacling.py      2015-03-03 20:02:20.000000000 +0100
@@ -10,27 +10,28 @@
 import six
 import libnacl
 
-# Import Cryptographic libs
-import warnings
-
-
 from ioflo.base.consoling import getConsole
 console = getConsole()
 
 # Import raet libs
+# pylint: disable=wildcard-import,unused-wildcard-import,redefined-builtin
 from .abiding import *  # import globals
+# pylint: enable=wildcard-import,unused-wildcard-import,redefined-builtin
 from . import encoding
 
+
 class CryptoError(Exception):
     """
     Base exception for all nacl related errors
     """
 
+
 class BadSignatureError(CryptoError):
     """
     Raised when the signature was forged or otherwise corrupt.
     """
 
+
 class EncryptedMessage(six.binary_type):
     """
     A bytes subclass that holds a messaged that has been encrypted by a
@@ -58,6 +59,7 @@
         """
         return self._ciphertext
 
+
 class StringFixer(object):
     '''
     Python 3 support
@@ -68,6 +70,7 @@
         else:
             return self.__bytes__()
 
+
 class PublicKey(encoding.Encodable, StringFixer, object):
     """
     The public key counterpart to an Curve25519 :class:`PrivateKey`
@@ -91,6 +94,7 @@
     def __bytes__(self):
         return self._public_key
 
+
 class PrivateKey(encoding.Encodable, StringFixer, object):
     """
     Private key for decrypting messages using the Curve25519 algorithm.
@@ -134,6 +138,7 @@
         """
         return cls(libnacl.randombytes(PrivateKey.SIZE), 
encoder=encoding.RawEncoder)
 
+
 class Box(encoding.Encodable, StringFixer, object):
     """
     The Box class boxes and unboxes messages between a pair of keys
@@ -242,6 +247,7 @@
 
         return plaintext
 
+
 class SignedMessage(six.binary_type):
     """
     A bytes subclass that holds a messaged that has been signed by a
@@ -393,7 +399,7 @@
     '''
     def __init__(self, key=None):
         if key:
-            if not isinstance(key, SigningKey): #not key so seed to regenerate
+            if not isinstance(key, SigningKey):  # not key so seed to 
regenerate
                 if len(key) == 32:
                     key = SigningKey(seed=key, encoder=encoding.RawEncoder)
                 else:
@@ -401,8 +407,8 @@
         else:
             key = SigningKey.generate()
         self.key = key
-        self.keyhex = self.key.encode(encoding.HexEncoder) #seed
-        self.keyraw = self.key.encode(encoding.RawEncoder) #seed
+        self.keyhex = self.key.encode(encoding.HexEncoder)  # seed
+        self.keyraw = self.key.encode(encoding.RawEncoder)  # seed
         self.verhex = self.key.verify_key.encode(encoding.HexEncoder)
         self.verraw = self.key.verify_key.encode(encoding.RawEncoder)
 
@@ -418,6 +424,7 @@
         '''
         return self.key.sign(msg).signature
 
+
 class Verifier(object):
     '''
     Used to verify messages with nacl digital signature
@@ -449,6 +456,7 @@
             return False
         return True
 
+
 class Publican(object):
     '''
     Container to manage remote nacl public key
@@ -470,6 +478,7 @@
             self.keyhex = ''
             self.keyraw = ''
 
+
 class Privateer(object):
     '''
     Container for local nacl key pair
@@ -559,9 +568,9 @@
     '''
     size = max(int(size), 16)
     if sys.platform == 'win32':
-        front = ns2b("{0:0x}".format(int(time.clock() * 1000000))) # 
microseconds
+        front = ns2b("{0:0x}".format(int(time.clock() * 1000000)))  # 
microseconds
     else:
-        front = ns2b("{0:0x}".format(int(time.time() * 1000000))) # 
microseconds
+        front = ns2b("{0:0x}".format(int(time.time() * 1000000)))  # 
microseconds
     extra = size - len(front)
     back = binascii.hexlify(libnacl.randombytes(extra // 2 + extra % 2))
     return ((front + back)[:size]).decode(encoding='ISO-8859-1')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/raet-0.6.1/raet/raeting.py 
new/raet-0.6.3/raet/raeting.py
--- old/raet-0.6.1/raet/raeting.py      2015-02-12 21:59:46.000000000 +0100
+++ new/raet-0.6.3/raet/raeting.py      2015-03-03 20:02:20.000000000 +0100
@@ -88,16 +88,9 @@
 
 '''
 
-# pylint: skip-file
 # pylint: disable=C0103
 
 # Import python libs
-from collections import Mapping
-try:
-    import simplejson as json
-except ImportError:
-    import json
-
 import struct
 import enum
 
@@ -105,26 +98,28 @@
 from ioflo.base.odicting import odict
 
 # Import raet libs
+# pylint: disable=wildcard-import,unused-wildcard-import,redefined-builtin
 from .abiding import *  # import globals
+# pylint: enable=wildcard-import,unused-wildcard-import,redefined-builtin
 
 # Used to comput session id wrap around where valid sid is >= modulo N given by
 # (((new - old) % 0x100000000) < (0x100000000 // 2))
 # N//2 = 0x80000000
-SID_WRAP_MODULO = 0x100000000 # session id wraps modulo N = 2^32 = 0x100000000
-SID_WRAP_DELTA = 0x80000000 # session id >= delta at N//2 = 0x80000000
-SID_ROLLOVER= 0xffffffff # session id rolls over at modulo (N-1) -= 2^32 -1 = 
0xffffffff
+SID_WRAP_MODULO = 0x100000000  # session id wraps modulo N = 2^32 = 0x100000000
+SID_WRAP_DELTA = 0x80000000    # session id >= delta at N//2 = 0x80000000
+SID_ROLLOVER = 0xffffffff      # session id rolls over at modulo (N-1) -= 2^32 
-1 = 0xffffffff
 
 RAET_PORT = 7530
 RAET_TEST_PORT = 7531
 DEFAULT_SRC_HOST = ''
 DEFAULT_DST_HOST = '127.0.0.1'
 
-UDP_MAX_DATAGRAM_SIZE = (2 ** 16) - 1 # 65535
+UDP_MAX_DATAGRAM_SIZE = (2 ** 16) - 1  # 65535
 UDP_MAX_SAFE_PAYLOAD = 548  # IPV4 MTU 576 - udp headers 28
 # IPV6 MTU is 1280 but headers are bigger
-UDP_MAX_PACKET_SIZE = min(1024, UDP_MAX_DATAGRAM_SIZE) # assumes IPV6 capable 
equipment
-UXD_MAX_PACKET_SIZE = (2 ** 16) - 1 # 65535
-MAX_SEGMENT_COUNT = (2 ** 16) - 1 # 65535
+UDP_MAX_PACKET_SIZE = min(1024, UDP_MAX_DATAGRAM_SIZE)  # assumes IPV6 capable 
equipment
+UXD_MAX_PACKET_SIZE = (2 ** 16) - 1  # 65535
+MAX_SEGMENT_COUNT = (2 ** 16) - 1  # 65535
 MAX_MESSAGE_SIZE = min(67107840, UDP_MAX_PACKET_SIZE * MAX_SEGMENT_COUNT)
 MAX_HEAD_SIZE = 255
 
@@ -135,12 +130,13 @@
 VERSION_NAMES = odict((v, k) for k, v in VERSIONS.iteritems())
 VERSION = VERSIONS.values()[0]
 
-HELLO_PACKER = struct.Struct('!64s32s80s24s') #curvecp allow trans bodies
+HELLO_PACKER = struct.Struct('!64s32s80s24s')  # curvecp allow trans bodies
 COOKIESTUFF_PACKER = struct.Struct('!32sLL24s')
 COOKIE_PACKER = struct.Struct('!80s24s')
 INITIATESTUFF_PACKER = struct.Struct('!32s48s24s128s')
 INITIATE_PACKER = struct.Struct('!32s24s248s24s')
 
+
 @enum.unique
 class HeadKind(enum.IntEnum):
     '''
@@ -275,6 +271,7 @@
     json = 0
     pack = 1
 
+
 # head fields that may be included in packet header if not default value
 PACKET_DEFAULTS = odict([
                             ('sh', DEFAULT_SRC_HOST),
@@ -385,6 +382,7 @@
 
 PAGE_FIELDS = ['ri', 'vn', 'pk', 'sn', 'dn', 'si', 'bi', 'pn', 'pc']
 
+
 class RaetError(Exception):
     '''
     Exceptions in RAET Protocol processing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/raet-0.6.1/raet/road/stacking.py 
new/raet-0.6.3/raet/road/stacking.py
--- old/raet-0.6.1/raet/road/stacking.py        2015-02-12 21:59:46.000000000 
+0100
+++ new/raet-0.6.3/raet/road/stacking.py        2015-03-10 20:59:57.000000000 
+0100
@@ -24,6 +24,7 @@
 # Import ioflo libs
 from ioflo.base.odicting import odict
 from ioflo.base import aiding
+from ioflo.base import nonblocking
 from ioflo.base import storing
 
 # Import raet libs
@@ -187,7 +188,7 @@
         '''
         Create local listening server for stack
         '''
-        server = aiding.SocketUdpNb(ha=self.ha,
+        server = nonblocking.SocketUdpNb(ha=self.ha,
                         bufsize=raeting.UDP_MAX_PACKET_SIZE * self.bufcnt)
         return server
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/raet-0.6.1/raet/test/__init__.py 
new/raet-0.6.3/raet/test/__init__.py
--- old/raet-0.6.1/raet/test/__init__.py        2015-02-05 05:44:03.000000000 
+0100
+++ new/raet-0.6.3/raet/test/__init__.py        2015-03-03 20:02:20.000000000 
+0100
@@ -36,7 +36,7 @@
 
     console.terse("\nRunning all RAET tests in '{0}', starting at 
'{1}'\n".format(top, start))
     loader = unittest.TestLoader()
-    suite = loader.discover(start, 'test_*.py', top )
+    suite = loader.discover(start, 'test_*.py', top)
     unittest.TextTestRunner(verbosity=2).run(suite)
 
 if __name__ == "__main__":
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/raet-0.6.1/raet.egg-info/PKG-INFO 
new/raet-0.6.3/raet.egg-info/PKG-INFO
--- old/raet-0.6.1/raet.egg-info/PKG-INFO       2015-02-12 23:46:07.000000000 
+0100
+++ new/raet-0.6.3/raet.egg-info/PKG-INFO       2015-03-10 22:50:48.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: raet
-Version: 0.6.1
+Version: 0.6.3
 Summary: Reliable Asynchronous Event Transport protocol
 Home-page: https://github.com/saltstack/raet
 Author: Samuel M. Smith
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/raet-0.6.1/raet.egg-info/requires.txt 
new/raet-0.6.3/raet.egg-info/requires.txt
--- old/raet-0.6.1/raet.egg-info/requires.txt   2015-02-12 23:46:07.000000000 
+0100
+++ new/raet-0.6.3/raet.egg-info/requires.txt   2015-03-10 22:50:48.000000000 
+0100
@@ -1,4 +1,4 @@
-ioflo>=1.1.7
+ioflo>=1.2.1
 libnacl>=1.4.0
 six>=1.6.1
 enum34>=1.0.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/raet-0.6.1/setup.py new/raet-0.6.3/setup.py
--- old/raet-0.6.1/setup.py     2015-02-12 21:59:46.000000000 +0100
+++ new/raet-0.6.3/setup.py     2015-03-10 21:06:24.000000000 +0100
@@ -31,7 +31,7 @@
 # Load the metadata using exec() in order not to trigger raet.__init__ import
 exec(compile(open(RAET_METADATA).read(), RAET_METADATA, 'exec'))
 
-REQUIREMENTS = ['ioflo>=1.1.7',
+REQUIREMENTS = ['ioflo>=1.2.1',
                 'libnacl>=1.4.0',
                 'six>=1.6.1', ]
 

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to