Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #12618 > unrolled thread

Re: Help fixing #959558 (case: FTBFS: AttributeError: 'tuple' object has no attribute 'lstrip' with sphinx 2.4)

Started byValentin Vidić <vvidic@debian.org>
First post2020-05-26 23:30 +0200
Last post2020-05-26 23:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.maint.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Help fixing #959558 (case: FTBFS: AttributeError: 'tuple' object  has no attribute 'lstrip' with sphinx 2.4) Valentin Vidić <vvidic@debian.org> - 2020-05-26 23:30 +0200

#12618 — Re: Help fixing #959558 (case: FTBFS: AttributeError: 'tuple' object has no attribute 'lstrip' with sphinx 2.4)

FromValentin Vidić <vvidic@debian.org>
Date2020-05-26 23:30 +0200
SubjectRe: Help fixing #959558 (case: FTBFS: AttributeError: 'tuple' object has no attribute 'lstrip' with sphinx 2.4)
Message-ID<AaPj4-74V-3@gated-at.bofh.it>
On Tue, May 26, 2020 at 10:24:37PM +0200, Thomas Goirand wrote:
> Does any of you knows how to fix this bug?
> https://bugs.debian.org/959558
> 
> Almost all of OpenStack can removed from Bullseye if not fixed in time,
> so I tried to fix, but couldn't.

Does this help?

--- case/mock.py.orig   2020-05-26 21:21:01.420069652 +0000
+++ case/mock.py        2020-05-26 21:21:09.316117783 +0000
@@ -38,13 +38,13 @@
     module_name_t = bytes  # noqa
 
 __all__ = [
-    'ANY', 'ContextMock', 'MagicMock', 'Mock', 'MockCallbacks',
-    'call', 'patch', 'sentinel',
+    b'ANY', b'ContextMock', b'MagicMock', b'Mock', b'MockCallbacks',
+    b'call', b'patch', b'sentinel',
 
-    'wrap_logger', 'environ', 'sleepdeprived', 'mask_modules', 'mute',
-    'stdouts', 'replace_module_value', 'sys_version', 'pypy_version',
-    'platform_pyimp', 'sys_platform', 'reset_modules', 'module',
-    'open', 'restore_logging', 'module_exists', 'create_patcher',
+    b'wrap_logger', b'environ', b'sleepdeprived', b'mask_modules', b'mute',
+    b'stdouts', b'replace_module_value', b'sys_version', b'pypy_version',
+    b'platform_pyimp', b'sys_platform', b'reset_modules', b'module',
+    b'open', b'restore_logging', b'module_exists', b'create_patcher',
 ]
 
 ANY = mock.ANY

-- 
Valentin

[toc] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web