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>
20 lines
586 B
Plaintext
20 lines
586 B
Plaintext
## @file
|
|
# EDK II Python PIP requirements file
|
|
#
|
|
# This file provides the list of python components to install using PIP.
|
|
#
|
|
# Copyright (c) Microsoft Corporation.
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
# https://pypi.org/project/pip/
|
|
# https://pip.pypa.io/en/stable/user_guide/#requirements-files
|
|
# https://pip.pypa.io/en/stable/reference/requirements-file-format
|
|
# https://www.python.org/dev/peps/pep-0440/#version-specifiers
|
|
##
|
|
|
|
edk2-pytool-library~=0.23.0
|
|
edk2-pytool-extensions~=0.29.0
|
|
antlr4-python3-runtime==4.9
|
|
lcov-cobertura==2.1.1
|
|
regex==2024.11.6
|