In the pip distribution (at least on windows), in flatbuffers\compat.py, it uses imp, which is removed in python 3.12, so I had to monkey patch it to use importlib instead to make the library work properly.
I couldn't find that code anywhere, so I suppose it is in some pip package source somewhere, otherwise I'd made a PR.
Hi!
In the pip distribution (at least on windows), in flatbuffers\compat.py, it uses imp, which is removed in python 3.12, so I had to monkey patch it to use importlib instead to make the library work properly.
I couldn't find that code anywhere, so I suppose it is in some pip package source somewhere, otherwise I'd made a PR.