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 2026-10-05 12:56:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jsonpickle (Old)
 and      /work/SRC/openSUSE:Factory/.python-jsonpickle.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jsonpickle"

Mon Oct  5 12:56:46 2026 rev:27 rq:1382328 version:4.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jsonpickle/python-jsonpickle.changes      
2026-09-04 12:40:26.356646089 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jsonpickle.new.3698736/python-jsonpickle.changes
 2026-10-05 12:57:51.208341415 +0200
@@ -1,0 +2,9 @@
+Sun Oct  4 14:42:42 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 4.1.3:
+  * Add deprecation warnings for the pending removal of the
+    backend, max_iter, and v1_decode arguments, as well as the
+    new behavior of 5.0.0 in not registering the yaml backend by
+    default. (+637)
+
+-------------------------------------------------------------------

Old:
----
  jsonpickle-4.1.2.tar.gz

New:
----
  jsonpickle-4.1.3.tar.gz

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

Other differences:
------------------
++++++ python-jsonpickle.spec ++++++
--- /var/tmp/diff_new_pack.i9HqT5/_old  2026-10-05 12:57:52.150380930 +0200
+++ /var/tmp/diff_new_pack.i9HqT5/_new  2026-10-05 12:57:52.154381098 +0200
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-jsonpickle
-Version:        4.1.2
+Version:        4.1.3
 Release:        0
 Summary:        Python library for serializing any arbitrary object graph into 
JSON
 License:        BSD-3-Clause

++++++ jsonpickle-4.1.2.tar.gz -> jsonpickle-4.1.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpickle-4.1.2/CHANGES.rst 
new/jsonpickle-4.1.3/CHANGES.rst
--- old/jsonpickle-4.1.2/CHANGES.rst    2026-05-28 05:38:15.000000000 +0200
+++ new/jsonpickle-4.1.3/CHANGES.rst    2026-10-02 17:42:02.000000000 +0200
@@ -4,6 +4,12 @@
       You can re-enable yaml support using ``jsonpickle.ext.yaml.register()``.
       (#550) (+551)
 
+v4.1.3
+======
+    * Add deprecation warnings for the pending removal of the ``backend``, 
``max_iter``, and
+      ``v1_decode`` arguments, as well as the new behavior of 5.0.0 in not 
registering the
+      yaml backend by default. (+637)
+
 v4.1.2
 ======
     * Add deprecation warnings for the pending removal of the ``safe``, 
``numeric_keys``, and
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpickle-4.1.2/PKG-INFO 
new/jsonpickle-4.1.3/PKG-INFO
--- old/jsonpickle-4.1.2/PKG-INFO       2026-05-28 05:49:28.894694000 +0200
+++ new/jsonpickle-4.1.3/PKG-INFO       2026-10-02 17:42:13.487373400 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: jsonpickle
-Version: 4.1.2
+Version: 4.1.3
 Summary: jsonpickle encodes/decodes any Python object to/from JSON
 Author: Theelx
 Author-email: David Aguilar <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpickle-4.1.2/jsonpickle/backend.py 
new/jsonpickle-4.1.3/jsonpickle/backend.py
--- old/jsonpickle-4.1.2/jsonpickle/backend.py  2026-05-28 05:38:15.000000000 
+0200
+++ new/jsonpickle-4.1.3/jsonpickle/backend.py  2026-10-02 17:34:51.000000000 
+0200
@@ -1,3 +1,6 @@
+import warnings
+
+
 class JSONBackend:
     """Manages encoding and decoding using various backends.
 
@@ -93,7 +96,9 @@
         self.load_backend('json')
         self.load_backend('ujson')
         # TODO: remove default registration of the YAML backend in v5.0.0.
-        self.load_backend(
+        # Any later explicit load_backend('yaml') call, such as the one made by
+        # jsonpickle.ext.yaml.register(), resets this flag and silences the 
warning
+        self._yaml_registered_by_default = self.load_backend(
             'yaml', dumps='dump', loads='safe_load', loads_exc='YAMLError'
         )
 
@@ -152,6 +157,9 @@
         :rtype bool: True on success, False if the backend could not be loaded.
 
         """
+        if name == 'yaml':
+            self._yaml_registered_by_default = False
+
         try:
             # Load the JSON backend
             mod = __import__(name)
@@ -183,7 +191,8 @@
         self._decoder_options.setdefault(name, ([], {}))
 
         # Add this backend to the list of candidate backends
-        self._backend_names.append(name)
+        if name not in self._backend_names:
+            self._backend_names.append(name)
 
         # Indicate that we successfully loaded a JSON backend
         self._verified = True
@@ -200,7 +209,19 @@
             self._backend_names.remove(name)
         self._verified = bool(self._backend_names)
 
+    def _warn_if_default_yaml(self, name):
+        if name == 'yaml' and self._yaml_registered_by_default:
+            # stacklevel=5 points at the caller of jsonpickle.encode/decode
+            warnings.warn(
+                "The yaml backend will no longer be registered by default in "
+                "jsonpickle 5.0.0, call jsonpickle.ext.yaml.register() to keep 
"
+                "using it",
+                DeprecationWarning,
+                stacklevel=5,
+            )
+
     def backend_encode(self, name, obj, indent=None, separators=None):
+        self._warn_if_default_yaml(name)
         optargs, optkwargs = self._encoder_options.get(name, ([], {}))
         encoder_kwargs = optkwargs.copy()
         if indent is not None:
@@ -211,6 +232,7 @@
         return self._encoders[name](*encoder_args, **encoder_kwargs)
 
     def backend_decode(self, name, string):
+        self._warn_if_default_yaml(name)
         optargs, optkwargs = self._decoder_options.get(name, ((), {}))
         decoder_kwargs = optkwargs.copy()
         return self._decoders[name](string, *optargs, **decoder_kwargs)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpickle-4.1.2/jsonpickle/pickler.py 
new/jsonpickle-4.1.3/jsonpickle/pickler.py
--- old/jsonpickle-4.1.2/jsonpickle/pickler.py  2026-05-28 05:38:15.000000000 
+0200
+++ new/jsonpickle-4.1.3/jsonpickle/pickler.py  2026-09-28 18:07:30.000000000 
+0200
@@ -165,6 +165,19 @@
                 DeprecationWarning,
                 stacklevel=2,
             )
