Summary: | dev-python/pythran - "TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all" when building dev-python/scipy | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | eschwartz, sci |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/serge-sans-paille/pythran/issues/2228 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
dev-python:scipy-1.14.0-r1:20240820-084302.log.xz emerge-history.txt environment etc.portage.tar.xz qlist-info.txt temp.tar.xz |
Description
Toralf Förster
![]() Created attachment 900792 [details]
emerge-info.txt
Created attachment 900793 [details]
dev-python:scipy-1.14.0-r1:20240820-084302.log.xz
Created attachment 900794 [details]
emerge-history.txt
Created attachment 900795 [details]
environment
Created attachment 900796 [details]
etc.portage.tar.xz
Created attachment 900797 [details]
qlist-info.txt
Created attachment 900798 [details]
temp.tar.xz
*** Bug 938248 has been marked as a duplicate of this bug. *** This is an issue with invoking pythran as a build tool. Pythran also fails tests with the updated setuptools: ERROR pythran/tests/test_xdoc.py - TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases ============================= 440 errors in 12.15s ============================= * ERROR: dev-python/pythran-0.16.1::gentoo failed (test phase): The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94a8c299e95685653848d058c223168970b7f2c0 commit 94a8c299e95685653848d058c223168970b7f2c0 Author: Eli Schwartz <eschwartz@gentoo.org> AuthorDate: 2024-08-20 16:45:26 +0000 Commit: Eli Schwartz <eschwartz@gentoo.org> CommitDate: 2024-08-20 18:12:04 +0000 dev-python/pythran: mark as incompatible with setuptools 73 setuptools has a high rate of churn and now tends to frequently break consumers that subclass or otherwise use the distutils API in complex ways. Today's incompatibility, in particular, happens due to metaclass incompatibilities introduced in setuptools. Pythran fails hard with this (unstable) version of setuptools. Prevent the two from being installed together while we wait for a fix to be determined. Bug: https://github.com/pypa/setuptools/pull/4503 Bug: https://github.com/serge-sans-paille/pythran/issues/2228 Bug: https://bugs.gentoo.org/938246 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org> dev-python/pythran/{pythran-0.16.1.ebuild => pythran-0.16.1-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a02eddbaf4fc7e9a2063df24577ff51a7e6e49d commit 0a02eddbaf4fc7e9a2063df24577ff51a7e6e49d Author: Eli Schwartz <eschwartz@gentoo.org> AuthorDate: 2024-08-20 18:49:21 +0000 Commit: Eli Schwartz <eschwartz@gentoo.org> CommitDate: 2024-08-20 19:02:49 +0000 dev-python/setuptools: add 73.0.1 Fixes regression in 73.0.0 Closes: https://bugs.gentoo.org/938246 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org> dev-python/setuptools/Manifest | 2 +- .../setuptools/{setuptools-73.0.0.ebuild => setuptools-73.0.1.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e140aa4afe45496f7c8c62b6c6155f174bc99ffd commit e140aa4afe45496f7c8c62b6c6155f174bc99ffd Author: Eli Schwartz <eschwartz@gentoo.org> AuthorDate: 2024-08-20 19:01:24 +0000 Commit: Eli Schwartz <eschwartz@gentoo.org> CommitDate: 2024-08-20 19:02:49 +0000 dev-python/pythran: unpin setuptools again and allow the fixed version Bug: https://bugs.gentoo.org/938246 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org> dev-python/pythran/pythran-0.16.1-r1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) |