From e4cec02e137a531688c7a1eaf6fdd678b987398a Mon Sep 17 00:00:00 2001 From: Joe LeVeque Date: Wed, 11 Nov 2020 17:58:35 -0800 Subject: [PATCH] [sonic-utilities] Add Python 3 sonic-yang-mgmt package as a dependency (#5903) Add Python 3 sonic-yang-mgmt package as a dependency in sonic-utilities makefile. Recently updated the sonic-utilities Jenkins build environment [here](https://github.com/Azure/sonic-build-tools/pull/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. --- rules/sonic-utilities.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/sonic-utilities.mk b/rules/sonic-utilities.mk index aef970200fb7..db796b189b40 100644 --- a/rules/sonic-utilities.mk +++ b/rules/sonic-utilities.mk @@ -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) \