On 6/23/22 08:44, Lucas Nussbaum wrote:
python-openstacksdk fails to build with Sphinx 5.0 and docutils 0.18, both of 
which
are currently available in experimental.

======================================================================
FAIL: openstack.tests.unit.identity.v2.test_role.TestRole.test_make_it
openstack.tests.unit.identity.v2.test_role.TestRole.test_make_it
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
   File "/<<PKGBUILDDIR>>/openstack/tests/unit/base.py", line 110, in setUp
     config = tempfile.NamedTemporaryFile(delete=False)
   File "/usr/lib/python3.9/tempfile.py", line 686, in NamedTemporaryFile
     file = _io.open(fd, mode, buffering=buffering,
IsADirectoryError: [Errno 21] Is a directory: 3


----------------------------------------------------------------------
Ran 3856 tests in 42.074s

FAILED (failures=1, skipped=1)

Hi Lucas,

I tried rebuilding the package, both with a normal unstable chroot, and with experimental and sphinx + docutils forced version in d/control, and I couldn't reproduce the above. Reading the stack dump gives a weird feeling, because in a normal environment, tempfile.NamedTemporaryFile() would just work. If there was a bug, it'd be in the standard Python library, which doesn't feel right either.

Your thoughts?

Cheers,

Thomas Goirand (zigo)

Reply via email to