- 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-marshmallow?expand=0&rev=13
This commit is contained in:
parent
93c2a012f5
commit
9d057885b2
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e21a4dea20deb167c723e0ffb13f4cf33bcbbeb8a334e92406a3308cedea2826
|
||||
size 155568
|
3
marshmallow-2.19.5.tar.gz
Normal file
3
marshmallow-2.19.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9cedfc5b6f568d57e8a2cf3d293fbd81b05e5ef557854008d03e25660a39ccfd
|
||||
size 155874
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 24 07:53:46 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- 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 <bwiedemann@suse.com>
|
||||
|
||||
|
@ -17,14 +17,13 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{!?license: %global license %doc}
|
||||
Name: python-marshmallow
|
||||
Version: 2.19.2
|
||||
Version: 2.19.5
|
||||
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/
|
||||
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
|
||||
@ -32,6 +31,10 @@ Patch1: reproducible.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-sphinx-issues
|
||||
@ -39,36 +42,34 @@ BuildRequires: python3-sphinx-version-warning
|
||||
# /SECTION
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module python-dateutil}
|
||||
BuildRequires: %{python_module pytz}
|
||||
BuildRequires: %{python_module simplejson}
|
||||
# /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
|
||||
%patch1 -p1
|
||||
# remove py3 only tests
|
||||
rm -r tests/test_py3
|
||||
|
||||
%build
|
||||
%python_build
|
||||
pushd docs
|
||||
make html
|
||||
make %{?_smp_mflags} html
|
||||
rm _build/html/.buildinfo
|
||||
popd
|
||||
|
||||
@ -77,7 +78,7 @@ popd
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc AUTHORS.rst CHANGELOG.rst README.rst
|
||||
|
Loading…
x
Reference in New Issue
Block a user