Python programming - Wayland and Vulkan not working

I’m currently poking around making Vulkan surface inside program on Ubuntu with Python.
For some reason the code informs that the display in use does not support Wayland, though Ubuntu uses Wayland. Who should I contact with the code example to see what kind of problem is in question?

Here is one possible clue.