python-marshmallow/python-marshmallow-no-version-warning.patch
Steve Kowalik 0e0a7c1aa2 - 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
2020-08-21 06:21:24 +00:00

51 lines
1.6 KiB
Diff

#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 <pgajdos@suse.cz> 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-3.7.1/docs/conf.py
===================================================================
--- 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",
]