+        if backend is not None:
+            warnings.warn(
+                "backend is deprecated and will be removed in jsonpickle 
5.0.0, "
+                "use jsonpickle.set_preferred_backend() instead",
+                DeprecationWarning,
+                stacklevel=2,
+            )
+        if max_iter is not None:
+            warnings.warn(
+                "max_iter is deprecated and will be removed in jsonpickle 
5.0.0",
+                DeprecationWarning,
+                stacklevel=2,
+            )
     backend = backend or json
     context = context or Pickler(
         unpicklable=unpicklable,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpickle-4.1.2/jsonpickle/unpickler.py 
new/jsonpickle-4.1.3/jsonpickle/unpickler.py
--- old/jsonpickle-4.1.2/jsonpickle/unpickler.py        2026-05-28 
05:38:15.000000000 +0200
+++ new/jsonpickle-4.1.3/jsonpickle/unpickler.py        2026-09-28 
18:07:31.000000000 +0200
@@ -97,6 +97,20 @@
                 DeprecationWarning,
                 stacklevel=2,
             )
+        if backend is not None:
+            warnings.warn(
+                "backend is deprecated and will be removed in jsonpickle 
5.0.0, "
+                "use jsonpickle.set_preferred_backend() instead",
+                DeprecationWarning,
+                stacklevel=2,
+            )
+        if v1_decode:
+            warnings.warn(
+                "v1_decode is deprecated and will be removed in jsonpickle 
5.0.0, "
+                "re-encode any jsonpickle v1 data with jsonpickle 4.x before 
upgrading",
+                DeprecationWarning,
+                stacklevel=2,
+            )
     if isinstance(on_missing, str):
         on_missing = on_missing.lower()
     elif not util.is_function(on_missing):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpickle-4.1.2/jsonpickle.egg-info/PKG-INFO 
