commit python-jsonpickle for openSUSE:Factory

2024-07-01 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-jsonpickle for 
openSUSE:Factory checked in at 2024-07-01 11:21:44

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


Package is "python-jsonpickle"

Mon Jul  1 11:21:44 2024 rev:18 rq:1184137 version:3.2.2

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpickle/python-jsonpickle.changes  
2024-06-19 16:41:19.115512821 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpickle.new.18349/python-jsonpickle.changes
   2024-07-01 11:22:35.659916240 +0200
@@ -1,0 +2,16 @@
+Sun Jun 30 20:34:24 UTC 2024 - Dirk Müller 
+
+- update to 3.2.2:
+  * A bug with the incorrect (de)serialization of NoneType
+objects has been fixed. (+507)
+  * tests/benchmark.py was updated to avoid Python 2 syntax.
+(+508)
+  * The unpickler was updated to avoid creating temporary
+functions. (+508)
+  * Some basic scripts have been made to analyze benchmark
+results. (+511)
+  * Fix test suite compatibility with Numpy 2.x (+512)
+  * setup.cfg was updated to use license_files instead of
+license_file.
+
+---

Old:

  jsonpickle-3.2.1.tar.gz

New:

  jsonpickle-3.2.2.tar.gz



Other differences:
--
++ python-jsonpickle.spec ++
--- /var/tmp/diff_new_pack.w65CkK/_old  2024-07-01 11:22:36.263938101 +0200
+++ /var/tmp/diff_new_pack.w65CkK/_new  2024-07-01 11:22:36.267938246 +0200
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:   python-jsonpickle
-Version:3.2.1
+Version:3.2.2
 Release:0
 Summary:Python library for serializing any arbitrary object graph into 
JSON
 License:BSD-3-Clause

++ jsonpickle-3.2.1.tar.gz -> jsonpickle-3.2.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpickle-3.2.1/.gitignore 
new/jsonpickle-3.2.2/.gitignore
--- old/jsonpickle-3.2.1/.gitignore 2024-04-06 12:12:12.0 +0200
+++ new/jsonpickle-3.2.2/.gitignore 2024-06-20 06:57:29.0 +0200
@@ -23,3 +23,6 @@
 # Local benchmarking files for Theelx
 kern*.py
 *.lprof
+benchmark-*.json
+perf.csv
+perf.svg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpickle-3.2.1/CHANGES.rst 
new/jsonpickle-3.2.2/CHANGES.rst
--- old/jsonpickle-3.2.1/CHANGES.rst2024-06-09 09:25:11.0 +0200
+++ new/jsonpickle-3.2.2/CHANGES.rst2024-06-20 07:06:23.0 +0200
@@ -1,3 +1,13 @@
+v3.2.2
+==
+* A bug with the incorrect (de)serialization of NoneType objects has been 
fixed.
+  (+507)
+* ``tests/benchmark.py`` was updated to avoid Python 2 syntax. (+508)
+* The unpickler was updated to avoid creating temporary functions. (+508)
+* Some basic scripts have been made to analyze benchmark results. (+511)
+* Fix test suite compatibility with Numpy 2.x (+512)
+* `setup.cfg` was updated to use `license_files` instead of `license_file`.
+
 v3.2.1
 ==
 * The ``ignorereserved`` parameter to the private ``_restore_from_dict()``
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpickle-3.2.1/PKG-INFO 
new/jsonpickle-3.2.2/PKG-INFO
--- old/jsonpickle-3.2.1/PKG-INFO   2024-06-09 09:27:31.694953200 +0200
+++ new/jsonpickle-3.2.2/PKG-INFO   2024-06-20 07:09:03.596748000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: jsonpickle
-Version: 3.2.1
+Version: 3.2.2
 Summary: Python library for serializing arbitrary object graphs into JSON
 Home-page: https://github.com/jsonpickle/jsonpickle
 Author: David Aguilar
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpickle-3.2.1/SECURITY.md 
new/jsonpickle-3.2.2/SECURITY.md
--- old/jsonpickle-3.2.1/SECURITY.md1970-01-01 01:00:00.0 +0100
+++ new/jsonpickle-3.2.2/SECURITY.md2024-06-12 11:01:01.0 +0200
@@ -0,0 +1,55 @@
+# Security Policy
+
+## Security contact information
+
+To report a security vulnerability, please use the
+[Tidelift security contact](https://tidelift.com/security).
+Tidelift will coordinate the fix and disclosure.
+
+## Reporting a vulnerability
+
+Even when unsure whether the bug in question is an exploitable
+vulnerability, it is recommended to send the report and not to
+discuss the issue anywhere else.
+
+Vulnerabilities are expected to be discussed _only_ via email,
+and not in public, until an official release to address the
+vulnerability is available.
+
+Examples for details to include:
+
+- Ideally a short description (or a script) to 

commit python-jsonpickle for openSUSE:Factory

2024-01-04 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-jsonpickle for 
openSUSE:Factory checked in at 2024-01-04 15:58:49

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


Package is "python-jsonpickle"

Thu Jan  4 15:58:49 2024 rev:13 rq:1136659 version:3.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpickle/python-jsonpickle.changes  
2023-12-14 22:03:19.592469820 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpickle.new.28375/python-jsonpickle.changes
   2024-01-04 16:01:06.072636848 +0100
@@ -1,0 +2,12 @@
+Fri Dec 29 13:52:24 UTC 2023 - Antonio Larrosa 
+
+- Add patch to enable the gmpy test correctly:
+  * enable_gmpy_test.patch
+- Disable BuildRequies pandas and scikit-learn in SLE where
+  they're not available and only used for tests
+- Use python-bson instead of python-pymongo in SLE
+- Do not search for tests recursively in SLE but explicitly name
+  the directory/files containing tests. This solves an issue
+  building the package without pandas in SLE.
+
+---

New:

  enable_gmpy_test.patch

BETA DEBUG BEGIN:
  New:- Add patch to enable the gmpy test correctly:
  * enable_gmpy_test.patch
- Disable BuildRequies pandas and scikit-learn in SLE where
BETA DEBUG END:



Other differences:
--
++ python-jsonpickle.spec ++
--- /var/tmp/diff_new_pack.3OXDZi/_old  2024-01-04 16:01:06.500652483 +0100
+++ /var/tmp/diff_new_pack.3OXDZi/_new  2024-01-04 16:01:06.500652483 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonpickle
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,7 @@
 License:BSD-3-Clause
 URL:https://github.com/jsonpickle/jsonpickle
 Source: 
https://files.pythonhosted.org/packages/source/j/jsonpickle/jsonpickle-%{version}.tar.gz
+Patch1: enable_gmpy_test.patch
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module importlib_metadata if %python-base < 3.8}
 BuildRequires:  %{python_module pip}
@@ -41,10 +42,14 @@
 BuildRequires:  %{python_module ecdsa}
 BuildRequires:  %{python_module gmpy2}
 BuildRequires:  %{python_module numpy}
+%if 0%{?suse_version} >= 1550
 BuildRequires:  %{python_module pandas}
 BuildRequires:  %{python_module pymongo}
-BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module scikit-learn}
+%else
+BuildRequires:  %{python_module bson}
+%endif
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module simplejson}
 BuildRequires:  %{python_module ujson}
 # /SECTION
@@ -71,7 +76,11 @@
 donttest="test_multindex_dataframe_roundtrip"
 # https://github.com/jsonpickle/jsonpickle/issues/460
 donttest+=" or test_timedelta_index_roundtrip"
+%if 0%{?suse_version} < 1550
+%pytest -ra -k "not ($donttest)" tests jsonpickle/pickler.py 
jsonpickle/unpickler.py jsonpickle/util.py
+%else
 %pytest -ra -k "not ($donttest)"
+%endif
 
 %files %{python_files}
 %license LICENSE

++ enable_gmpy_test.patch ++
Index: jsonpickle-3.0.2/tests/ecdsa_test.py
===
--- jsonpickle-3.0.2.orig/tests/ecdsa_test.py
+++ jsonpickle-3.0.2/tests/ecdsa_test.py
@@ -7,6 +7,7 @@ import pytest
 from helper import SkippableTest
 
 import jsonpickle
