Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507414 - Create virtual for dev-python/mock
Summary: Create virtual for dev-python/mock
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on: 564588
Blocks:
  Show dependency tree
 
Reported: 2014-04-11 14:38 UTC by Mike Gilbert
Modified: 2020-03-28 08:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ;-).