Hello community,

here is the log from the commit of package python-eliot for openSUSE:Factory 
checked in at 2019-08-13 13:17:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-eliot (Old)
 and      /work/SRC/openSUSE:Factory/.python-eliot.new.9556 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-eliot"

Tue Aug 13 13:17:53 2019 rev:4 rq:722150 version:1.10.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-eliot/python-eliot.changes        
2019-06-12 13:13:06.412891694 +0200
+++ /work/SRC/openSUSE:Factory/.python-eliot.new.9556/python-eliot.changes      
2019-08-13 13:17:57.277468357 +0200
@@ -1,0 +2,6 @@
+Fri Aug  9 13:19:42 UTC 2019 - Marketa Calabkova <[email protected]>
+
+- update to 1.10.0
+  * Eliot works with Dask 2.0.
+
+-------------------------------------------------------------------

Old:
----
  python-eliot-1.9.0.tar.gz

New:
----
  python-eliot-1.10.0.tar.gz

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

Other differences:
------------------
++++++ python-eliot.spec ++++++
--- /var/tmp/diff_new_pack.QsYuR4/_old  2019-08-13 13:17:57.837468228 +0200
+++ /var/tmp/diff_new_pack.QsYuR4/_new  2019-08-13 13:17:57.837468228 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-eliot
-Version:        1.9.0
+Version:        1.10.0
 Release:        0
 Summary:        A logging system that tells the user why something happened
 License:        Apache-2.0

++++++ python-eliot-1.9.0.tar.gz -> python-eliot-1.10.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/eliot-1.9.0/.dir-locals.el 
new/eliot-1.10.0/.dir-locals.el
--- old/eliot-1.9.0/.dir-locals.el      2019-05-20 19:51:20.000000000 +0200
+++ new/eliot-1.10.0/.dir-locals.el     2019-07-22 20:10:08.000000000 +0200
@@ -1 +1,2 @@
-((python-mode . ((blacken-mode))))
+((python-mode . ((eval . (blacken-mode 1)))))
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/eliot-1.9.0/docs/source/news.rst 
new/eliot-1.10.0/docs/source/news.rst
--- old/eliot-1.9.0/docs/source/news.rst        2019-05-20 19:51:20.000000000 
+0200
+++ new/eliot-1.10.0/docs/source/news.rst       2019-07-22 20:10:08.000000000 
+0200
@@ -1,12 +1,20 @@
 What's New
 ==========
 
+1.10.0
+^^^^^^
+
+Bug fixes:
+
+* ``@eliot.testing.capture_logging`` now passes ``*args`` and ``**kwargs`` to 
the wrapped function, as one would expect. Fixes #420. Thanks to Jean-Paul 
Calderone for the bug report.
+* Eliot works with Dask 2.0. Thanks to Dan Myung for the bug report.
+
 1.9.0
 ^^^^^
 
 Deprecation:
 
-* Python versions older than 3.5.3, e.g. the 3.5.2 on Ubuntu Xenial, don't 
work with Eliot, so added a more informative error message explaining that. 
Fixes #418.
+* Python versions older than 3.5.3, e.g. the 3.5.2 on Ubuntu Xenial, don't 
work with Eliot, so added a more informative error message explaining that. 
Fixes #418. Thanks to Richard van der Hoff for the bug report.
 
 Features:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/eliot-1.9.0/eliot/_version.py 
new/eliot-1.10.0/eliot/_version.py
--- old/eliot-1.9.0/eliot/_version.py   2019-05-20 19:51:20.000000000 +0200
+++ new/eliot-1.10.0/eliot/_version.py  2019-07-22 20:10:08.000000000 +0200
@@ -22,9 +22,9 @@
     # setup.py/versioneer.py will grep for the variable names, so they must
     # each be defined on a line of their own. _version.py will just call
     # get_keywords().
