commit python-jsonpickle for openSUSE:Factory

2020-03-26 Thread root
Hello community,

here is the log from the commit of package python-jsonpickle for 
openSUSE:Factory checked in at 2020-03-27 00:23:49

Comparing /work/SRC/openSUSE:Factory/python-jsonpickle (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonpickle.new.3160 (New)


Package is "python-jsonpickle"

Fri Mar 27 00:23:49 2020 rev:7 rq:784832 version:1.3

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpickle/python-jsonpickle.changes  
2020-03-08 22:21:31.687980861 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpickle.new.3160/python-jsonpickle.changes
2020-03-27 00:23:51.064212845 +0100
@@ -1,0 +2,5 @@
+Sat Mar 14 08:25:54 UTC 2020 - Tomáš Chvátal 
+
+- Fix build without python2
+
+---



Other differences:
--
++ python-jsonpickle.spec ++
--- /var/tmp/diff_new_pack.xh8jP0/_old  2020-03-27 00:23:51.732213184 +0100
+++ /var/tmp/diff_new_pack.xh8jP0/_new  2020-03-27 00:23:51.732213184 +0100
@@ -18,12 +18,12 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define modname jsonpickle
+%bcond_without python2
 Name:   python-jsonpickle
 Version:1.3
 Release:0
 Summary:Python library for serializing any arbitrary object graph into 
JSON
 License:BSD-3-Clause
-Group:  Development/Languages/Python
 URL:https://github.com/jsonpickle/jsonpickle
 Source: 
https://files.pythonhosted.org/packages/source/j/jsonpickle/jsonpickle-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM PR292-Python38.patch gh#jsonpickle/jsonpickle#281 
mc...@suse.com
@@ -36,23 +36,22 @@
 Suggests:   python-demjson
 Suggests:   python-ujson
 Suggests:   python-yajl
+BuildArch:  noarch
 # SECTION test requirements
 BuildRequires:  %{python_module SQLAlchemy}
 BuildRequires:  %{python_module coverage}
 BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module pymongo}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  python
-BuildRequires:  python3
+BuildRequires:  %{pythons}
 # /SECTION
-# SECTION python 2 test requirements
+%if %{with python2}
 BuildRequires:  python-enum34
-# /SECTION
-# SECTION python 2 requirements
+%endif
+%ifpython2
 Suggests:   python-feedparser
 Suggests:   python-jsonlib
-BuildArch:  noarch
-# /SECTION
+%endif
 %python_subpackages
 
 %description




commit python-jsonpickle for openSUSE:Factory

2020-03-08 Thread root
Hello community,

here is the log from the commit of package python-jsonpickle for 
openSUSE:Factory checked in at 2020-03-08 22:21:24

