[Bug 4146] New: Pytools generates exception if nested packages are detected


bugzilla-daemon@...
 

https://bugzilla.tianocore.org/show_bug.cgi?id=4146

Bug ID: 4146
Summary: Pytools generates exception if nested packages are
detected
Product: EDK2
Version: Current
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Lowest
Component: Tools
Assignee: unassigned@...
Reporter: michael.d.kinney@...
CC: edk2+bugs+int+994+563148131503455288@groups.io

edk2-pytool-library raises an exception if nested packages are
detected. Nested packages are now allowed by the edk2 specifications,
so this check is valid.

However, there are downstream consumers that have nested packages
and it will take time to resolve those and follow the edk2 specifications.

The edk2-pytools-library version 0.12.0 adds support for an environment
variable PYTOOL_TEMPORARILY_IGNORE_NESTED_EDK_PACKAGES that when set to
true will not raise an exception and instead generates WARNING messages
identifying the nested package that was detected.

pip-requirements.txt should be updated to use edk2-pytools-library
version 0.12.0 to allow downstream consumers to use pytools without
raising an exception.

This issue must be resolved for edk2-stable202211 tag.

--
You are receiving this mail because:
You are on the CC list for the bug.