new/jsonpickle-4.1.3/jsonpickle.egg-info/PKG-INFO
--- old/jsonpickle-4.1.2/jsonpickle.egg-info/PKG-INFO   2026-05-28 
05:49:28.000000000 +0200
+++ new/jsonpickle-4.1.3/jsonpickle.egg-info/PKG-INFO   2026-10-02 
17:42:13.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: jsonpickle
-Version: 4.1.2
+Version: 4.1.3
 Summary: jsonpickle encodes/decodes any Python object to/from JSON
 Author: Theelx
 Author-email: David Aguilar <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsonpickle-4.1.2/jsonpickle.egg-info/SOURCES.txt 
new/jsonpickle-4.1.3/jsonpickle.egg-info/SOURCES.txt
--- old/jsonpickle-4.1.2/jsonpickle.egg-info/SOURCES.txt        2026-05-28 
05:49:28.000000000 +0200
+++ new/jsonpickle-4.1.3/jsonpickle.egg-info/SOURCES.txt        2026-10-02 
17:42:13.000000000 +0200
@@ -71,6 +71,8 @@
 jsonpickle.egg-info/SOURCES.txt
 jsonpickle.egg-info/dependency_links.txt
 jsonpickle.egg-info/requires.txt
+jsonpickle.egg-info/scm_file_list.json
+jsonpickle.egg-info/scm_version.json
 jsonpickle.egg-info/top_level.txt
 jsonpickle/ext/__init__.py
 jsonpickle/ext/gmpy.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jsonpickle-4.1.2/jsonpickle.egg-info/scm_file_list.json 
