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

Bug 833258

Summary: sys-block/bmap-tools-3.6 fails tests: ModuleNotFoundError: No module named mock
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED FIXED    
Severity: normal CC: nerdboy
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/30423
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-02-13 07:18:47 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-block/bmap-tools-3.6 fails tests.
Discovered on: amd64 (internal ref: ci)

NOTE:
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2022-02-13 07:18:49 UTC
Created attachment 764961 [details]
build.log

build log and emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2023-03-31 19:48:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a23e4642a774a77a03630807498f26b76403321a

commit a23e4642a774a77a03630807498f26b76403321a
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2023-03-31 17:24:48 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2023-03-31 19:48:07 +0000

    sys-block/bmap-tools: enable py3.11
    
    Enable py3.11.
    Update EAPI 7 -> 8.
    Use PEP517 mode.
    Drop dev-python/nose, run tests with pytest.
    Add upstream patch to remove dev-python/mock.
    
    Closes: https://bugs.gentoo.org/833258
    Closes: https://bugs.gentoo.org/836836
    Closes: https://bugs.gentoo.org/878729
    Closes: https://bugs.gentoo.org/897276
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 ...p-tools-3.6.ebuild => bmap-tools-3.6-r1.ebuild} | 27 ++++---
 .../files/bmap-tools-3.6-mock-import-pattern.patch | 94 ++++++++++++++++++++++
 .../files/bmap-tools-3.6-unittest-mock.patch       | 44 ++++++++++
 3 files changed, 154 insertions(+), 11 deletions(-)