Hello community,
here is the log from the commit of package python-marshmallow for
openSUSE:Leap:15.2 checked in at 2020-03-09 18:08:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-marshmallow (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-marshmallow.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-marshmallow"
Mon Mar 9 18:08:39 2020 rev:11 rq:776782 version:3.2.2
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-marshmallow/python-marshmallow.changes
2020-01-15 15:50:00.663479864 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-marshmallow.new.26092/python-marshmallow.changes
2020-03-09 18:08:40.176964726 +0100
@@ -1,0 +2,141 @@
+Wed Nov 13 15:40:31 UTC 2019 - Sebastian Wagner <[email protected]>
+
+- Update to version 3.2.2:
+ - Bug fixes:
+ - Don't load fields for which ``load_only`` and ``dump_only`` are both
``True`` (:pr:`1448`).
+ - Fix types in ``marshmallow.validate`` (:pr:`1446`).
+ - Support:
+ - Test against Python 3.8 (pr:`1431`).
+
+-------------------------------------------------------------------
+Tue Oct 8 15:03:26 UTC 2019 - Marketa Calabkova <[email protected]>
+
+- Update to 3.2.1
+ * Fix typing for Schema.dump[s]
+ * Fix compatibility with Python < 3.5.3
+ * Fix bug that raised an uncaught error when a nested schema
+ instance had an unpickleable object in its context
+ * Fix propagating dot-delimited only and exclude parameters to
+ nested schema instances
+ * Few bug fixes
+
+-------------------------------------------------------------------
+Wed Sep 11 12:45:35 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 3.0.3:
+ * Handle when data_key is an empty string
+ * Includes bug fix from 2.20.3
+ * Fix incorrect super() call in SchemaMeta.__init__
+
+-------------------------------------------------------------------
+Mon Aug 26 14:10:28 UTC 2019 - Marketa Calabkova <[email protected]>
+
+- Update to 3.0.1
+ * Many changes, some of them breaking. For example:
+ * Remove support for Python 2 (#1120). Only Python>=3.5 is supported.
+ * Allow input value to be included in error messages for a number of fields.
+ * Change ordering of keys and values arguments to fields.Dict.
+ * Please read upstream changelog.
+- Drop upstreamed patches reproducible.patch and pytest5.patch
+
+-------------------------------------------------------------------
+Wed Jul 31 09:13:51 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Add patch to fix building with pytest5 from upstream git:
+ * pytest5.patch
+
+-------------------------------------------------------------------
+Wed Jul 24 07:53:46 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 2.19.5:
+ * Fix deserializing ISO8601-formatted datetimes with less than 6-digit
miroseconds (:issue:`1251`). Thanks :user:`diego-plan9` for reporting.
+ * Microseconds no longer gets lost when deserializing datetimes without
dateutil installed (:issue:`1147`).
+ * Fix bug where nested fields in Meta.exclude would not work on multiple
instantiations (:issue:`1212`). Thanks :user:`MHannila` for reporting.
+
+-------------------------------------------------------------------
+Tue May 28 09:46:25 UTC 2019 - Bernhard Wiedemann <[email protected]>
+
+- Add reproducible.patch to make build reproducible (boo#1047218)
+
+-------------------------------------------------------------------
+Fri May 17 14:38:06 UTC 2019 - Marketa Calabkova <[email protected]>
+
+- Update to version 2.19.2
+ * Handle OverflowError when (de)serializing large integers with
+ fields.Float
+
+-------------------------------------------------------------------
+Fri Apr 5 09:07:04 UTC 2019 - Petr Gajdos <[email protected]>
+
+- version update to 2.19.1
+ - Fix bug where ``Nested(many=True)`` would skip first element when
+ serializing a generator (:issue:`1163`). Thanks :user:`khvn26` for the
+ catch and patch.
+ - A `RemovedInMarshmallow3` warning is raised when using
+ `fields.FormattedString`. Use `fields.Method` or `fields.Function`
+ instead (:issue:`1141`).
+ - A ``ChangedInMarshmallow3Warning`` is no longer raised when
+ ``strict=False`` (:issue:`1108`). Thanks :user:`Aegdesil` for
+ reporting.
+ - Add warnings for functions in ``marshmallow.utils`` that are removed in
+ marshmallow 3.
+ - Copying ``missing`` with ``copy.copy`` or ``copy.deepcopy`` will not
+ duplicate it (:pr:`1099`).
+ - Add ``marshmallow.__version_info__`` (:pr:`1074`).
+ - Add warnings for API that is deprecated or changed to help users
+ prepare for marshmallow 3 (:pr:`1075`).
+ - Prevent memory leak when dynamically creating classes with ``type()``
+ (:issue:`732`). Thanks :user:`asmodehn` for writing the tests to
+ reproduce this issue.
+ - Prevent warning about importing from ``collections`` on Python 3.7
+ (:issue:`1027`). Thanks :user:`nkonin` for reporting and
+ :user:`jmargeta` for the PR.
+ - Remove spurious warning about implicit collection handling
+ (:issue:`998`). Thanks :user:`lalvarezguillen` for reporting.
+ - Allow username without password in basic auth part of the url in
+ ``fields.Url`` (:pr:`982`). Thanks user:`alefnula` for the PR.
+ - Prevent ``TypeError`` when a non-collection is passed to a ``Schema`` with
``many=True``.
+ Instead, raise ``ValidationError`` with ``{'_schema': ['Invalid input
type.']}`` (:issue:`906`).
+ - Fix ``root`` attribute for nested container fields on list
+ on inheriting schemas (:issue:`956`). Thanks :user:`bmcbu`
+ for reporting.
+ - Handle empty SQLAlchemy lazy lists gracefully when dumping (:issue:`948`).
+ Thanks :user:`vke-code` for the catch and :user:`YuriHeupa` for the patch.
+ - Respect ``load_from`` when reporting errors for
``@validates('field_name')``
+ (:issue:`748`). Thanks :user:`m-novikov` for the catch and patch.
+ - Fix passing ``only`` as a string to ``nested`` when the passed field
+ defines ``dump_to`` (:issue:`800`, :issue:`822`). Thanks
+ :user:`deckar01` for the catch and patch.
+ - Fix a race condition in validation when concurrent threads use the
+ same ``Schema`` instance (:issue:`783`). Thanks :user:`yupeng0921` and
+ :user:`lafrech` for the fix.
+ - Fix serialization behavior of
+ ``fields.List(fields.Integer(as_string=True))`` (:issue:`788`). Thanks
+ :user:`cactus` for reporting and :user:`lafrech` for the fix.
+ - Fix behavior of ``exclude`` parameter when passed from parent to
+ nested schemas (:issue:`728`). Thanks :user:`timc13` for reporting and
+ :user:`deckar01` for the fix.
+ - :cve:`CVE-2018-17175`: Fix behavior when an empty list is passed as the
``only`` argument
+ (:issue:`772`). Thanks :user:`deckar01` for reporting and thanks
+ :user:`lafrech` for the fix.
+ - Handle ``UnicodeDecodeError`` when deserializing ``bytes`` with a
+ ``String`` field (:issue:`650`). Thanks :user:`dan-blanchard` for the
+ suggestion and thanks :user:`4lissonsilveira` for the PR.
+ - Add ``require_tld`` parameter to ``validate.URL`` (:issue:`664`).
+ Thanks :user:`sduthil` for the suggestion and the PR.
+- added patches
+ + python-marshmallow-no-version-warning.patch
+- deleted patches
+ + patch-remove-unsupported-theme-option.patch (upstreamed)
+
+-------------------------------------------------------------------
+Wed Dec 19 00:15:31 UTC 2018 - Jan Engelhardt <[email protected]>
+
+- Use noun phrase in summary.
+
+-------------------------------------------------------------------
+Tue Dec 4 12:50:18 UTC 2018 - Matej Cepl <[email protected]>
+
+- Remove superfluous devel dependency for noarch package
+
+-------------------------------------------------------------------
Old:
----
marshmallow-2.13.6.tar.gz
patch-remove-unsupported-theme-option.patch
New:
----
marshmallow-3.2.2.tar.gz
python-marshmallow-no-version-warning.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-marshmallow.spec ++++++
--- /var/tmp/diff_new_pack.4eFj8Y/_old 2020-03-09 18:08:40.468965145 +0100
+++ /var/tmp/diff_new_pack.4eFj8Y/_new 2020-03-09 18:08:40.468965145 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-marshmallow
#
-# Copyright (c) 2017 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
@@ -12,72 +12,68 @@
# 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/
+#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%{!?license: %global license %doc}
-%bcond_without test
+%define skip_python2 1
Name: python-marshmallow
-Version: 2.13.6
+Version: 3.2.2
Release: 0
+Summary: ORM/ODM/framework-agnostic library to convert datatypes
from/to Python types
License: MIT AND BSD-3-Clause
-Summary: Converting complex datatypes to and from native Python
datatypes
-Url: http://marshmallow.readthedocs.io/
Group: Development/Languages/Python
+URL: https://marshmallow.readthedocs.io/
Source:
https://files.pythonhosted.org/packages/source/m/marshmallow/marshmallow-%{version}.tar.gz
-# PATCH-FIX-OPENSUSE patch-remove-unsupported-theme-option.patch
[email protected]
-Patch0: patch-remove-unsupported-theme-option.patch
-BuildRequires: python-rpm-macros
-BuildRequires: %{python_module devel}
+# https://github.com/humitos/sphinx-version-warning/issues/22
+Patch0: python-marshmallow-no-version-warning.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
+BuildRequires: python-rpm-macros
+Suggests: %{name}-docs
+Suggests: python-python-dateutil
+Suggests: python-simplejson
+BuildArch: noarch
+# SECTION doc build requirements
BuildRequires: python3-Sphinx
+BuildRequires: python3-alabaster
BuildRequires: python3-sphinx-issues
+BuildRequires: python3-sphinx-version-warning
+# /SECTION
# SECTION test requirements
-%if %{with test}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module simplejson}
-%endif
# /SECTION
-Suggests: python-python-dateutil
-Suggests: python-simplejson
-Suggests: %{name}-docs
-BuildArch: noarch
-
%python_subpackages
%package -n %{name}-docs
-Summary: Documentation files for %name
+Summary: Documentation files for %{name}
Group: Documentation/Other
%description
marshmallow is an ORM/ODM/framework-agnostic library for converting complex
datatypes, such as objects, to and from native Python datatypes.
-%description -n %name-docs
-HTML Documentation and examples for %name.
+%description -n %{name}-docs
+HTML Documentation and examples for %{name}.
%prep
%setup -q -n marshmallow-%{version}
-%patch0 -p1
+%autopatch -p1
%build
%python_build
-pushd docs
-make html
-rm _build/html/.buildinfo
-popd
+sphinx-build docs/ docs/_build/html
+rm -r docs/_build/html/.buildinfo docs/_build/html/.doctrees
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%if %{with test}
%check
-%python_exec setup.py test
-%endif
+%pytest
%files %{python_files}
%doc AUTHORS.rst CHANGELOG.rst README.rst
++++++ marshmallow-2.13.6.tar.gz -> marshmallow-3.2.2.tar.gz ++++++
++++ 28687 lines of diff (skipped)
++++++ python-marshmallow-no-version-warning.patch ++++++
#I can't look into the issue deeply right now, but you can probably just
#comment out 'versionwarning.extension' in docs/conf.py temporarily to get
#past the error.
#
#
#StevenLoria.com
#
#
#On Wed, Mar 27, 2019 at 4:56 AM pgajdos <[email protected]> wrote:
#
#> Hello,
#>
#> I am currently trying to build above, versions:
#> marshmallow 2.19.1
#> sphinx-version-warning 1.1.2, tried also 1.1.1
#>
#> I am getting following error:
#>
#> [ 4s] Exception occurred:
#> [ 4s] File
#> "/usr/lib/python3.7/site-packages/versionwarning/signals.py", line 66, in
#> generate_versionwarning_data_json
#> [ 4s] os.mkdir(data_path)
#> [ 4s] PermissionError: [Errno 13] Permission denied:
#> '/usr/lib/python3.7/site-packages/versionwarning/_static/data'
#> [ 4s] The full traceback has been saved in
#> /tmp/sphinx-err-ltqp3qvg.log, if you want to report the issue to the
#> developers.
#> [ 4s] Please also report this if it was a user error, so that a better
#> error message can be provided next time.
#> [ 4s] A bug report can be filed in the tracker at <
#> https://github.com/sphinx-doc/sphinx/issues>. Thanks!
#> [ 4s] make: *** [Makefile:53: html] Error 2
#> [ 4s] error: Bad exit status from /var/tmp/rpm-tmp.X6uCeq (%build)
#>
#> I am perhaps hitting
#>
# https://github.com/humitos/sphinx-version-warning/issues/22
Index: marshmallow-3.0.1/docs/conf.py
===================================================================
--- marshmallow-3.0.1.orig/docs/conf.py
+++ marshmallow-3.0.1/docs/conf.py
@@ -35,7 +35,6 @@ extensions = [
"sphinx.ext.viewcode",
"alabaster",
"sphinx_issues",
- "versionwarning.extension",
]
primary_domain = "py"