Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 507414

Summary: Create virtual for dev-python/mock
Product: Gentoo Linux Reporter: Mike Gilbert <floppym>
Component: [OLD] UnspecifiedAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 564588    
Bug Blocks:    

Description Mike Gilbert gentoo-dev 2014-04-11 14:38:39 UTC
I found this in my IRC backlog.

[Apr 11 02:34:44] <radhermit> mock got added to 3.3
[Apr 11 02:34:57] <radhermit> it needs a virtual and people should quit adding new impls to dev-python/mick
[Apr 11 02:34:59] <radhermit> *mock
[Apr 11 02:38:15] <radhermit> https://docs.python.org/3/library/unittest.mock.html
[Apr 11 02:45:51] <radhermit> I guess I wouldn't really call it a builtin, more that unittest subsumed it >= 3.3

So, a couple of tasks:

1. Create an appropriate virtual.
2. Ensure that any packages which support python3.3+ import it as unittest.mock.

Anyone is free to take the lead on this.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2015-10-31 19:42:21 UTC
I will take care of this.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-04-24 16:15:38 UTC
Are we still going to pursue this?  It seems that people are adding appropriate conditional deps just fine so far, and the case is a bit complex with different namespaces.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-03-28 08:36:19 UTC
It's been done, and now we're killing it ;-).