Hello community,

here is the log from the commit of package python-ioflo for openSUSE:Factory 
checked in at 2019-09-13 14:59:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ioflo (Old)
 and      /work/SRC/openSUSE:Factory/.python-ioflo.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ioflo"

Fri Sep 13 14:59:46 2019 rev:14 rq:730192 version:1.7.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ioflo/python-ioflo.changes        
2019-03-26 22:34:40.053673275 +0100
+++ /work/SRC/openSUSE:Factory/.python-ioflo.new.7948/python-ioflo.changes      
2019-09-13 14:59:52.257281183 +0200
@@ -1,0 +2,6 @@
+Wed Sep 11 14:42:12 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Update to 1.7.6:
+  * Some bug fixes
+
+-------------------------------------------------------------------

Old:
----
  ioflo-1.7.5.tar.gz

New:
----
  ioflo-1.7.6.tar.gz

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

Other differences:
------------------
++++++ python-ioflo.spec ++++++
--- /var/tmp/diff_new_pack.6EAgI9/_old  2019-09-13 14:59:52.901281210 +0200
+++ /var/tmp/diff_new_pack.6EAgI9/_new  2019-09-13 14:59:52.905281210 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-ioflo
-Version:        1.7.5
+Version:        1.7.6
 Release:        0
 Summary:        Python framework for programming autonomous systems
 License:        Apache-2.0
@@ -45,6 +45,9 @@
 
 %prep
 %setup -q -n ioflo-%{version}
+# invalid syntax
+rm -r ioflo/aio/http/test
+rm -r ioflo/aid/test
 
 %build
 %python_build
@@ -55,8 +58,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# The tests actually fail with syntax error, upstream should sort it out
-#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m unittest 
discover
+%pytest
 
 %files %{python_files}
 %license LICENSE* LEGAL

++++++ ioflo-1.7.5.tar.gz -> ioflo-1.7.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ioflo-1.7.5/ChangeLog.md new/ioflo-1.7.6/ChangeLog.md
--- old/ioflo-1.7.5/ChangeLog.md        2018-09-15 19:45:41.000000000 +0200
+++ new/ioflo-1.7.6/ChangeLog.md        2019-08-21 01:49:25.000000000 +0200
@@ -3,7 +3,17 @@
 -------------------
 
 --------
-20180915  Not released yet
+20190820
+--------
+
+1.7.6
+
+Some bug fixes
+
+
+
+--------
+20180915
 --------
 
 1.7.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ioflo-1.7.5/PKG-INFO new/ioflo-1.7.6/PKG-INFO
--- old/ioflo-1.7.5/PKG-INFO    2018-09-15 19:55:45.000000000 +0200
+++ new/ioflo-1.7.6/PKG-INFO    2019-08-26 21:50:16.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: ioflo
-Version: 1.7.5
+Version: 1.7.6
 Summary: Flow Based Programming Automated Reasoning Engine and Automation 
