mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-10-08 18:25:05 +00:00
The latest version of the elementpath library (i.e. 2.5.0) fails to evaluate an XPATH which feeds a union of node sets to the `distinct-values` function. An exception will be raised in such case, which eventually causes the hypervisor build to fail. This patch removes the usage of `distinct-values` function in the XPATH. This may cause some additional delays to the evaluation of the assertion, but at least will not impact the build even the latest versions of the Python libraries are used. Tracked-On: #7372 Signed-off-by: Junjie Mao <junjie.mao@intel.com>