From b25962487cb796a32d57b3d13f88affaa3d2a6ae Mon Sep 17 00:00:00 2001 From: Joe LeVeque Date: Wed, 16 Jun 2021 17:04:49 -0700 Subject: [PATCH] [sonic-host-services] Add 'parameterized' package as a test dependency (#7900) #### Why I did it Recently, the build started failing with messages like ``` 2021-06-16T16:55:02.8675603Z tests/hostcfgd/hostcfgd_test.py:5: in 2021-06-16T16:55:02.8676208Z from parameterized import parameterized 2021-06-16T16:55:02.8677145Z E ModuleNotFoundError: No module named 'parameterized' ``` Unit tests for hostcfgd depend on the `parameterized` Python package, but it was never added as a dependency to the setup.py file. This dependency was added ~3 months ago. I'm not sure why we only started seeing this failure recently. #### How I did it Add 'parameterized' package as a test dependency in setup.py for sonic-host-services package --- src/sonic-host-services/setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sonic-host-services/setup.py b/src/sonic-host-services/setup.py index 5c1d421bfd..af01f3991b 100644 --- a/src/sonic-host-services/setup.py +++ b/src/sonic-host-services/setup.py @@ -35,6 +35,7 @@ setup( 'wheel' ], tests_require = [ + 'parameterized', 'pytest', 'sonic-py-common' ],