new/jsonpickle-4.1.3/jsonpickle.egg-info/scm_file_list.json
--- old/jsonpickle-4.1.2/jsonpickle.egg-info/scm_file_list.json 1970-01-01 
01:00:00.000000000 +0100
+++ new/jsonpickle-4.1.3/jsonpickle.egg-info/scm_file_list.json 2026-09-28 
18:08:29.000000000 +0200
@@ -0,0 +1,113 @@
+{
+  "files": [
+    ".coveragerc",
+    ".github/FUNDING.yml",
+    ".github/workflows/lint.yml",
+    ".github/workflows/release.yml",
+    ".github/workflows/test.yml",
+    ".gitignore",
+    ".isort.cfg",
+    ".pre-commit-config.yaml",
+    ".readthedocs.yml",
+    "BENCHMARKS.md",
+    "CHANGES.rst",
+    "LICENSE",
+    "Makefile",
+    "README.rst",
+    "SECURITY.md",
+    "appveyor.yml",
+    "azure-pipelines.yml",
+    "benchmarking/README.md",
+    "benchmarking/analyze_benchmarks.py",
+    "benchmarking/analyze_benchmarks.sh",
+    "conftest.py",
+    "contrib/copy-docs",
+    "contrib/pyqt-reduce-handler.py",
+    "docs/api.rst",
+    "docs/conf.py",
+    "docs/contrib.rst",
+    "docs/extensions.rst",
+    "docs/history.rst",
+    "docs/index.rst",
+    "docs/requirements.txt",
+    "examples/README.md",
+    "examples/save_class_to_file.py",
+    "examples/utilities.py",
+    "fuzzing/README.md",
+    "fuzzing/dictionaries/fuzz_unpickle.dict",
+    "fuzzing/fuzz-targets/fuzz_unpickle.py",
+    "fuzzing/fuzz-targets/utils.py",
+    "fuzzing/oss-fuzz-scripts/build.sh",
+    "fuzzing/oss-fuzz-scripts/container-environment-bootstrap.sh",
+    "garden.yaml",
+    "images/jsonpickle-1.5.1-3.10.svg",
+    "images/jsonpickle-1.5.1-3.11.svg",
+    "images/jsonpickle-1.5.1-3.9.svg",
+    "images/jsonpickle-1.5.2-3.10.svg",
+    "images/jsonpickle-1.5.2-3.11.svg",
+    "images/jsonpickle-1.5.2-3.9.svg",
+    "images/jsonpickle-2.2.0-3.10.svg",
+    "images/jsonpickle-2.2.0-3.11.svg",
+    "images/jsonpickle-2.2.0-3.9.svg",
+    "images/jsonpickle-3.3.0-3.10.svg",
+    "images/jsonpickle-3.3.0-3.11.svg",
+    "images/jsonpickle-3.3.0-3.9.svg",
+    "jsonpickle/__init__.py",
+    "jsonpickle/backend.py",
+    "jsonpickle/compat.py",
+    "jsonpickle/errors.py",
+    "jsonpickle/ext/__init__.py",
+    "jsonpickle/ext/gmpy.py",
+    "jsonpickle/ext/numpy.py",
+    "jsonpickle/ext/pandas.py",
+    "jsonpickle/ext/yaml.py",
+    "jsonpickle/handlers.py",
+    "jsonpickle/pickler.py",
+    "jsonpickle/tags.py",
+    "jsonpickle/tags_pd.py",
+    "jsonpickle/unpickler.py",
+    "jsonpickle/util.py",
+    "jsonpickle/version.py",
+    "jsonpickleJS/.gitignore",
+    "jsonpickleJS/LICENSE",
+    "jsonpickleJS/README.md",
+    "jsonpickleJS/ext/require/domReady.js",
+    "jsonpickleJS/ext/require/order.js",
+    "jsonpickleJS/ext/require/require.js",
+    "jsonpickleJS/ext/require/text.js",
+    "jsonpickleJS/handlers.js",
+    "jsonpickleJS/main.js",
+    "jsonpickleJS/pickler.js",
+    "jsonpickleJS/tags.js",
+    "jsonpickleJS/testPickle.html",
+    "jsonpickleJS/testUnpickle.html",
+    "jsonpickleJS/unpickler.js",
+    "jsonpickleJS/util.js",
+    "jsonpickle_benchmarks.py",
+    "pyproject.toml",
+    "pytest.ini",
+    "requirements-dev.txt",
+    "skeleton.md",
+    "tests/backend_test.py",
+    "tests/benchmark.py",
+    "tests/bson_test.py",
+    "tests/collections_test.py",
+    "tests/datetime_test.py",
+    "tests/document_test.py",
+    "tests/ecdsa_test.py",
+    "tests/feedparser_test.py",
+    "tests/handler_test.py",
+    "tests/helper.py",
+    "tests/jsonpickle_test.py",
+    "tests/numpy_test.py",
+    "tests/object_test.py",
+    "tests/pandas_test.py",
+    "tests/sklearn_test.py",
+    "tests/sqlalchemy_test.py",
+    "tests/stdlib_test.py",
+    "tests/util_test.py",
+    "tests/wizard_test.py",
+    "tests/zoneinfo_test.py",
+    "tox.ini"
+  ]
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jsonpickle-4.1.2/jsonpickle.egg-info/scm_version.json 
new/jsonpickle-4.1.3/jsonpickle.egg-info/scm_version.json
--- old/jsonpickle-4.1.2/jsonpickle.egg-info/scm_version.json   1970-01-01 
01:00:00.000000000 +0100
+++ new/jsonpickle-4.1.3/jsonpickle.egg-info/scm_version.json   2026-09-28 
18:08:29.000000000 +0200
@@ -0,0 +1,8 @@
+{
+  "tag": "4.1.1",
+  "distance": 1,
+  "node": "g3b7fb6f8e5d228371831ce224e3a57c5f3825a92",
+  "dirty": true,
+  "branch": "maint/v4",
+  "node_date": "2026-05-28"
+}

Reply via email to