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


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

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

Path csiph.com!weretis.net!feeder7.news.weretis.net!usenet.goja.nl.eu.org!aioe.org!bofh.it!news.nic.it!robomod
From Valentin Vidić <vvidic@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Help fixing #959558 (case: FTBFS: AttributeError: 'tuple' object has no attribute 'lstrip' with sphinx 2.4)
Date Tue, 26 May 2020 23:30:02 +0200
Message-ID <AaPj4-74V-3@gated-at.bofh.it> (permalink)
References <AaOZH-6YH-5@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Tue May 26 21:24:57 2020
Old-Return-Path <vvidic@valentin-vidic.from.hr>
X-Amavis-Spam-Status No, score=-6.73 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.10.1 (2018-07-13)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/18323
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20200526212440.GN32194@valentin-vidic.from.hr
Approved robomod@news.nic.it
Lines 34
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 26 May 2020 23:24:40 +0200
X-Original-Message-ID <20200526212440.GN32194@valentin-vidic.from.hr>
X-Original-References <3b114f6d-9e07-2fcd-7c0a-3127676c4053@debian.org>
Xref csiph.com linux.debian.maint.python:12618

Show key headers only | View raw


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

Back to linux.debian.maint.python | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web