From 213334cc5c0ac7a9e856250a68e5a4139677314e Mon Sep 17 00:00:00 2001 From: Brian Gallagher Date: Thu, 11 Jun 2026 20:52:29 +0000 Subject: [PATCH] Fix sonic-swss-common build Signed-off-by: Brian Gallagher --- .azure-pipelines/build-template.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.azure-pipelines/build-template.yml b/.azure-pipelines/build-template.yml index 0402ea43e..317c87e8f 100644 --- a/.azure-pipelines/build-template.yml +++ b/.azure-pipelines/build-template.yml @@ -106,6 +106,10 @@ jobs: - script: | set -ex sudo dpkg -i $(find ./download -name *.deb) + # common-lib doesn't publish python3-libyang (LIBYANG3_PY3 isn't in + # slave.mk's lib-packages), so install the CFFI bindings from PyPI; + # they link against the libyang3 we just installed. + sudo pip3 install --no-build-isolation 'libyang==3.3.0' workingDirectory: $(Build.ArtifactStagingDirectory) displayName: "Install libyang from common lib" - task: DownloadPipelineArtifact@2