+import jsonpickle.ext.gmpy
 
 
 @pytest.fixture(scope='module', autouse=True)


commit python-jsonpickle for openSUSE:Factory

2023-12-14 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-jsonpickle for 
openSUSE:Factory checked in at 2023-12-14 22:03:17

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


Package is "python-jsonpickle"

Thu Dec 14 22:03:17 2023 rev:12 rq:1132963 version:3.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpickle/python-jsonpickle.changes  
2023-06-16 16:56:07.938163374 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpickle.new.25432/python-jsonpickle.changes
   2023-12-14 22:03:19.592469820 +0100
@@ -1,0 +2,18 @@
+Wed Dec 13 16:18:51 UTC 2023 - Ben Greiner 
+
+- Update to 3.0.2
+  * Properly raise warning if a custom pickling handler returns
+None. (#433)
+  * Fix issue with serialization of certain sklearn objects
+breaking when the numpy handler was enabled. (#431) (+434)
+  * Allow custom backends to not implement _encoder_options (#436)
+(+446)
+  * Implement compatibility with pandas 2 (+446)
+  * Fix encoding/decoding of dictionary subclasses with referencing
+(+455)
+  * Fix depth tracking for list/dict referencing (+456)
+- Drop pandas2.patch
+- Skip a noncritical test due to pandas built with Cython 3
+  gh#jsonpickle/jsonpickle#460
+
+---

Old:

  jsonpickle-3.0.1.tar.gz
  pandas2.patch

New:

  jsonpickle-3.0.2.tar.gz

BETA DEBUG BEGIN:
  Old:  * Fix depth tracking for list/dict referencing (+456)
- Drop pandas2.patch
- Skip a noncritical test due to pandas built with Cython 3
BETA DEBUG END:



Other differences:
--
++ python-jsonpickle.spec ++
--- /var/tmp/diff_new_pack.yWXvLH/_old  2023-12-14 22:03:20.388498532 +0100
+++ /var/tmp/diff_new_pack.yWXvLH/_new  2023-12-14 22:03:20.392498676 +0100
@@ -18,24 +18,23 @@
 
 %{?sle15_python_module_pythons}
 Name:   python-jsonpickle
-Version:3.0.1
+Version:3.0.2
 Release:0
 Summary:Python library for serializing any arbitrary object graph into 
JSON
 License:BSD-3-Clause
 URL:https://github.com/jsonpickle/jsonpickle
 Source: 
https://files.pythonhosted.org/packages/source/j/jsonpickle/jsonpickle-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM 
https://github.com/jsonpickle/jsonpickle/commit/a24240bfdec6a9d5172c2f25e19654d23ffc61e1
 Implement compatibility with pandas 2
-Patch:  pandas2.patch
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module importlib_metadata if %python-base < 3.8}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module setuptools >= 42}
 BuildRequires:  %{python_module setuptools_scm >= 3.4.1}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Recommends: python-simplejson
-Suggests:   python-ujson
-Suggests:   python-numpy
-Suggests:   python-pandas
+%if %python_version_nodots < 38
+Requires:   python-importlib_metadata
+%endif
 BuildArch:  noarch
 # SECTION test requirements
 BuildRequires:  %{python_module SQLAlchemy}
@@ -61,19 +60,22 @@
 sed -i 's/ --cov//' pytest.ini
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 # test_multindex_dataframe_roundtrip is flaky on i586
-%pytest -ra -k "not test_multindex_dataframe_roundtrip"
+donttest="test_multindex_dataframe_roundtrip"
+# https://github.com/jsonpickle/jsonpickle/issues/460
+donttest+=" or test_timedelta_index_roundtrip"
+%pytest -ra -k "not ($donttest)"
 
 %files %{python_files}
 %license LICENSE
 %doc README.rst CHANGES.rst
 %{python_sitelib}/jsonpickle
-%{python_sitelib}/jsonpickle-%{version}*-info
+%{python_sitelib}/jsonpickle-%{version}.dist-info
 

++ jsonpickle-3.0.1.tar.gz -> jsonpickle-3.0.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpickle-3.0.1/.github/workflows/lint.yml 
new/jsonpickle-3.0.2/.github/workflows/lint.yml
--- old/jsonpickle-3.0.1/.github/workflows/lint.yml 2022-11-15 
01:21:56.0 +0100
+++ new/jsonpickle-3.0.2/.github/workflows/lint.yml 2023-06-15 
19:27:19.0 +0200
@@ -15,7 +15,7 @@
   - name: Checkout code
 uses: actions/checkout@v3
 
-  - uses: actions/setup-python@v3
+  - uses: actions/setup-python@v4
 with:
   python-version: "3.10"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpickle-3.0.1/.github/workflows/test.yml 

commit python-jsonpickle for openSUSE:Factory

2023-06-16 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-jsonpickle for 
openSUSE:Factory checked in at 2023-06-16 16:54:56

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


Package is "python-jsonpickle"

Fri Jun 16 16:54:56 2023 rev:11 rq:1093360 version:3.0.1

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpickle/python-jsonpickle.changes  
2023-01-24 20:31:59.736268158 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpickle.new.15902/python-jsonpickle.changes
   2023-06-16 16:56:07.938163374 +0200
@@ -1,0 +2,11 @@
+Wed Jun 14 10:48:59 UTC 2023 - Markéta Machová 
+
+- Add patch pandas2.patch to fix compatibility
+- Skip flaky test
+
+---
+Sat Jun 10 17:30:51 UTC 2023 - ecsos 
+
+- Add %{?sle15_python_module_pythons}
+
+---

New:

  pandas2.patch



Other differences:
--
++ python-jsonpickle.spec ++
--- /var/tmp/diff_new_pack.QrT6DD/_old  2023-06-16 16:56:08.622167409 +0200
+++ /var/tmp/diff_new_pack.QrT6DD/_new  2023-06-16 16:56:08.626167432 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%{?sle15_python_module_pythons}
 Name:   python-jsonpickle
 Version:3.0.1
 Release:0
@@ -23,15 +24,14 @@
 License:BSD-3-Clause
 URL:https://github.com/jsonpickle/jsonpickle
 Source: 
https://files.pythonhosted.org/packages/source/j/jsonpickle/jsonpickle-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM 
https://github.com/jsonpickle/jsonpickle/commit/a24240bfdec6a9d5172c2f25e19654d23ffc61e1
 Implement compatibility with pandas 2
+Patch:  pandas2.patch
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module importlib_metadata if %python-base < 3.8}
 BuildRequires:  %{python_module setuptools_scm >= 3.4.1}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-%if 0%{python_version_nodots} < 38
