Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-colander for openSUSE:Factory
checked in at 2024-01-15 22:17:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-colander (Old)
and /work/SRC/openSUSE:Factory/.python-colander.new.21961 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-colander"
Mon Jan 15 22:17:32 2024 rev:8 rq:1138687 version:2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-colander/python-colander.changes
2020-04-22 20:51:41.507239465 +0200
+++
/work/SRC/openSUSE:Factory/.python-colander.new.21961/python-colander.changes
2024-01-15 22:19:03.622472156 +0100
@@ -1,0 +2,46 @@
+Sun Jan 14 17:09:21 UTC 2024 - Dirk Müller <[email protected]>
+
+- update to 2.0:
+ * Drop support for Python 2.7, 3.4, 3.5, 3.6.
+ * Add support for Python 3.10, 3.11.
+ * [breaking] If a bytes object is serialized by a String schema
+ node with the encoding parameter specified, it will be passed
+ through directly to str first, causing it to come out with a
+ b'' prefix. In order to serialize it properly, it should be
+ decoded to a string first. Previously, when the encoding
+ parameter was specified it would be decoded and re-encoded,
+ effectively passing it through untouched, despite not being a
+ string type.
+ * Add a new colander.DataURL validator.
+ * Add IDN support to colander.url.
+ * colander.All now supports colander.Invalid.msg being None or
+ a list, otherwise colander.Invalid.asdict crashes with
+ TypeError: sequence item 1: expected str instance, NoneType
+ found.
+ * Fixed an issue with colander.Mapping and colander.Sequence
+ where a default value of drop caused missing values to be
+ dropped during deserialization. (Only missing values should
+ affect deserialization, and only default values should affect
+ serialization.) Added many new test cases for MappingSchema
+ and SequenceSchema.
+ * Remove the dependency on setuptools for resolving
+ pkg_resources-style importable paths in
+ colander.GlobalObject.
+ * Refresh localization files with Babel 2.11.
+ * Add support for Python 3.9.
+ * Fix handling of insert_before on deferred nodes so that it
+ inserts the new node before the specified node instead of
+ always appending to the end of node.children after binding.
+ * Fix the broken wheels in 1.8.1 and 1.8.0 to include the
+ locale data. sigh
+ * Fix the broken wheels in 1.8.0 to include the locale data.
+ * Drop support for Python 3.4.
+ * Add support for Python 3.7 and 3.8.
+ * Fix deserializer on Date and DateTime fields to correctly
+ catch ValueError and TypeError exception, which can arise
+ when using custom formats on the field. Instead of allowing
+ these exceptions to propagate, replace then with an Invalid
+ exception instead.
+- drop fix-tests.patch (obsolete)
+
+-------------------------------------------------------------------
Old:
----
colander-1.7.0.tar.gz
fix-tests.patch
New:
----
colander-2.0.tar.gz
BETA DEBUG BEGIN:
Old: exception instead.
- drop fix-tests.patch (obsolete)
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-colander.spec ++++++
--- /var/tmp/diff_new_pack.Djh7ii/_old 2024-01-15 22:19:04.178492590 +0100
+++ /var/tmp/diff_new_pack.Djh7ii/_new 2024-01-15 22:19:04.182492738 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-colander
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2013-2019 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -19,15 +19,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-colander
-Version: 1.7.0
+Version: 2.0
Release: 0
Summary: A schema-based serialization and deserialization library
License: BSD-4-Clause AND ZPL-2.1 AND MIT
URL: https://github.com/Pylons/colander
Source:
https://files.pythonhosted.org/packages/source/c/colander/colander-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM fix-tests.patch gh#Pylons/colander#210 [email protected]
-# Fix tests to work with pytest (and nose2) as well
-Patch0: fix-tests.patch
+BuildRequires: %{python_module Babel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module translationstring}
BuildRequires: fdupes
@@ -59,8 +57,7 @@
of strings, mappings, and lists.
%prep
-%setup -q -n colander-%{version}
-%autopatch -p1
+%autosetup -p1 -n colander-%{version}
%build
%python_build
++++++ colander-1.7.0.tar.gz -> colander-2.0.tar.gz ++++++
++++ 27953 lines of diff (skipped)