-    git_refnames = " (HEAD -> master, tag: 1.9.0)"
-    git_full = "23e8f56a24e3abd2bdf08ab31035ca5b1450ca5b"
-    git_date = "2019-05-20 13:51:20 -0400"
+    git_refnames = " (tag: 1.10.0)"
+    git_full = "7a5815c54e4b89fb0cb3feeefecdc2482e953fd9"
+    git_date = "2019-07-22 14:10:08 -0400"
     keywords = {"refnames": git_refnames, "full": git_full, "date": git_date}
     return keywords
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/eliot-1.9.0/eliot/dask.py 
new/eliot-1.10.0/eliot/dask.py
--- old/eliot-1.9.0/eliot/dask.py       2019-05-20 19:51:20.000000000 +0200
+++ new/eliot-1.10.0/eliot/dask.py      2019-07-22 20:10:08.000000000 +0200
@@ -127,7 +127,7 @@
         )
         result[key] = (wrapped_func,) + tuple(args)
 
-    assert result.keys() == dsk.keys()
+    assert set(result.keys()) == set(dsk.keys())
     return result
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/eliot-1.9.0/eliot/testing.py 
new/eliot-1.10.0/eliot/testing.py
--- old/eliot-1.9.0/eliot/testing.py    2019-05-20 19:51:20.000000000 +0200
+++ new/eliot-1.10.0/eliot/testing.py   2019-07-22 20:10:08.000000000 +0200
@@ -379,7 +379,7 @@
                 swap_logger(previous_logger)
 
             self.addCleanup(cleanup)
-            return function(self, logger)
+            return function(self, *args, **kwargs)
 
         return wrapper
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/eliot-1.9.0/eliot/tests/test_testing.py 
new/eliot-1.10.0/eliot/tests/test_testing.py
--- old/eliot-1.9.0/eliot/tests/test_testing.py 2019-05-20 19:51:20.000000000 
+0200
+++ new/eliot-1.10.0/eliot/tests/test_testing.py        2019-07-22 
20:10:08.000000000 +0200
@@ -412,8 +412,7 @@
     def test_decoratedFunctionCalledWithMemoryLogger(self):
         """
         The underlying function decorated with L{validateLogging} is called 
with
-        a L{MemoryLogger} instance in addition to any other arguments if the
-        wrapper is called.
+        a L{MemoryLogger} instance.
         """
         result = []
 
@@ -426,6 +425,28 @@
         theTest.run()
         self.assertEqual(result, [(theTest, MemoryLogger)])
 
+    def test_decorated_function_passthrough(self):
+        """
+        Additional arguments are passed to the underlying function.
+        """
+        result = []
+
+        def another_wrapper(f):
+            def g(this):
+                f(this, 1, 2, c=3)
+
+            return g
+
+        class MyTest(TestCase):
+            @another_wrapper
+            @self.validate(None)
+            def test_foo(this, a, b, logger, c=None):
+                result.append((a, b, c))
+
+        theTest = MyTest("test_foo")
+        theTest.debug()
+        self.assertEqual(result, [(1, 2, 3)])
+
     def test_newMemoryLogger(self):
         """
         The underlying function decorated with L{validateLogging} is called 
with
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/eliot-1.9.0/tox.ini new/eliot-1.10.0/tox.ini
--- old/eliot-1.9.0/tox.ini     2019-05-20 19:51:20.000000000 +0200
+++ new/eliot-1.10.0/tox.ini    2019-07-22 20:10:08.000000000 +0200
@@ -20,7 +20,7 @@
 [testenv:py35-numpy]
 basepython = python3.5
 deps = numpy
-       dask[bag]
+       dask[bag]==1.2.1
 
 [testenv:py36]
 basepython = python3.6
@@ -30,6 +30,7 @@
 [testenv:py37]
 basepython = python3.7
 deps = cffi
+       dask[bag]
 
 [testenv:py35-twisted-latest]
 basepython = python3.5


Reply via email to