-Requires:   python-importlib_metadata
-%endif
 Recommends: python-simplejson
 Suggests:   python-ujson
 Suggests:   python-numpy
@@ -68,7 +68,8 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%pytest -ra
+# test_multindex_dataframe_roundtrip is flaky on i586
+%pytest -ra -k "not test_multindex_dataframe_roundtrip"
 
 %files %{python_files}
 %license LICENSE

++ pandas2.patch ++
>From a24240bfdec6a9d5172c2f25e19654d23ffc61e1 Mon Sep 17 00:00:00 2001
From: Theelx <43764914+the...@users.noreply.github.com>
Date: Fri, 26 May 2023 14:05:05 -0400
Subject: [PATCH] Implement compatibility with pandas 2

---
 jsonpickle/ext/pandas.py | 7 ++-
 requirements-dev.txt | 2 +-
 setup.cfg| 2 +-
 tests/pandas_test.py | 2 +-
 4 files changed, 9 insertions(+), 4 deletions(-)

Index: jsonpickle-3.0.1/jsonpickle/ext/pandas.py
===
--- jsonpickle-3.0.1.orig/jsonpickle/ext/pandas.py
+++ jsonpickle-3.0.1/jsonpickle/ext/pandas.py
@@ -62,10 +62,13 @@ def make_read_csv_params(meta, context):
 parse_dates = []
 converters = {}
 timedeltas = []
