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

2020-05-26 Thread Valentin Vidić
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 +
+++ case/mock.py2020-05-26 21:21:09.316117783 +
@@ -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



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

2020-05-26 Thread Scott Talbert

On Tue, 26 May 2020, Thomas Goirand wrote:


Hi there!

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.


It looks like it's a bug in sphinx.  I tried sphinx 3.0.4 and it seems to 
work fine.  2.4.4 still has the problem, however.


Dmitry, do you plan to update to sphinx 3.0.x soon?

Scott



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

2020-05-26 Thread Thomas Goirand
Hi there!

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.

Cheers,

Thomas Goirand (zigo)