forked from pool/python-marshmallow
Accepting request 691765 from home:pgajdos
- 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
OBS-URL: https://build.opensuse.org/request/show/691765
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-marshmallow?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
20e3a322be
commit
8b5db69938
@@ -18,28 +18,28 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{!?license: %global license %doc}
|
||||
%bcond_without test
|
||||
Name: python-marshmallow
|
||||
Version: 2.13.6
|
||||
Version: 2.19.1
|
||||
Release: 0
|
||||
Summary: ORM/ODM/framework-agnostic library to convert datatypes from/to Python types
|
||||
License: MIT AND BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: http://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 sebix+novell.com@sebix.at
|
||||
Patch0: patch-remove-unsupported-theme-option.patch
|
||||
# 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
|
||||
# SECTION doc build requirements
|
||||
BuildRequires: python3-Sphinx
|
||||
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
|
||||
@@ -74,10 +74,8 @@ popd
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%doc AUTHORS.rst CHANGELOG.rst README.rst
|
||||
|
||||
Reference in New Issue
Block a user