Hello community, here is the log from the commit of package python-marshmallow for openSUSE:Factory checked in at 2019-04-19 18:36:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-marshmallow (Old) and /work/SRC/openSUSE:Factory/.python-marshmallow.new.5536 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-marshmallow" Fri Apr 19 18:36:09 2019 rev:4 rq:691767 version:2.19.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-marshmallow/python-marshmallow.changes 2019-01-11 14:04:41.815847875 +0100 +++ /work/SRC/openSUSE:Factory/.python-marshmallow.new.5536/python-marshmallow.changes 2019-04-19 18:36:10.667016655 +0200 @@ -1,0 +2,64 @@ +Fri Apr 5 09:07:04 UTC 2019 - Petr Gajdos <[email protected]> + +- 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 + on inheriting schemas (:issue:`956`). Thanks :user:`bmcbu` + for reporting. + - Handle empty SQLAlchemy lazy lists gracefully when dumping (:issue:`948`). + Thanks :user:`vke-code` for the catch and :user:`YuriHeupa` for the patch. + - Respect ``load_from`` when reporting errors for ``@validates('field_name')`` + (:issue:`748`). Thanks :user:`m-novikov` for the catch and patch. + - Fix passing ``only`` as a string to ``nested`` when the passed field + defines ``dump_to`` (:issue:`800`, :issue:`822`). Thanks + :user:`deckar01` for the catch and patch. + - Fix a race condition in validation when concurrent threads use the + same ``Schema`` instance (:issue:`783`). Thanks :user:`yupeng0921` and + :user:`lafrech` for the fix. + - Fix serialization behavior of + ``fields.List(fields.Integer(as_string=True))`` (:issue:`788`). Thanks + :user:`cactus` for reporting and :user:`lafrech` for the fix. + - Fix behavior of ``exclude`` parameter when passed from parent to + nested schemas (:issue:`728`). Thanks :user:`timc13` for reporting and + :user:`deckar01` for the fix. + - :cve:`CVE-2018-17175`: Fix behavior when an empty list is passed as the ``only`` argument + (:issue:`772`). Thanks :user:`deckar01` for reporting and thanks + :user:`lafrech` for the fix. + - Handle ``UnicodeDecodeError`` when deserializing ``bytes`` with a + ``String`` field (:issue:`650`). Thanks :user:`dan-blanchard` for the + suggestion and thanks :user:`4lissonsilveira` for the PR. + - Add ``require_tld`` parameter to ``validate.URL`` (:issue:`664`). + Thanks :user:`sduthil` for the suggestion and the PR. +- added patches + + python-marshmallow-no-version-warning.patch +- deleted patches + + patch-remove-unsupported-theme-option.patch (upstreamed) + +------------------------------------------------------------------- Old: ---- marshmallow-2.13.6.tar.gz patch-remove-unsupported-theme-option.patch New: ---- marshmallow-2.19.1.tar.gz python-marshmallow-no-version-warning.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-marshmallow.spec ++++++ --- /var/tmp/diff_new_pack.gpjPhT/_old 2019-04-19 18:36:11.639017890 +0200 +++ /var/tmp/diff_new_pack.gpjPhT/_new 2019-04-19 18:36:11.651017905 +0200 @@ -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 [email protected] -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 @@ %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 ++++++ marshmallow-2.13.6.tar.gz -> marshmallow-2.19.1.tar.gz ++++++ ++++ 10823 lines of diff (skipped) ++++++ python-marshmallow-no-version-warning.patch ++++++ #I can't look into the issue deeply right now, but you can probably just #comment out 'versionwarning.extension' in docs/conf.py temporarily to get #past the error. # # #StevenLoria.com # # #On Wed, Mar 27, 2019 at 4:56 AM pgajdos <[email protected]> wrote: # #> Hello, #> #> I am currently trying to build above, versions: #> marshmallow 2.19.1 #> sphinx-version-warning 1.1.2, tried also 1.1.1 #> #> I am getting following error: #> #> [ 4s] Exception occurred: #> [ 4s] File #> "/usr/lib/python3.7/site-packages/versionwarning/signals.py", line 66, in #> generate_versionwarning_data_json #> [ 4s] os.mkdir(data_path) #> [ 4s] PermissionError: [Errno 13] Permission denied: #> '/usr/lib/python3.7/site-packages/versionwarning/_static/data' #> [ 4s] The full traceback has been saved in #> /tmp/sphinx-err-ltqp3qvg.log, if you want to report the issue to the #> developers. #> [ 4s] Please also report this if it was a user error, so that a better #> error message can be provided next time. #> [ 4s] A bug report can be filed in the tracker at < #> https://github.com/sphinx-doc/sphinx/issues>. Thanks! #> [ 4s] make: *** [Makefile:53: html] Error 2 #> [ 4s] error: Bad exit status from /var/tmp/rpm-tmp.X6uCeq (%build) #> #> I am perhaps hitting #> # https://github.com/humitos/sphinx-version-warning/issues/22 Index: marshmallow-2.19.1/docs/conf.py =================================================================== --- marshmallow-2.19.1.orig/docs/conf.py 2019-03-16 21:09:37.000000000 +0100 +++ marshmallow-2.19.1/docs/conf.py 2019-04-01 10:00:19.833567622 +0200 @@ -35,7 +35,6 @@ extensions = [ 'sphinx.ext.viewcode', 'alabaster', 'sphinx_issues', - 'versionwarning.extension', ] primary_domain = 'py'
