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

Bug 893798

Summary: dev-python/cx_Freeze-6.14.2 fails tests: ModuleNotFoundError: No module named setuptools.extern
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny, pinkbyte, sam, treecleaner
Priority: Normal Keywords: UPSTREAM
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/marcelotduarte/cx_Freeze/issues/1863
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-02-10 08:00:36 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/cx_Freeze-6.14.2 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-10 08:00:38 UTC
Created attachment 850312 [details]
build.log

build log and emerge --info
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-02-28 04:41:23 UTC
Ping.  This seems to indicate that the code is broken at runtime.
Comment 3 Larry the Git Cow gentoo-dev 2023-02-28 08:01:32 UTC
The bug has been referenced in the following commit(s):

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

commit ea956e31b3cdc718746f4e638feab7245aa768e8
Author:     Sergey Popov <pinkbyte@gentoo.org>
AuthorDate: 2023-02-28 07:59:54 +0000
Commit:     Sergey Popov <pinkbyte@gentoo.org>
CommitDate: 2023-02-28 08:01:29 +0000

    dev-python/cx_Freeze: version bump, drop old
    
    Bug: https://bugs.gentoo.org/893798
    Signed-off-by: Sergey Popov <pinkbyte@gentoo.org>

 dev-python/cx_Freeze/Manifest                                         | 2 +-
 .../cx_Freeze/{cx_Freeze-6.14.2.ebuild => cx_Freeze-6.14.5.ebuild}    | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)
Comment 4 Sergey Popov gentoo-dev 2023-02-28 08:05:13 UTC
It seems that failure is discovered in Windows-specific test(which is not marked as Windows-specific, weird), so i added it to EPYTEST_IGNORE along with minor version bump.

Both 6.14.2(now removed) and 6.14.5 versions work fine and do what they are supposed to - generating ELF binaries from python code.

However, some other tests are still broken and i am not sure how to fix them :-/
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-02-28 12:30:20 UTC
I still imports from setuptools.extern that's implementation detail and is not present on Gentoo, so it's broken.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-02-28 20:23:13 UTC
It's even worse.  Just having it installed is enough to break setuptools and prevent anything else from building.
Comment 7 Larry the Git Cow gentoo-dev 2023-04-09 06:08:40 UTC
The bug has been closed via the following commit(s):

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

commit 6c9fe078976d1b053e577ca402ecb18daa5f20f1
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-04-09 05:47:52 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-04-09 06:08:31 +0000

    dev-python/cx_Freeze: Bump to 6.14.9
    
    Closes: https://bugs.gentoo.org/893798
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/cx_Freeze/Manifest                |  1 +
 dev-python/cx_Freeze/cx_Freeze-6.14.9.ebuild | 65 ++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)