From 9d057885b270cc8f30086416a7dd9ce5449398096bbd635e3325a5a03e4d48cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 24 Jul 2019 08:02:13 +0000 Subject: [PATCH] - 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 --- marshmallow-2.19.2.tar.gz | 3 --- marshmallow-2.19.5.tar.gz | 3 +++ python-marshmallow.changes | 8 ++++++++ python-marshmallow.spec | 27 ++++++++++++++------------- 4 files changed, 25 insertions(+), 16 deletions(-) delete mode 100644 marshmallow-2.19.2.tar.gz create mode 100644 marshmallow-2.19.5.tar.gz diff --git a/marshmallow-2.19.2.tar.gz b/marshmallow-2.19.2.tar.gz deleted file mode 100644 index 2ceb313..0000000 --- a/marshmallow-2.19.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e21a4dea20deb167c723e0ffb13f4cf33bcbbeb8a334e92406a3308cedea2826 -size 155568 diff --git a/marshmallow-2.19.5.tar.gz b/marshmallow-2.19.5.tar.gz new file mode 100644 index 0000000..f44484e --- /dev/null +++ b/marshmallow-2.19.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9cedfc5b6f568d57e8a2cf3d293fbd81b05e5ef557854008d03e25660a39ccfd +size 155874 diff --git a/python-marshmallow.changes b/python-marshmallow.changes index eafe2ca..9319b34 100644 --- a/python-marshmallow.changes +++ b/python-marshmallow.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Jul 24 07:53:46 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-marshmallow.spec b/python-marshmallow.spec index 2848471..eb51672 100644 --- a/python-marshmallow.spec +++ b/python-marshmallow.spec @@ -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