Comparing /work/SRC/openSUSE:Factory/python-jsonpickle (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonpickle.new.26092 (New)


Package is "python-jsonpickle"

Sun Mar  8 22:21:24 2020 rev:6 rq:780358 version:1.3

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpickle/python-jsonpickle.changes  
2019-12-11 12:11:16.172585279 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpickle.new.26092/python-jsonpickle.changes
   2020-03-08 22:21:31.687980861 +0100
@@ -1,0 +2,6 @@
+Fri Feb 28 18:31:13 CET 2020 - Matej Cepl 
+
+- Add PR292-Python38.patch to fix Python 3.8 incompatibilities
+  (gh#jsonpickle/jsonpickle#281).
+
+---

Old:

  jsonpickle-1.2.tar.gz

New:

  PR292-Python38.patch
  jsonpickle-1.3.tar.gz



Other differences:
--
++ python-jsonpickle.spec ++
--- /var/tmp/diff_new_pack.7agU3T/_old  2020-03-08 22:21:32.595981421 +0100
+++ /var/tmp/diff_new_pack.7agU3T/_new  2020-03-08 22:21:32.611981431 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonpickle
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,18 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define modname jsonpickle
 Name:   python-jsonpickle
-Version:1.2
+Version:1.3
 Release:0
 Summary:Python library for serializing any arbitrary object graph into 
JSON
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 URL:https://github.com/jsonpickle/jsonpickle
 Source: 
https://files.pythonhosted.org/packages/source/j/jsonpickle/jsonpickle-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM PR292-Python38.patch gh#jsonpickle/jsonpickle#281 
mc...@suse.com
+# Fix Python 3.8 incompatibilities
+Patch01:PR292-Python38.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -57,7 +61,7 @@
 Additionally, it can reconstitute the object back into Python.
 
 %prep
-%setup -q -n jsonpickle-%{version}
+%autosetup -p1 -n %{modname}-%{version}
 
 %build
 %python_build
@@ -67,8 +71,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# Exclusions because of gh#jsonpickle/jsonpickle#281
-%pytest -k 'not (test_thing_with_fd or test_list_with_fd or test_dict_with_fd)'
+%pytest
 
 %files %{python_files}
 %doc README.rst docs/source/changelog.rst

++ PR292-Python38.patch ++
--- a/jsonpickle/handlers.py
+++ b/jsonpickle/handlers.py
@@ -10,7 +10,9 @@ A handler can be bound to other types by
 from __future__ import absolute_import, division, unicode_literals
 import copy
 import datetime
+import io
 import re
+import sys
 import threading
 import uuid
 
@@ -254,3 +256,18 @@ class LockHandler(BaseHandler):
 
 _lock = threading.Lock()
 LockHandler.handles(_lock.__class__)
+
+
+class TextIOHandler(BaseHandler):
+"""Serialize file descriptors as None because we cannot roundtrip"""
+
+def flatten(self, obj, data):
+return None
+
+def restore(self, data):
+"""Restore should never get called because flatten() returns None"""
+raise AssertionError('Restoring IO.TextIOHandler is not supported')
+
+
+if sys.version_info >= (3, 8):
+TextIOHandler.handles(io.TextIOWrapper)
--- a/requirements-dev.txt
+++ b/requirements-dev.txt
@@ -12,5 +12,5 @@ pytest
 pytest-cov
 simplejson
 sqlalchemy
-ujson
-yajl; sys_platform != 'win32'
+ujson; python_version < '3.8'
+yajl; sys_platform != 'win32' and python_version < '3.8'
++ jsonpickle-1.2.tar.gz -> jsonpickle-1.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpickle-1.2/PKG-INFO new/jsonpickle-1.3/PKG-INFO
--- old/jsonpickle-1.2/PKG-INFO 2019-05-24 07:17:33.0 +0200
+++ new/jsonpickle-1.3/PKG-INFO 2020-02-14 07:52:32.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: jsonpickle
-Version: 1.2
+Version: 1.3
 Summary: Python library for serializing any arbitrary object graph into JSON
 Home-page: https://jsonpickle.github.io/
 Author: David Aguilar
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpickle-1.2/README.rst 
new/jsonpickle-1.3/README.rst
--- old/jsonpickle-1.2/README.rst   2019-05-24 07:17:18.0 +0200
+++ new/jsonpickle-1.3/README.rst   2020-02-14 07:52:17.0 +0100
@@ -86,3 +86,45 @@
 ===
 

commit python-jsonpickle for openSUSE:Factory

2019-12-11 Thread root
Hello community,

here is the log from the commit of package python-jsonpickle for 
openSUSE:Factory checked in at 2019-12-11 12:10:05

Comparing /work/SRC/openSUSE:Factory/python-jsonpickle (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonpickle.new.4691 (New)


Package is "python-jsonpickle"

Wed Dec 11 12:10:05 2019 rev:5 rq:754492 version:1.2

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpickle/python-jsonpickle.changes  
2019-06-22 11:22:58.505308569 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpickle.new.4691/python-jsonpickle.changes
2019-12-11 12:11:16.172585279 +0100
@@ -1,0 +2,6 @@
+Thu Dec  5 18:13:07 CET 2019 - Matej Cepl 
+
+- Exclude tests failing with python 3.8 (test_thing_with_fd,
+  test_list_with_fd, and test_dict_with_fd). gh#jsonpickle/jsonpickle#281
+
+---



Other differences:
--
++ python-jsonpickle.spec ++
--- /var/tmp/diff_new_pack.H0e9Hi/_old  2019-12-11 12:11:18.572584269 +0100
+++ /var/tmp/diff_new_pack.H0e9Hi/_new  2019-12-11 12:11:18.576584268 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonpickle
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -38,6 +38,8 @@
 BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module pymongo}
 BuildRequires:  %{python_module pytest}
+BuildRequires:  python
+BuildRequires:  python3
 # /SECTION
 # SECTION python 2 test requirements
 BuildRequires:  python-enum34
@@ -65,7 +67,8 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%pytest
+# Exclusions because of gh#jsonpickle/jsonpickle#281
+%pytest -k 'not (test_thing_with_fd or test_list_with_fd or test_dict_with_fd)'
 
 %files %{python_files}
 %doc README.rst docs/source/changelog.rst




commit python-jsonpickle for openSUSE:Factory

2019-06-22 Thread root
Hello community,

here is the log from the commit of package python-jsonpickle for 
openSUSE:Factory checked in at 2019-06-22 11:22:57

Comparing /work/SRC/openSUSE:Factory/python-jsonpickle (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonpickle.new.4615 (New)


Package is "python-jsonpickle"

Sat Jun 22 11:22:57 2019 rev:4 rq:710340 version:1.2

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpickle/python-jsonpickle.changes  
2019-03-20 13:19:26.929341552 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpickle.new.4615/python-jsonpickle.changes
2019-06-22 11:22:58.505308569 +0200
@@ -1,0 +2,7 @@
+Mon Jun 17 11:54:50 UTC 2019 - Tomáš Chvátal 
+
+- Update to 1.2:
+  * support new sqlalchemy
+- Remove merged patch sqlalchemy13.patch
+
+---

Old:

  jsonpickle-1.1.tar.gz
  sqlalchemy13.patch

New:

  jsonpickle-1.2.tar.gz



Other differences:
--
++ python-jsonpickle.spec ++
--- /var/tmp/diff_new_pack.iz2PU8/_old  2019-06-22 11:22:59.121309241 +0200
+++ /var/tmp/diff_new_pack.iz2PU8/_new  2019-06-22 11:22:59.125309245 +0200
@@ -18,14 +18,13 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-jsonpickle
-Version:1.1
+Version:1.2
 Release:0
 Summary:Python library for serializing any arbitrary object graph into 
JSON
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 URL:https://github.com/jsonpickle/jsonpickle
 Source: 
https://files.pythonhosted.org/packages/source/j/jsonpickle/jsonpickle-%{version}.tar.gz
-Patch0: sqlalchemy13.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -57,7 +56,6 @@
 
 %prep
 %setup -q -n jsonpickle-%{version}
-%patch0 -p1
 
 %build
 %python_build

++ jsonpickle-1.1.tar.gz -> jsonpickle-1.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpickle-1.1/PKG-INFO new/jsonpickle-1.2/PKG-INFO
--- old/jsonpickle-1.1/PKG-INFO 2019-01-23 08:29:21.0 +0100
+++ new/jsonpickle-1.2/PKG-INFO 2019-05-24 07:17:33.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: jsonpickle
-Version: 1.1
+Version: 1.2
 Summary: Python library for serializing any arbitrary object graph into JSON
 Home-page: https://jsonpickle.github.io/
 Author: David Aguilar
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpickle-1.1/docs/source/changelog.rst 
new/jsonpickle-1.2/docs/source/changelog.rst
--- old/jsonpickle-1.1/docs/source/changelog.rst2019-01-23 
08:29:08.0 +0100
+++ new/jsonpickle-1.2/docs/source/changelog.rst2019-05-24 
07:17:18.0 +0200
@@ -1,6 +1,38 @@
 Change Log
 ==
 
+Version 1.2 - May 15, 2019
+--
+* Simplified JSON representation for `__reduce__` values.
+  (`#261 `_)
+
+* Improved Pandas support with new handlers for more Pandas data types.
+  (`#256 `_)
+
+* Prevent stack overflows caused by bugs in user-defined `__getstate__`
+  functions which cause infinite recursion.
+  (`#260 `_)
+  (`#259 `_)
+
+* Improved support for objects that contain dicts with Integer keys.
+  Previously, jsonpickle could not restore objects that contained
+  dicts with integer keys and provided getstate only.
+  These objects are now handled robustly.
+  (`#247 `_).
+
+* Support for encoding binary data in `base85`_ instead of base64 has been
+  added on Python 3. Base85 produces payloads about 10% smaller than 
base64,
+  albeit at the cost of lower throughput.  For performance and backwards
+  compatibility with Python 2 the pickler uses base64 by default, but it 
can
+  be configured to use ``base85`` with the new ``use_base85`` argument.
+  (`#251 `_).
+
+* Dynamic SQLAlchemy tables in SQLAlchemy >= 1.3 are now supported.
+  (`#254 `_).
+
+.. _base85: https://en.wikipedia.org/wiki/Ascii85
+
+
 Version 1.1 - January 22, 2019
 --
 * Python 3.7 `collections.Iterator` deprecation warnings have been fixed.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpickle-1.1/jsonpickle/backend.py 

commit python-jsonpickle for openSUSE:Factory

2019-03-20 Thread root
Hello community,

here is the log from the commit of package python-jsonpickle for 
openSUSE:Factory checked in at 2019-03-20 13:19:24

Comparing /work/SRC/openSUSE:Factory/python-jsonpickle (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonpickle.new.28833 (New)


Package is "python-jsonpickle"

Wed Mar 20 13:19:24 2019 rev:3 rq:686312 version:1.1

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpickle/python-jsonpickle.changes  
2018-12-24 11:38:51.413587081 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpickle.new.28833/python-jsonpickle.changes
   2019-03-20 13:19:26.929341552 +0100
@@ -1,0 +2,21 @@
+Tue Mar 19 08:12:54 UTC 2019 - Tomáš Chvátal 
+
+- Add patch to work with sqlalchemy 1.3:
+  * sqlalchemy13.patch
+
+---
+Fri Mar 15 13:00:30 UTC 2019 - Tomáš Chvátal 
+
+- Update to 1.1:
+  * Python 3.7 collections.Iterator deprecation warnings have been fixed. 
(#229).
+  * Improved Pandas support for datetime and complex numbers. (#245)
+  * NOTE jsonpickle no longer supports Python2.6, or Python3 < 3.4. The 
officially supported Python versions are now 2.7 and 3.4+.
+  * Improved Pandas and Numpy support. (#227)
+  * Improved support for pickling iterators. (#216)
+  * Better support for the stdlib json module when simplejson is not 
installed. (#217)
+  * jsonpickle will now output python3-style module names when pickling 
builtins methods or functions. (#223)
+  * jsonpickle will always flatten primitives, even when max_depth is reached, 
which avoids encoding unicode strings into their u'string' representation.
+  * Nested classes are now supported on Python 3. (#206, #176).
+  * Better support for older (pre-1.9) versions of numpy (#195).
+
+---

Old:

  jsonpickle-0.9.6.tar.gz

New:

  jsonpickle-1.1.tar.gz
  sqlalchemy13.patch



Other differences:
--
++ python-jsonpickle.spec ++
--- /var/tmp/diff_new_pack.BCc5w4/_old  2019-03-20 13:19:28.821341092 +0100
+++ /var/tmp/diff_new_pack.BCc5w4/_new  2019-03-20 13:19:28.821341092 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonpickle
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,30 +18,31 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-jsonpickle
-Version:0.9.6
+Version:1.1
 Release:0
-Url:http://jsonpickle.github.com/
 Summary:Python library for serializing any arbitrary object graph into 
JSON
 License:BSD-3-Clause
 Group:  Development/Languages/Python
+URL:https://github.com/jsonpickle/jsonpickle
 Source: 
https://files.pythonhosted.org/packages/source/j/jsonpickle/jsonpickle-%{version}.tar.gz
+Patch0: sqlalchemy13.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Recommends: python-simplejson
+Suggests:   python-demjson
+Suggests:   python-ujson
+Suggests:   python-yajl
 # SECTION test requirements
 BuildRequires:  %{python_module SQLAlchemy}
 BuildRequires:  %{python_module coverage}
-BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module pymongo}
+BuildRequires:  %{python_module pytest}
 # /SECTION
 # SECTION python 2 test requirements
 BuildRequires:  python-enum34
 # /SECTION
-Recommends: python-simplejson
-Suggests:   python-demjson
-Suggests:   python-ujson
-Suggests:   python-yajl
 # SECTION python 2 requirements
 Suggests:   python-feedparser
 Suggests:   python-jsonlib
@@ -56,6 +57,7 @@
 
 %prep
 %setup -q -n jsonpickle-%{version}
+%patch0 -p1
 
 %build
 %python_build
@@ -65,10 +67,10 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_expand nosetests-%{$python_bin_suffix}
+%pytest
 
 %files %{python_files}
-%doc README.rst
+%doc README.rst docs/source/changelog.rst
 %license COPYING
 %{python_sitelib}/*
 

++ jsonpickle-0.9.6.tar.gz -> jsonpickle-1.1.tar.gz ++
 3421 lines of diff (skipped)

++ sqlalchemy13.patch ++
>From 838c29e43267e3578d077698386e1adbcc0657c5 Mon Sep 17 00:00:00 2001
From: David Aguilar 
Date: Mon, 18 Mar 2019 22:32:54 -0700
Subject: [PATCH] unpickler: better support for sqlalchemy >= 1.3

The _safe_hasattr() workaround for older versions of SQLAlchemy
surprisingly breaks newer versions.

Be optimistic and catch the runtime error so that newer 

commit python-jsonpickle for openSUSE:Factory

2018-12-24 Thread root
Hello community,

here is the log from the commit of package python-jsonpickle for 
openSUSE:Factory checked in at 2018-12-24 11:38:50

Comparing /work/SRC/openSUSE:Factory/python-jsonpickle (Old)
 and  /work/SRC/openSUSE:Factory/.python-jsonpickle.new.28833 (New)


Package is "python-jsonpickle"

Mon Dec 24 11:38:50 2018 rev:2 rq:659458 version:0.9.6

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpickle/python-jsonpickle.changes  
2018-06-02 12:03:46.126429576 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpickle.new.28833/python-jsonpickle.changes
   2018-12-24 11:38:51.413587081 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:49:37 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-jsonpickle.spec ++
--- /var/tmp/diff_new_pack.muNMpz/_old  2018-12-24 11:38:52.005586555 +0100
+++ /var/tmp/diff_new_pack.muNMpz/_new  2018-12-24 11:38:52.005586555 +0100
@@ -11,8 +11,8 @@
 # case the license is the MIT License). An "Open Source License" is a
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
-#
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -25,14 +25,13 @@
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Source: 
https://files.pythonhosted.org/packages/source/j/jsonpickle/jsonpickle-%{version}.tar.gz
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module setuptools}
 # SECTION test requirements
 BuildRequires:  %{python_module SQLAlchemy}
-BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module coverage}
+BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module pymongo}
 # /SECTION