Skip to content

FTBFS TypeError: expected an Element, not ElementTree since python v3.14.0b4 #335

@nanake

Description

@nanake
FAILED: src/vulkan/utils_gen.c 
/usr/sbin/meson --internal exe --unpickle /stage/placebo/build/meson-private/meson_exe_python3_7cc49e76bc49b02f8ec2d2ef806c262327df05f2.dat
while executing ['/usr/bin/python3', '../src/vulkan/utils_gen.py', '/opt/ffbuild/share', '/stage/placebo/3rdparty/Vulkan-Headers/registry/vk.xml', 'src/vulkan/utils_gen.c']
--- stdout ---

--- stderr ---
Traceback (most recent call last):
  File "/stage/placebo/build/../src/vulkan/utils_gen.py", line 205, in <module>
    registry = VkXML(ET.parse(xmlfile))
  File "/stage/placebo/build/../src/vulkan/utils_gen.py", line 50, in __init__
    super().__init__(*args, **kwargs)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.14/xml/etree/ElementTree.py", line 531, in __init__
    raise TypeError('expected an Element, not %s' %
                    type(element).__name__)
TypeError: expected an Element, not ElementTree

[18/83] Generating src/opengl/include/glad/gl.h with a custom command (wrapped by meson to set env)
ninja: build stopped: subcommand failed.

build failed since python v3.14.0b4.
python/cpython@1a4f92b

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions