TypeError when running during flatpak build
I am using blueprint-compiler during a flatpak build, in the way described by the documentation. This worked for a while, but now, I always get the following error:
Traceback (most recent call last):
File "/app/bin/blueprint-compiler", line 37, in <module>
from blueprintcompiler import main
File "/app/lib/python3.9/site-packages/blueprintcompiler/main.py", line 25, in <module>
from .lsp import LanguageServer
File "/app/lib/python3.9/site-packages/blueprintcompiler/lsp.py", line 24, in <module>
from .completions import complete
File "/app/lib/python3.9/site-packages/blueprintcompiler/completions.py", line 22, in <module>
from . import gir, language
File "/app/lib/python3.9/site-packages/blueprintcompiler/language/__init__.py", line 1, in <module>
from .attributes import BaseAttribute, BaseTypedAttribute
File "/app/lib/python3.9/site-packages/blueprintcompiler/language/attributes.py", line 21, in <module>
from .values import Value, TranslatedStringValue
File "/app/lib/python3.9/site-packages/blueprintcompiler/language/values.py", line 29, in <module>
class TranslatedStringValue(Value):
File "/app/lib/python3.9/site-packages/blueprintcompiler/language/values.py", line 53, in TranslatedStringValue
def context(self) -> str | None:
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
Please tell me what I can do fix this issue.