Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rules/sonic-utilities.mk] Add sonic-yang-mgmt as build time dependency #4798

Merged
merged 1 commit into from
Jun 19, 2020

Conversation

praveen-li
Copy link
Member

@praveen-li praveen-li commented Jun 18, 2020

To run the unit test for sonic-utilities/config/config_mgmt.py, we need sonic-yang-mgmt.
It is decided to not mock sonic-yang-mgmt because config_mgmt is highly dependent on sonic-yang-mgmt.
So It is good to catch any compatibility issues during build time rather than run time.
Signed-off-by: Praveen Chaudhary pchaudhary@linkedin.com

- Why I did it
Add sonic-yang-mgmt as build time dependency for sonic-utilities.

- How I did it
Change wheel_depends in rules/sonic-utilities.mk.

- How to verify it
Test Will Run after merging:
sonic-net/sonic-utilities#765
sonic-net/sonic-utilities#947

Results are in sonic-net/sonic-utilities#947

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

…ncy for sonic-utilities.

To run the unit test for sonic-utilities/config/config_mgmt.py, we need sonic-yang-mgmt.
It is decided to not mock sonic-yang-mgmt because config_mgmt is highly dependent on sonic-yang-mgmt.
So It is good to catch any compatibility issues during build time rather than run time.
Signed-off-by: Praveen Chaudhary pchaudhary@linkedin.com
@praveen-li
Copy link
Member Author

@jleveque

Hi Joe, Will it be possible for you to merge this PR. I need it to run test cases for PR 765. As discussed my test depend on sonic_yang. Thx.

@jleveque jleveque changed the title [rules/sonic-utilities.mk]: Add sonic-yang-mgmt as build time depende… [rules/sonic-utilities.mk] Add sonic-yang-mgmt as build time dependency Jun 19, 2020
@jleveque jleveque merged commit 7306de4 into sonic-net:master Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants