diff options
author | Rebecca Cran <rebecca@bsdio.com> | 2025-05-26 13:52:09 -0600 |
---|---|---|
committer | Rebecca Cran <rebecca@bsdio.com> | 2025-05-26 17:09:27 -0600 |
commit | 4a7dd504d9ad9e1192de3546cfc35fbf581b3858 (patch) | |
tree | edf63c3da47ad3783117cc41ba41e12056d3f7c7 /BaseTools/Source/Python/sitecustomize.py | |
parent | a78f525634cbc059848170e072631cae86126ea3 (diff) | |
download | edk2-4a7dd504d9ad9e1192de3546cfc35fbf581b3858.zip edk2-4a7dd504d9ad9e1192de3546cfc35fbf581b3858.tar.gz edk2-4a7dd504d9ad9e1192de3546cfc35fbf581b3858.tar.bz2 |
pip-requirements.txt: Restrict antlr4-python3-runtime to 4.9
The ATN is serialized in different formats between antlr4-python3-runtime
4.9 and 4.10, meaning the latter can't deserialize data from the
former. See https://github.com/antlr/antlr4/issues/4568.
Until the file is updated and antlr-python3-runtime 4.10 or newer
is required, restrict us to using version 4.9.
This fixes the following error seen when using Python 3.13.3 and
antlr4-python3-runtime 4.13.2:
Run ECC tool for the commit in SecurityPkg/DeviceSecurity/SpdmLib/Include/hal
...
self.checkVersion()
~~~~~~~~~~~~~~~~~^^
File ".../venv/lib/python3.13/site-packages/antlr4/atn/ATNDeserializer.py",
line 50, in checkVersion
raise Exception("Could not deserialize ATN with version {} (expected {}).".
format(ord(version), SERIALIZED_VERSION))
Exception: Could not deserialize ATN with version 3 (expected 4).
Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Diffstat (limited to 'BaseTools/Source/Python/sitecustomize.py')
0 files changed, 0 insertions, 0 deletions