+# this is only for pandas v2+ due to a backwards-incompatible change
+parse_datetime_v2 = {}
 dtype = {}
 for k, v in meta_dtypes.items():
 if v.startswith('datetime'):
 parse_dates.append(k)
+parse_datetime_v2[k] = v
 elif v.startswith('complex'):
 converters[k] = complex
 elif v.startswith('timedelta'):
@@ -79,6 +82,7 @@ def make_read_csv_params(meta, context):
 dtype=dtype, header=header, parse_dates=parse_dates, 
converters=converters
 ),
 timedeltas,
+parse_datetime_v2,
 )
 
 
@@ -104,7 +108,7 @@ class PandasDfHandler(BaseHandler):
 
 def restore(self, data):
 csv, meta = self.pp.restore_pandas(data)
-params, timedeltas = make_read_csv_params(meta, self.context)
+params, timedeltas, parse_datetime_v2 = make_read_csv_params(meta, 
self.context)
 # None makes it compatible with objects serialized before
 # column_levels_names has been introduced.
 column_level_names = meta.get('column_level_names', None)
@@ -115,6 +119,7 @@ class PandasDfHandler(BaseHandler):
 )
 for col in timedeltas:
 df[col] = pd.to_timedelta(df[col])
+df = df.astype(parse_datetime_v2)
 
 df.set_index(decode(meta['index']), inplace=True)
 # restore the column level(s) name(s)
Index: jsonpickle-3.0.1/tests/pandas_test.py

commit python-jsonpickle for openSUSE:Factory

2023-01-24 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-jsonpickle for 
openSUSE:Factory checked in at 2023-01-24 19:43:34

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


Package is "python-jsonpickle"

Tue Jan 24 19:43:34 2023 rev:10 rq:1060582 version:3.0.1

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpickle/python-jsonpickle.changes  
2022-01-08 23:23:08.814208510 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpickle.new.32243/python-jsonpickle.changes
   2023-01-24 20:31:59.736268158 +0100