Operation System
 Home-page: https://github.com/ioflo/ioflo
 Author: Samuel M. Smith
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ioflo-1.7.5/ioflo/__metadata__.py 
new/ioflo-1.7.6/ioflo/__metadata__.py
--- old/ioflo-1.7.5/ioflo/__metadata__.py       2017-09-13 18:13:41.000000000 
+0200
+++ new/ioflo-1.7.6/ioflo/__metadata__.py       2019-08-21 02:17:48.000000000 
+0200
@@ -2,7 +2,7 @@
 Ioflo package metadata
 '''
 
-__version_info__ = (1, 7, 5)
+__version_info__ = (1, 7, 6)
 __version__ = '{0}.{1}.{2}'.format(*__version_info__)
 __author__ = "Samuel M. Smith"
 __license__ = "Apache 2.0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ioflo-1.7.5/ioflo/aio/http/serving.py 
new/ioflo-1.7.6/ioflo/aio/http/serving.py
--- old/ioflo-1.7.5/ioflo/aio/http/serving.py   2017-09-15 18:59:15.000000000 
+0200
+++ new/ioflo-1.7.6/ioflo/aio/http/serving.py   2019-08-21 06:16:47.000000000 
+0200
@@ -101,6 +101,10 @@
             if connection and "keep-alive" in connection.lower():
                 self.persisted = True
 
+        if self.persisted:  # override timeout so server never timesout
+            self.incomer.timeout =  0.0  # never timesout
+
+
     def parseHead(self):
         """
         Generator to parse headers in heading of .msg
@@ -146,7 +150,6 @@
         self.hostname = pathSplits.hostname
         self.port = pathSplits.port
         self.query = pathSplits.query  # WSGI spec leaves it quoted do not 
unquote
-        #self.query = httping.unquoteQuery(pathSplits.query)  # unquote only 
the values
         self.fragment = pathSplits.fragment
 
         leaderParser = httping.parseLeader(raw=self.msg,
@@ -316,6 +319,9 @@
         """
         Close any resources
         """
+        if not self.closed and not self.ended:
+            self.write(b'')  # in case chunked send empty chunk to terminate
+        self.ended = True
         self.closed = True
 
     def reset(self, environ, chunkable=None):
@@ -646,8 +652,18 @@
 
     def close(self):
         """
-        Call .servant.closeAll()
+        Close all reqs, reps, and ixes
+
         """
+        # start with reqs
+        for ca in list(self.reqs.keys()):  # need list as closeConnection 
deletes
+            self.closeConnection(ca)
+
+        # just in case there is an orphan rep
+        for ca in list(self.reps.keys()):  # need list as closeConnection 
deletes
+            self.closeConnection(ca)
+
+        # just in case there is an orphan ix
         self.servant.closeAll()
 
 
@@ -711,13 +727,15 @@
         """
         Close and remove connection given by ca
         """
-        self.servant.removeIx(ca)
         if ca in self.reqs:
             self.reqs[ca].close()  # this signals request parser
             del self.reqs[ca]
         if ca in self.reps:
             self.reps[ca].close()  # this signals response handler
+            if ca in self.servant.ixes:
+                self.servant.ixes[ca].serviceTxes()  #  send final bytes to 
socket
             del self.reps[ca]
+        self.servant.removeIx(ca)
 
     def serviceConnects(self):
         """
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ioflo-1.7.5/ioflo/aio/tcp/serving.py 
new/ioflo-1.7.6/ioflo/aio/tcp/serving.py
--- old/ioflo-1.7.5/ioflo/aio/tcp/serving.py    2017-08-08 22:18:19.000000000 
+0200
+++ new/ioflo-1.7.6/ioflo/aio/tcp/serving.py    2019-08-21 04:09:37.000000000 
+0200
@@ -815,7 +815,7 @@
             emsg = "Invalid connection address '{0}'".format(ca)
             raise ValueError(emsg)
         if shutclose:
-            self.ixes[ca].shutclose()
+            self.ixes[ca].shutclose()  #  alias of .close()
         del self.ixes[ca]
 
     def catRxbsIx(self, ca):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ioflo-1.7.5/ioflo/aio/udp/test/test_udping.py 
new/ioflo-1.7.6/ioflo/aio/udp/test/test_udping.py
--- old/ioflo-1.7.5/ioflo/aio/udp/test/test_udping.py   2017-08-18 
23:07:26.000000000 +0200
+++ new/ioflo-1.7.6/ioflo/aio/udp/test/test_udping.py   2019-08-26 
21:43:32.000000000 +0200
@@ -99,11 +99,13 @@
         msgIn, src = alpha.receive()
         self.assertEqual(msgOut, msgIn)
         self.assertEqual(src[1], beta.ha[1])
+        time.sleep(0.05)
 
         console.terse("Sending beta to beta\n")
         msgOut = b"beta sends to beta"
         beta.send(msgOut, beta.ha)
-        time.sleep(0.1)
+        time.sleep(0.05)
+        time.sleep(0.05)
         msgIn, src = beta.receive()
         self.assertEqual(msgOut, msgIn)
         self.assertEqual(src[1], beta.ha[1])
@@ -169,6 +171,7 @@
 
         alpha.close()
         beta.close()
+        time.sleep(0.1)
 
         beta = udping.SocketUdpNb(host="",  # any
                                   port=6102,
@@ -187,6 +190,7 @@
         self.assertEqual(src[1], beta.ha[1])
 
         beta.close()
+        time.sleep(0.1)
         self.assertIs(alpha.opened, False)
         self.assertIs(beta.opened, False)
         console.reinit(verbosity=console.Wordage.concise)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ioflo-1.7.5/ioflo.egg-info/PKG-INFO 
new/ioflo-1.7.6/ioflo.egg-info/PKG-INFO
--- old/ioflo-1.7.5/ioflo.egg-info/PKG-INFO     2018-09-15 19:55:45.000000000 
+0200
+++ new/ioflo-1.7.6/ioflo.egg-info/PKG-INFO     2019-08-26 21:50:16.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: ioflo
-Version: 1.7.5
+Version: 1.7.6
 Summary: Flow Based Programming Automated Reasoning Engine and Automation 
Operation System
 Home-page: https://github.com/ioflo/ioflo
 Author: Samuel M. Smith
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ioflo-1.7.5/setup.py new/ioflo-1.7.6/setup.py
--- old/ioflo-1.7.5/setup.py    2017-09-02 21:08:38.000000000 +0200
+++ new/ioflo-1.7.6/setup.py    2019-07-27 23:05:11.000000000 +0200
@@ -9,7 +9,8 @@
 
 $ python setup.py register sdist upload
 
-More secure to use twine to upload  $ pip3 install twine
+More secure to use twine to upload
+$ pip3 install twine
 $ python setup.py sdist
 $ twine upload dist/ioflo-1.7.2.tar.gz
 


Reply via email to