Hello community,

here is the log from the commit of package python-dill for openSUSE:Factory 
checked in at 2019-07-31 14:15:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-dill (Old)
 and      /work/SRC/openSUSE:Factory/.python-dill.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-dill"

Wed Jul 31 14:15:09 2019 rev:5 rq:718783 version:0.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-dill/python-dill.changes  2019-03-19 
09:59:06.956085528 +0100
+++ /work/SRC/openSUSE:Factory/.python-dill.new.4126/python-dill.changes        
2019-07-31 14:15:11.698807518 +0200
@@ -1,0 +2,6 @@
+Fri Jul 26 08:54:42 UTC 2019 - [email protected]
+
+- version update to 0.3.0
+  * no upstream changelog
+
+-------------------------------------------------------------------

Old:
----
  dill-0.2.9.tar.gz

New:
----
  dill-0.3.0.tar.gz

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

Other differences:
------------------
++++++ python-dill.spec ++++++
--- /var/tmp/diff_new_pack.GR0dIi/_old  2019-07-31 14:15:12.278806445 +0200
+++ /var/tmp/diff_new_pack.GR0dIi/_new  2019-07-31 14:15:12.278806445 +0200
@@ -18,21 +18,21 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-dill
-Version:        0.2.9
+Version:        0.3.0
 Release:        0
 Summary:        Module to serialize all of Python
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 URL:            https://github.com/uqfoundation/dill
 Source:         
https://files.pythonhosted.org/packages/source/d/dill/dill-%{version}.tar.gz
-BuildRequires:  %{python_module objgraph}
+BuildRequires:  %{python_module objgraph >= 1.7.2}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  python3-dbm
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
-Recommends:     python-objgraph
+Recommends:     python-objgraph >= 1.7.2
 BuildArch:      noarch
 %python_subpackages
 

++++++ dill-0.2.9.tar.gz -> dill-0.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dill-0.2.9/.coveragerc new/dill-0.3.0/.coveragerc
--- old/dill-0.2.9/.coveragerc  1970-01-01 01:00:00.000000000 +0100
+++ new/dill-0.3.0/.coveragerc  2019-06-27 00:53:35.000000000 +0200
@@ -0,0 +1,18 @@
+[run]
+# source = dill
+include = */dill/*
+omit = 
+    */tests/*
+    */info.py
+# timid = true
+# parallel = true # and need to 'combine' data files
+# concurrency = multiprocessing # thread
+# data_file = $TRAVIS_BUILD_DIR/.coverage
+# debug = trace
+
+[report]
+exclude_lines =
+    pragma: no cover
+    if __name__ == .__main__.:
+# show_missing = true
+ignore_errors = true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dill-0.2.9/.eggs/README.txt 
new/dill-0.3.0/.eggs/README.txt
--- old/dill-0.2.9/.eggs/README.txt     1970-01-01 01:00:00.000000000 +0100
+++ new/dill-0.3.0/.eggs/README.txt     2019-06-27 01:01:35.000000000 +0200
@@ -0,0 +1,6 @@
+This directory contains eggs that were downloaded by setuptools to build, 
test, and run plug-ins.
+
+This directory caches those eggs to prevent repeated downloads.
+
+However, it is safe to delete this directory.
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dill-0.2.9/.travis.yml new/dill-0.3.0/.travis.yml
--- old/dill-0.2.9/.travis.yml  2019-01-21 17:56:20.000000000 +0100
+++ new/dill-0.3.0/.travis.yml  2019-06-27 00:53:35.000000000 +0200
@@ -7,48 +7,83 @@
         - python: '2.5'
           dist: trusty
           sudo: false
+          env:
+
         - python: '2.6'
           dist: trusty
           sudo: false
+          env:
+
         - python: '2.7'
           dist: trusty
           sudo: false
+          env:
+            - COVERAGE="true"
+            - NUMPY="true"
+
         - python: '3.1'
           dist: trusty
           sudo: false
+          env:
+
         - python: '3.2'
           dist: trusty
           sudo: false
+          env:
+
         - python: '3.3'
           dist: trusty
           sudo: false
+          env:
+
         - python: '3.4'
           dist: trusty
           sudo: false
+          env:
+
         - python: '3.5'
           dist: trusty
           sudo: false