@@ -1,0 +2,71 @@
+Sat Jan 21 19:24:29 UTC 2023 - Ben Greiner 
+
+- Update to 3.0.1
+  * Remove accidental pin of setuptools to versions below 59. This
+allows jsonpickle to build with CPython 3.11 and 3.12 alphas.
+(#424)
+  * Remove accidental dependency on pytz in pandas tests. (+421)
+  * Fix issue with decoding bson.bson.Int64 objects (#422)
+- Release 3.0.0
+  * Drop support for CPython<3.7. CPython 3.6 and below have
+reached EOL and no longer receive security updates. (#375)
+  * Add support for CPython 3.11. (#395) (+396)
+  * Remove jsonlib and yajl backends (py2 only)
+  * Add `include_properties` option to the pickler. This should
+only be used if analyzing generated json outside of Python.
+(#297) (+387)
+  * Allow the `classes` argument to `jsonpickle.decode` to be a
+dict of class name to class object. This lets you decode
+arbitrary dumps into different classes. (#148) (+392)
+  * Fix bug with deserializing `numpy.poly1d`. (#391)
+  * Allow frozen dataclasses to be deserialized. (#240)
+  * Fixed a bug where pickling a function could return a `None`
+module. (#399)
+  * Removed old bytes/quopri and ref decoding abaility from the
+unpickler. These were last used in jsonpickle<1. Removing them
+causes a slight speedup in unpickling lists (~5%). (+403)
+  * Fixed a bug with namedtuples encoding on CPython 3.11. (#411)
+  * When using the `sort_keys` option for the `simplejson` backend,
+jsonpickle now produces correct object references with py/id
+tags. (#408)
+  * Speed up the internal method `_restore_tags` by ~10%. This
+should speed up unpickling of almost every object.
+- Release 2.2.0
+  * Classes with a custom `__getitem__()` and `append()` now pickle
+properly. (#362) (+379)
+  * Remove the demjson backend, as demjson hasn't been maintained
+for 5 years. (+379)
+  * Added new handler for numpy objects when using
+unpickleable=False. (#381) (+382)
+  * Added exception handling for class attributes that can't be
+accessed. (#301) (+383)
+  * Added a long-requested on_missing attribute to the Unpickler
+class. This lets you choose behavior for when jsonpickle can't
+find a class to deserialize to. (#190) (#193) (+384)
+  * Private members of `__slots__` are no longer skipped when
+encoding. Any objects encoded with versions prior to 2.2.0
+should still decode properly. (#318) (+385)
+- Release 2.1.0
+  * Python 3.10 is now officially supported. (+376)
+  * `is_reducible()` was sped up by ~80%.  (+353) (+354)
+  * `_restore_tags()` was sped up by ~100%. Unpickling items with a
+lot of tuples and sets will benefit most. Python 2 users and
+users deserializing pickles from jsonpickle <= 0.9.6 may see a
+slight performance decrease if using a lot of bytes, ref,
+and/or repr objects. (+354)
+  * `is_iterator()` was sped up by ~20% by removing an unnecessary
+variable assignment. (+354)
+  * `jsonpickle.decode` has a new option, `v1_decode` to assist in
+decoding objects created in jsonpickle version 1. (#364)
+  * The `encode()` documentation has been updated to help sklearn
+users.
+  * `SQLALchemy<1.2` is no longer being tested by jsonpickle. Users
+of sqlalchemy + jsonpickle can always use 1.2 or 1.3. When
+jsonpickle v3 is released we will add SQLAlchemy 1.4 to the
+test suite alongside removal of support for Python 3.5 and
+earlier.
+- Remove testing skip conditionals:
+  * no python36 anymore
+  * jsonpickle not in Ring1 anymore
+
+---

Old:

  jsonpickle-2.0.0.tar.gz

New:

  jsonpickle-3.0.1.tar.gz



Other differences:
--
++ python-jsonpickle.spec ++
--- /var/tmp/diff_new_pack.PwGjxs/_old  2023-01-24 20:32:00.188270550 +0100
+++ /var/tmp/diff_new_pack.PwGjxs/_new  2023-01-24 20:32:00.196270593 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsonpickle
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # 

commit python-jsonpickle for openSUSE:Factory

2022-01-08 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-jsonpickle for 
openSUSE:Factory checked in at 2022-01-08 23:23:04

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


Package is "python-jsonpickle"

Sat Jan  8 23:23:04 2022 rev:9 rq:944522 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpickle/python-jsonpickle.changes  
2021-02-16 22:34:49.725525011 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpickle.new.1892/python-jsonpickle.changes
2022-01-08 23:23:08.814208510 +0100
@@ -1,0 +2,6 @@
+Thu Jan  6 19:51:47 UTC 2022 - Ben Greiner 
+
+- Don't test and recommend unmaintained packages demjson and
+  feedparser
+
+---



Other differences:
--
++ python-jsonpickle.spec ++
--- /var/tmp/diff_new_pack.8IChoc/_old  2022-01-08 23:23:09.314208918 +0100
+++ /var/tmp/diff_new_pack.8IChoc/_new  2022-01-08 23:23:09.318208922 +0100
@@ -37,7 +37,6 @@
 Requires:   python-importlib_metadata
 %endif
 Recommends: python-simplejson
-Suggests:   python-demjson
 Suggests:   python-ujson
 Suggests:   python-yajl
 Suggests:   python-numpy
@@ -53,8 +52,6 @@
 BuildRequires:  %{python_module numpy if (%python-base without python36-base)}
 %if ! 0%{?_with_ringdisabled}
 # Test these in a normal devel project or locally, but not when staging with 
Ring1
-BuildRequires:  %{python_module demjson}
-BuildRequires:  %{python_module feedparser}
 BuildRequires:  %{python_module ujson}
 BuildRequires:  %{python_module pandas if (%python-base without python36-base)}
 BuildRequires:  %{python_module scikit-learn if (%python-base without 
python36-base)}


commit python-jsonpickle for openSUSE:Factory

2021-02-16 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-jsonpickle for 
openSUSE:Factory checked in at 2021-02-16 22:34:38

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


Package is "python-jsonpickle"

Tue Feb 16 22:34:38 2021 rev:8 rq:872816 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/python-jsonpickle/python-jsonpickle.changes  
2020-03-27 00:23:51.064212845 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpickle.new.28504/python-jsonpickle.changes
   2021-02-16 22:34:49.725525011 +0100
@@ -1,0 +2,77 @@
+Mon Feb 15 21:52:25 UTC 2021 - Ben Greiner 
+
+- Update to version 2.0.0
+  * Major release: the serialized JSON format now preserves
+dictionary identity, which is a subtle change in the
+serialized format. (#351)
+  * Dictionary identity is now preserved. For example, if the same
+dictionary appears twice in a list, the reconstituted list
+will now contain two references to the same dictionary. (#255)
+(+332)
+- Changes in v1.5.2
+  * Patch release to avoid the change in behavior from the
+preservation of dict identity. The next release will be
+v2.0.0. (#351)
+  * This relese does not include the performance improvements from
+v1.5.1.
+  * Pandas DataFrame objects with multilevel columns are now
+supported. (#346) (+347)
+  * Numpy 1.20 is now officially supported. (#336)
+  * Python 3.9 is now officially supported. (+348)
+  * Achieved a small speedup for _get_flattener by merging type
+checks. (+349)
+- Changes in v1.5.1
+  * The performance of the unpickler was drastically improved by
+avoiding tag checks for basic Python types. (+340)
+  * decode() documentation improvements. (+341)
+  * Serialization of Pandas DataFrame objects that contain
+timedelta64[ns] dtypes are now supported. (+330) (#331)
+  * Dictionary identity is now preserved. For example, if the same
+dictionary appears twice in a list, the reconstituted list
+will now contain two references to the same dictionary. (#255)
+(+332)
+  * Unit tests were added to ensure that sklearn.tree.
+DecisionTreeClassifier objects are properly serialized. (#155)
+(+344)
+  * The is_reducible() utility function used by encode() is now 4x
+faster! Objects that provide __getstate__(), __setstate__(),
+and __slots__ benefit most from these improvements. (+343)
+  * Improved pickler flatten()/encode() performance. (+345)
+- Changes in v1.5.0
+  * Previous versions of jsonpickle with make_refs=False would
+emit null when encountering an object it had already seen when
+traversing objects. All instances of the object are now
+serialized. While this is arguably an improvement in the vast
+majority of scenarios, it is a change in behavior and is thus
+considered a minor-level change. (#333) (#334) (#337) (+338)
+  * Multiple enums are now serialized correctly with
+make_refs=False. (#235)
+- Changes in v1.4.2
+  * Use importlib.metadata from the stdlib on Python 3.8. (+305)
+(#303)
+  * Micro-optimize type checks to use a set for lookups. (+327)
+  * Documentation improvements.
+- Changes in v1.4.1
+  * Patch release for Python 3.8 importlib_metadata support. (#300)
+- Changes in v1.4
+  * Python 3.8 support. (#292)
+  * jsonpickle.encode now supports the standard indent and
+separators arguments, and passes them through to the active
+JSON backend library. (#183)
+  * We now include a custom handler for array.array objects. (#199)
+  * Dict key order is preserved when pickling dictionaries on
+Python3. (#193)
+  * Improved serialization of dictionaries with non-string keys.
+Previously, using an enum that was both the key and a value in
+a dictionary could end up with incorrect references to other
+objects. The references are now properly maintained for dicts
+with object keys that are also referenced in the dict's
+values. (#286)
+  * Improved serialization of pandas.Series objects. (#287)
+- Don't test numpy and pandas in python36 flavor, because
+  they are no longer available on Tumbleweed (NEP 29)
+- Test some extras, but not in lettered staging if they are not
+  in Ring1.
+- Drop PR292-Python38.patch merged upstream
+
+---

Old:

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

New:

  jsonpickle-2.0.0.tar.gz



Other differences:
--
++ python-jsonpickle.spec ++
--- /var/tmp/diff_new_pack.aG4xnD/_old  2021-02-16 22:34:50.317525823 +0100
+++ /var/tmp/diff_new_pack.aG4xnD/_new  2021-02-16 22:34:50.321525828 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for