Skip to content

Commit

Permalink
[sonic-utilities] Add Python 3 sonic-yang-mgmt package as a dependency (
Browse files Browse the repository at this point in the history
sonic-net#5903)

Add Python 3 sonic-yang-mgmt package as a dependency in sonic-utilities makefile.

Recently updated the sonic-utilities Jenkins build environment [here](Azure/sonic-build-tools#185) to begin running tests on the Python 3 version of the sonic-utilities package. However, the build is failing because it attempts to copy the Python 3 sonic-yang-mgmt package from the artifacts of the latest VS build, but the package does not exist because there are no targets which specify it as a dependency. This PR will ensure the Python 3 package is built during the image build process.
  • Loading branch information
jleveque authored and santhosh-kt committed Feb 25, 2021
1 parent 504aee5 commit e4cec02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rules/sonic-utilities.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ $(SONIC_UTILITIES_PY2)_DEPENDS += $(SONIC_PY_COMMON_PY2) \
$(SWSSSDK_PY2) \
$(SONIC_CONFIG_ENGINE_PY2) \
$(SONIC_YANG_MGMT_PY2) \
$(SONIC_YANG_MGMT_PY3) \
$(SONIC_YANG_MODELS_PY3)
$(SONIC_UTILITIES_PY2)_DEBS_DEPENDS = $(LIBYANG) \
$(LIBYANG_CPP) \
Expand Down

0 comments on commit e4cec02

Please sign in to comment.