Fix sonic-swss-common builds#27836
Merged
Merged
Conversation
Signed-off-by: Brian Gallagher <bgallagher@nexthop.ai>
Collaborator
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes the common_libs pipeline output so that python3-libyang is built (and therefore included in published artifacts), unblocking downstream builds like sonic-swss-common that depend on the Python libyang bindings.
Changes:
- Extend the
lib-packagesmake target to also build$(LIBYANG3_PY3)(python3-libyang) alongside existing common libraries.
Collaborator
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
yxieca
approved these changes
Jun 13, 2026
Collaborator
|
The change is not in 202605 yet. @bgallagher-nexthop, please manually create the cherry pick PR for branch 202605. ---Powered by SONiC BuildBot
|
9 tasks
Contributor
|
Cherry-pick PR to 202605: #27881 |
Collaborator
|
The change is already in 202605. Removing cherry pick conflict label... ---Powered by SONiC BuildBot
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why I did it
I noticed that the sonic-swss-common build was failing in sonic-net/sonic-swss-common#1205 because the
python3-libyang*.debwere not being published by sonic-buildimage builds.How I did it
This PR fixes the issue by making the common_libs pipeline actually publish
python3-libyang.How to verify it
Ran a local build:
Verified that python3-libyang was built:
Spun up a container, installed the packages and verified libyang can be imported in Python code:
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Fix sonic-swss-common builds
Link to config_db schema for YANG module changes
N/A