On Mon, Jul 6, 2020 at 11:47 AM Trevor Gamblin <trevor.gamblin@windriver.com> wrote:


On 7/6/20 11:01 AM, Tim Orling wrote:


On Mon, Jul 6, 2020 at 7:51 AM Khem Raj <raj.khem@gmail.com> wrote:
python3-mock does not exist as independent package

Sakib,
Perhaps you were bringing it in from meta-cloud-services?
Yeah, he's been adding things to support python3-requests-toolbelt (with my help), but we missed that dependency. I think requests-toolbelt is minor enough (while being a useful addition) that it should be in meta-python alongside python3-requests, so for completeness' sake we should move python3-mock in as well.

There are other things that need python3-mock to run ptests (not that I remember an example off the top of my head at the moment), so I agree this makes sense. Please coordinate with meta-cloud-services maintainers to make sure they don’t have any concerns.


Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Sakib Sajal <sakib.sajal@windriver.com>
---
 .../recipes-devtools/python/python3-requests-toolbelt_0.9.1.bb   | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-requests-toolbelt_0.9.1.bb b/meta-python/recipes-devtools/python/python3-requests-toolbelt_0.9.1.bb
index e075c019d0..27d122cd52 100644
--- a/meta-python/recipes-devtools/python/python3-requests-toolbelt_0.9.1.bb
+++ b/meta-python/recipes-devtools/python/python3-requests-toolbelt_0.9.1.bb
@@ -20,7 +20,6 @@ RDEPENDS_${PN} += " \
 RDEPENDS_${PN}-ptest += " \
        ${PYTHON_PN}-pytest \
        ${PYTHON_PN}-betamax \
-       ${PYTHON_PN}-mock \
 "

 do_install_ptest() {
--
2.27.0