+          env:
+            - COVERAGE="true"
+
         - python: '3.6'
           dist: trusty
           sudo: false
+          env:
+
         - python: '3.7'
           dist: xenial
           sudo: true
+          env:
+
+        - python: '3.8-dev'
+          dist: xenial
+          sudo: true
+          env:
+
         - python: 'nightly'
           dist: xenial
           sudo: true
+          env:
+
         - python: 'pypy'
           dist: trusty
           sudo: false
+          env:
+
         - python: 'pypy3'
           dist: trusty
           sudo: false
+          env:
+
     allow_failures:
         - python: '2.5'
         - python: '2.6'
         - python: '3.1'
         - python: '3.2'
         - python: '3.3'
+        - python: '3.8-dev'
         - python: 'nightly'
         - python: 'pypy3'
     fast_finish: true
@@ -58,9 +93,15 @@
 
 before_install:
     - set -e  # fail on any error
+    - if [[ $COVERAGE == "true" ]]; then pip install coverage; fi
+    - if [[ $NUMPY == "true" ]]; then pip install numpy; fi
 
 install:
     - python setup.py build && python setup.py install
 
 script:
-    - for test in tests/*.py; do echo $test ; python $test > /dev/null ; done
+    - for test in tests/__init__.py; do echo $test ; if [[ $COVERAGE == "true" 
]]; then coverage run -a $test > /dev/null; else python $test > /dev/null; fi ; 
done
+    - for test in tests/test_*.py; do echo $test ; if [[ $COVERAGE == "true" 
]]; then coverage run -a $test > /dev/null; else python $test > /dev/null; fi ; 
done
+
+after_success:
+    - if [[ $COVERAGE == "true" ]]; then bash <(curl -s 
https://codecov.io/bash); else echo ''; fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dill-0.2.9/README new/dill-0.3.0/README
--- old/dill-0.2.9/README       2019-01-21 18:05:30.000000000 +0100
+++ new/dill-0.3.0/README       2019-06-27 01:01:34.000000000 +0200
@@ -67,7 +67,7 @@
 Current Release
 ===============
 
-This documentation is for version ``dill-0.2.9``.
+This documentation is for version ``dill-0.3.0``.
 
 The latest released version of ``dill`` is available from:
 
@@ -96,8 +96,8 @@
 download the tarball, unzip, and run the installer::
 
     [download]
-    $ tar -xvzf dill-0.2.9.tar.gz
-    $ cd dill-0.2.9
+    $ tar -xvzf dill-0.3.0.tar.gz
+    $ cd dill-0.3.0
     $ python setup py build
     $ python setup py install
 
@@ -114,7 +114,7 @@
 
 ``dill`` requires:
 
-    - ``python``, **version >= 2.5** or **version >= 3.1**, or ``pypy``
+    - ``python``, **version >= 2.6** or **version >= 3.1**, or ``pypy``
 
 Optional requirements:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dill-0.2.9/README.md new/dill-0.3.0/README.md
--- old/dill-0.2.9/README.md    2019-01-21 17:56:19.000000000 +0100
+++ new/dill-0.3.0/README.md    2019-06-27 00:53:35.000000000 +0200
@@ -71,6 +71,8 @@
 
 
 Development Version
+[![Travis Build 
Status](https://img.shields.io/travis/uqfoundation/dill.svg?label=build&logo=travis&branch=master)](https://travis-ci.org/uqfoundation/dill)
+[![codecov](https://codecov.io/gh/uqfoundation/dill/branch/master/graph/badge.svg)](https://codecov.io/gh/uqfoundation/dill)
 -------------------
 You can get the latest development version with all the shiny new features at:
     https://github.com/uqfoundation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dill-0.2.9/dill/__diff.py 
new/dill-0.3.0/dill/__diff.py
--- old/dill-0.2.9/dill/__diff.py       2019-01-21 17:56:20.000000000 +0100
+++ new/dill-0.3.0/dill/__diff.py       2019-06-27 00:53:35.000000000 +0200
@@ -57,7 +57,10 @@
     """
     Gets all the items in a sequence or return None
     """
-    o_type = type(obj)
+    try:
+        o_type = obj.__class__
+    except AttributeError:
+        o_type = type(obj)
     hsattr = hasattr
     if o_type in cache:
         if cache[o_type]:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dill-0.2.9/dill/_dill.py new/dill-0.3.0/dill/_dill.py
--- old/dill-0.2.9/dill/_dill.py        2019-01-21 17:56:20.000000000 +0100
+++ new/dill-0.3.0/dill/_dill.py        2019-06-27 00:53:35.000000000 +0200
@@ -779,12 +779,9 @@
     return array
 
 def _create_namedtuple(name, fieldnames, modulename):
-    mod = _import_module(modulename, safe=True)
-    if mod is not None:
-        try:
-            return getattr(mod, name)
-        except:
-            pass
+    class_ = _import_module(modulename + '.' + name, safe=True)
+    if class_ is not None:
+        return class_
     import collections
     t = collections.namedtuple(name, fieldnames)
     t.__module__ = modulename
@@ -852,11 +849,22 @@
 def save_code(pickler, obj):
     log.info("Co: %s" % obj)
     if PY3:
-        args = (
-            obj.co_argcount, obj.co_kwonlyargcount, obj.co_nlocals,
-            obj.co_stacksize, obj.co_flags, obj.co_code, obj.co_consts,
-            obj.co_names, obj.co_varnames, obj.co_filename, obj.co_name,
-            obj.co_firstlineno, obj.co_lnotab, obj.co_freevars, obj.co_cellvars
+        if hasattr(obj, "co_posonlyargcount"):
+            args = (
+                obj.co_argcount, obj.co_posonlyargcount,
+                obj.co_kwonlyargcount, obj.co_nlocals, obj.co_stacksize,
+                obj.co_flags, obj.co_code, obj.co_consts, obj.co_names,
+                obj.co_varnames, obj.co_filename, obj.co_name,
+                obj.co_firstlineno, obj.co_lnotab, obj.co_freevars,
+                obj.co_cellvars
+        )
+        else:
+            args = (
+                obj.co_argcount, obj.co_kwonlyargcount, obj.co_nlocals,
+                obj.co_stacksize, obj.co_flags, obj.co_code, obj.co_consts,
+                obj.co_names, obj.co_varnames, obj.co_filename,
+                obj.co_name, obj.co_firstlineno, obj.co_lnotab,
+                obj.co_freevars, obj.co_cellvars
         )
     else:
         args = (
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dill-0.2.9/dill/_objects.py 
new/dill-0.3.0/dill/_objects.py
--- old/dill-0.2.9/dill/_objects.py     2019-01-21 17:56:20.000000000 +0100
+++ new/dill-0.3.0/dill/_objects.py     2019-06-27 00:53:35.000000000 +0200
@@ -484,7 +484,10 @@
 x['CSVDictWriterType'] = csv.DictWriter(_cstrO,{})
 # cryptographic services (CH 14)
 x['HashType'] = hashlib.md5()
-x['HMACType'] = hmac.new(_in)
+if (hex(sys.hexversion) < '0x30800a1'):
+    x['HMACType'] = hmac.new(_in)
+else:
+    x['HMACType'] = hmac.new(_in, digestmod='md5')
 # generic operating system services (CH 15)
 if HAS_CURSES: pass
     #x['CursesWindowType'] = _curwin = curses.initscr() #FIXME: messes up tty
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dill-0.2.9/dill/info.py new/dill-0.3.0/dill/info.py
--- old/dill-0.2.9/dill/info.py 2019-01-21 18:05:30.000000000 +0100
+++ new/dill-0.3.0/dill/info.py 2019-06-27 01:01:34.000000000 +0200
@@ -1,6 +1,6 @@
 # THIS FILE GENERATED FROM SETUP.PY
-this_version = '0.2.9'
-stable_version = '0.2.9'
+this_version = '0.3.0'
+stable_version = '0.3.0'
 readme = '''-----------------------------
 dill: serialize all of python
 -----------------------------
@@ -70,7 +70,7 @@
 Current Release
 ===============
 
-This documentation is for version ``dill-0.2.9``.
+This documentation is for version ``dill-0.3.0``.
 
 The latest released version of ``dill`` is available from:
 
@@ -99,8 +99,8 @@
 download the tarball, unzip, and run the installer::
 
     [download]
-    $ tar -xvzf dill-0.2.9.tar.gz
-    $ cd dill-0.2.9
+    $ tar -xvzf dill-0.3.0.tar.gz
+    $ cd dill-0.3.0
     $ python setup py build
     $ python setup py install
 
@@ -117,7 +117,7 @@
 
 ``dill`` requires:
 
-    - ``python``, **version >= 2.5** or **version >= 3.1**, or ``pypy``
+    - ``python``, **version >= 2.6** or **version >= 3.1**, or ``pypy``
 
 Optional requirements:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dill-0.2.9/dill/source.py 
new/dill-0.3.0/dill/source.py
--- old/dill-0.2.9/dill/source.py       2019-01-21 17:56:20.000000000 +0100
+++ new/dill-0.3.0/dill/source.py       2019-06-27 00:53:35.000000000 +0200
@@ -851,7 +851,7 @@
         else: # we have to "hack" a bit... and maybe be lucky
             encl = outermost(func)
             # pattern: 'func = enclosing(fobj'
-            pat = r'.*[\w\s]=\s*'+getname(encl)+'\('+getname(fobj)
+            pat = r'.*[\w\s]=\s*'+getname(encl)+'\\('+getname(fobj)
             mod = getname(getmodule(encl))
             #HACK: get file containing 'outer' function; is func there?
             lines,_ = findsource(encl)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dill-0.2.9/dill.egg-info/PKG-INFO 
new/dill-0.3.0/dill.egg-info/PKG-INFO
--- old/dill-0.2.9/dill.egg-info/PKG-INFO       2019-01-21 18:05:30.000000000 
+0100
+++ new/dill-0.3.0/dill.egg-info/PKG-INFO       2019-06-27 01:01:35.000000000 
+0200
@@ -1,12 +1,12 @@
 Metadata-Version: 1.2
 Name: dill
-Version: 0.2.9
+Version: 0.3.0
 Summary: serialize all of python
 Home-page: https://pypi.org/project/dill
 Author: Mike McKerns
 Author-email: UNKNOWN
 License: 3-clause BSD
-Download-URL: 
https://github.com/uqfoundation/dill/releases/download/dill-0.2.9/dill-0.2.9.tar.gz
+Download-URL: 
https://github.com/uqfoundation/dill/releases/download/dill-0.3.0/dill-0.3.0.tar.gz
 Description: -----------------------------
         dill: serialize all of python
         -----------------------------
@@ -76,7 +76,7 @@
         Current Release
         ===============
         
-        This documentation is for version ``dill-0.2.9``.
+        This documentation is for version ``dill-0.3.0``.
         
         The latest released version of ``dill`` is available from:
         
@@ -105,8 +105,8 @@
         download the tarball, unzip, and run the installer::
         
             [download]
-            $ tar -xvzf dill-0.2.9.tar.gz
-            $ cd dill-0.2.9
+            $ tar -xvzf dill-0.3.0.tar.gz
+            $ cd dill-0.3.0
             $ python setup py build
             $ python setup py install
         
@@ -123,7 +123,7 @@
         
         ``dill`` requires:
         
-            - ``python``, **version >= 2.5** or **version >= 3.1**, or ``pypy``
+            - ``python``, **version >= 2.6** or **version >= 3.1**, or ``pypy``
         
         Optional requirements:
         
@@ -177,7 +177,6 @@
 Classifier: Intended Audience :: Science/Research
 Classifier: License :: OSI Approved :: BSD License
 Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.5
 Classifier: Programming Language :: Python :: 2.6
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
@@ -190,4 +189,4 @@
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Topic :: Scientific/Engineering
 Classifier: Topic :: Software Development
-Requires-Python: >=2.5, !=3.0.*
+Requires-Python: >=2.6, !=3.0.*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dill-0.2.9/setup.py new/dill-0.3.0/setup.py
--- old/dill-0.2.9/setup.py     2019-01-21 17:56:19.000000000 +0100
+++ new/dill-0.3.0/setup.py     2019-06-27 00:53:35.000000000 +0200
@@ -9,8 +9,8 @@
 import os
 
 # set version numbers
-stable_version = '0.2.9'
-target_version = '0.2.9'
+stable_version = '0.3.0'
+target_version = '0.3.0'
 is_release = stable_version == target_version
 
 # check if easy_install is available
@@ -163,7 +163,7 @@
 
 ``dill`` requires:
 
-    - ``python``, **version >= 2.5** or **version >= 3.1**, or ``pypy``
+    - ``python``, **version >= 2.6** or **version >= 3.1**, or ``pypy``
 
 Optional requirements:
 
@@ -244,13 +244,12 @@
       platforms = ['Linux', 'Windows', 'Mac'],
       url = 'https://pypi.org/project/dill',
       download_url = 
'https://github.com/uqfoundation/dill/releases/download/dill-%s/dill-%s.tar.gz',
-      python_requires='>=2.5, !=3.0.*',
+      python_requires='>=2.6, !=3.0.*',
       classifiers = ['Development Status :: 5 - Production/Stable',
                      'Intended Audience :: Developers',
                      'Intended Audience :: Science/Research',
                      'License :: OSI Approved :: BSD License',
                      'Programming Language :: Python :: 2',
-                     'Programming Language :: Python :: 2.5',
                      'Programming Language :: Python :: 2.6',
                      'Programming Language :: Python :: 2.7',
                      'Programming Language :: Python :: 3',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dill-0.2.9/tests/test_check.py 
new/dill-0.3.0/tests/test_check.py
--- old/dill-0.2.9/tests/test_check.py  2019-01-21 17:56:19.000000000 +0100
+++ new/dill-0.3.0/tests/test_check.py  2019-06-27 00:53:35.000000000 +0200
@@ -6,7 +6,6 @@
 # License: 3-clause BSD.  The full license text is available at:
 #  - https://github.com/uqfoundation/dill/blob/master/LICENSE
 
-from __future__ import with_statement
 from dill import check
 import sys
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dill-0.2.9/tests/test_moduledict.py 
new/dill-0.3.0/tests/test_moduledict.py
--- old/dill-0.2.9/tests/test_moduledict.py     2019-01-21 17:56:19.000000000 
+0100
+++ new/dill-0.3.0/tests/test_moduledict.py     2019-06-27 00:53:35.000000000 
+0200
@@ -48,7 +48,7 @@
     doctest.testmod()
 
 
-if __name__ is '__main__':
+if __name__ == '__main__':
     test_decorated()
     test_normal()
     test_doctest()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dill-0.2.9/tests/test_restricted.py 
new/dill-0.3.0/tests/test_restricted.py
--- old/dill-0.2.9/tests/test_restricted.py     2019-01-21 17:56:19.000000000 
+0100
+++ new/dill-0.3.0/tests/test_restricted.py     2019-06-27 00:53:35.000000000 
+0200
@@ -23,5 +23,5 @@
     deserialized = dill.loads(dill.dumps(restricted_func, recurse=True))
 
 
-if __name__ is '__main__':
+if __name__ == '__main__':
     test_function_with_restricted_object()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dill-0.2.9/tests/test_source.py 
new/dill-0.3.0/tests/test_source.py
--- old/dill-0.2.9/tests/test_source.py 2019-01-21 17:56:19.000000000 +0100
+++ new/dill-0.3.0/tests/test_source.py 2019-06-27 00:53:35.000000000 +0200
@@ -140,9 +140,9 @@
     from numpy import array
     x = array([1,2,3])
     assert getimportable(x) == 'from numpy import array\narray([1, 2, 3])\n'
-    assert getimportable(array) == 'from numpy.core.multiarray import array\n'
+    assert getimportable(array) == 'from %s import array\n' % array.__module__
     assert getimportable(x, byname=False) == 'from numpy import 
array\narray([1, 2, 3])\n'
-    assert getimportable(array, byname=False) == 'from numpy.core.multiarray 
import array\n'
+    assert getimportable(array, byname=False) == 'from %s import array\n' % 
array.__module__
   except ImportError: pass
 
 #NOTE: if before likely_import(pow), will cause pow to throw AssertionError
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dill-0.2.9/tox.ini new/dill-0.3.0/tox.ini
--- old/dill-0.2.9/tox.ini      2019-01-21 17:56:20.000000000 +0100
+++ new/dill-0.3.0/tox.ini      2019-06-27 00:53:35.000000000 +0200
@@ -9,6 +9,7 @@
     py35
     py36
     py37
+    py38
     pypy
 #   pypy3
 


Reply via email to