- 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
This commit is contained in:
Steve Kowalik 2020-08-21 06:21:24 +00:00 committed by Git OBS Bridge
parent 141efcaa63
commit 0e0a7c1aa2
5 changed files with 24 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:90854221bbb1498d003a0c3cc9d8390259137551917961c8b5258c64026b2f85
size 168839

3
marshmallow-3.7.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a2a5eefb4b75a3b43f05be1cca0b6686adf56af7465c3ca629e5ad8d1e1fe13d
size 170952

View File

@ -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"

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Aug 21 06:15:41 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
- 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

View File

@ -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