From 0e0a7c1aa22414e3e8fb6ef024b3c1d3059aba0d9cfd57f2c5908f72b7070ac2 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Fri, 21 Aug 2020 06:21:24 +0000 Subject: [PATCH] - Update to 3.7.1: * Deprecations: + `marshmallow.pprint` is deprecated and will be removed in marshmallow 4 (:issue:`1588`). * Features: + Add ``validators.ContainsNoneOf`` (:issue:`1528`). * Bug fixes: + Fix typing in ``class_registry`` (:pr:`1574`). Thanks :user:`mahenzon`. + Fix passing ``only`` and ``exclude`` to ``Nested`` with an ordered ``Schema`` (:pr:`1627`). + ``fields.Boolean`` correctly serializes non-hashable types (:pr:`1633`). - Refresh patch python-marshmallow-no-version-warning.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-marshmallow?expand=0&rev=27 --- marshmallow-3.5.1.tar.gz | 3 --- marshmallow-3.7.1.tar.gz | 3 +++ python-marshmallow-no-version-warning.patch | 10 +++++----- python-marshmallow.changes | 14 ++++++++++++++ python-marshmallow.spec | 3 ++- 5 files changed, 24 insertions(+), 9 deletions(-) delete mode 100644 marshmallow-3.5.1.tar.gz create mode 100644 marshmallow-3.7.1.tar.gz diff --git a/marshmallow-3.5.1.tar.gz b/marshmallow-3.5.1.tar.gz deleted file mode 100644 index 2b803a8..0000000 --- a/marshmallow-3.5.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:90854221bbb1498d003a0c3cc9d8390259137551917961c8b5258c64026b2f85 -size 168839 diff --git a/marshmallow-3.7.1.tar.gz b/marshmallow-3.7.1.tar.gz new file mode 100644 index 0000000..a5d4805 --- /dev/null +++ b/marshmallow-3.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a2a5eefb4b75a3b43f05be1cca0b6686adf56af7465c3ca629e5ad8d1e1fe13d +size 170952 diff --git a/python-marshmallow-no-version-warning.patch b/python-marshmallow-no-version-warning.patch index f2e5095..6849b57 100644 --- a/python-marshmallow-no-version-warning.patch +++ b/python-marshmallow-no-version-warning.patch @@ -36,15 +36,15 @@ #> I am perhaps hitting #> # https://github.com/humitos/sphinx-version-warning/issues/22 -Index: marshmallow-3.0.1/docs/conf.py +Index: marshmallow-3.7.1/docs/conf.py =================================================================== ---- marshmallow-3.0.1.orig/docs/conf.py -+++ marshmallow-3.0.1/docs/conf.py -@@ -35,7 +35,6 @@ extensions = [ +--- marshmallow-3.7.1.orig/docs/conf.py ++++ marshmallow-3.7.1/docs/conf.py +@@ -14,7 +14,6 @@ extensions = [ "sphinx.ext.viewcode", "alabaster", "sphinx_issues", - "versionwarning.extension", + "autodocsumm", ] - primary_domain = "py" diff --git a/python-marshmallow.changes b/python-marshmallow.changes index 4b48294..ba43832 100644 --- a/python-marshmallow.changes +++ b/python-marshmallow.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Fri Aug 21 06:15:41 UTC 2020 - Steve Kowalik + +- Update to 3.7.1: + * Deprecations: + + `marshmallow.pprint` is deprecated and will be removed in marshmallow 4 (:issue:`1588`). + * Features: + + Add ``validators.ContainsNoneOf`` (:issue:`1528`). + * Bug fixes: + + Fix typing in ``class_registry`` (:pr:`1574`). Thanks :user:`mahenzon`. + + Fix passing ``only`` and ``exclude`` to ``Nested`` with an ordered ``Schema`` (:pr:`1627`). + + ``fields.Boolean`` correctly serializes non-hashable types (:pr:`1633`). +- Refresh patch python-marshmallow-no-version-warning.patch + ------------------------------------------------------------------- Wed Apr 1 09:10:03 UTC 2020 - pgajdos@suse.com diff --git a/python-marshmallow.spec b/python-marshmallow.spec index fcfe806..55be45b 100644 --- a/python-marshmallow.spec +++ b/python-marshmallow.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-marshmallow -Version: 3.5.1 +Version: 3.7.1 Release: 0 Summary: ORM/ODM/framework-agnostic library to convert datatypes from/to Python types License: MIT AND BSD-3-Clause @@ -28,6 +28,7 @@ URL: https://marshmallow.readthedocs.io/ Source: https://files.pythonhosted.org/packages/source/m/marshmallow/marshmallow-%{version}.tar.gz # https://github.com/humitos/sphinx-version-warning/issues/22 Patch0: python-marshmallow-no-version-warning.patch +BuildRequires: %{python_module autodocsumm} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros