Summary: | dev-python/cryptography-36.0.2 - TypeError: super(type, obj): obj must be an instance or subtype of type | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ab4bd, dharding, mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/PyO3/setuptools-rust/issues/221 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
dev-python:cryptography-36.0.2:20220421-234851.log emerge-history.txt environment etc.portage.tar.bz2 temp.tar.bz2 |
Description
Toralf Förster
2022-04-22 12:20:02 UTC
Created attachment 772892 [details]
emerge-info.txt
Created attachment 772895 [details]
dev-python:cryptography-36.0.2:20220421-234851.log
Created attachment 772898 [details]
emerge-history.txt
Created attachment 772901 [details]
environment
Created attachment 772904 [details]
etc.portage.tar.bz2
Created attachment 772907 [details]
temp.tar.bz2
Well, it's obviously caused by both setuptools-rust and python-distutils-extra being installed -- but I have no clue whether it's a bug in either, or in general problem with plugin stacking in setuptools. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ac56d95f192eeb0ec1d2d094cf6b937d90d10a1 commit 6ac56d95f192eeb0ec1d2d094cf6b937d90d10a1 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2022-04-22 15:23:43 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2022-04-22 15:28:07 +0000 dev-python/setuptools-rust: Add a blocker on python-distutils-extra Bug: https://bugs.gentoo.org/840122 Bug: https://github.com/PyO3/setuptools-rust/issues/221 Signed-off-by: Michał Górny <mgorny@gentoo.org> ...setuptools-rust-1.2.0.ebuild => setuptools-rust-1.2.0-r1.ebuild} | 6 ++++++ 1 file changed, 6 insertions(+) (In reply to Larry the Git Cow from comment #8) > > dev-python/setuptools-rust: Add a blocker on python-distutils-extra This change now causes this error: (dev-python/python-distutils-extra-2.45:0/0::gentoo, installed) pulled in by dev-python/python-distutils-extra[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] (dev-python/python-distutils-extra[python_targets_python3_9(-)]) required by (app-text/pdfarranger-1.8.2:0/0::gentoo, installed) USE="" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -python3_10 -python3_8" (dev-python/setuptools-rust-1.2.0-r1:0/0::gentoo, ebuild scheduled for merge) pulled in by dev-python/setuptools-rust[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] (dev-python/setuptools-rust[python_targets_python3_9(-)]) required by (dev-python/cryptography-36.0.2:0/0::gentoo, ebuild scheduled for merge) USE="-debug -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 -python3_10 -python3_8" (In reply to Techwolf from comment #9) > (In reply to Larry the Git Cow from comment #8) > > > > dev-python/setuptools-rust: Add a blocker on python-distutils-extra > > This change now causes this error: > > > (dev-python/python-distutils-extra-2.45:0/0::gentoo, installed) pulled in > by > > dev-python/python-distutils-extra[python_targets_python3_8(-)?, > python_targets_python3_9(-)?,python_targets_python3_10(-)?] > (dev-python/python-distutils-extra[python_targets_python3_9(-)]) required by > (app-text/pdfarranger-1.8.2:0/0::gentoo, installed) USE="" ABI_X86="(64)" > PYTHON_TARGETS="python3_9 -python3_10 -python3_8" > > (dev-python/setuptools-rust-1.2.0-r1:0/0::gentoo, ebuild scheduled for > merge) pulled in by > > dev-python/setuptools-rust[python_targets_pypy3(-)?, > python_targets_python3_8(-)?,python_targets_python3_9(-)?, > python_targets_python3_10(-)?] > (dev-python/setuptools-rust[python_targets_python3_9(-)]) required by > (dev-python/cryptography-36.0.2:0/0::gentoo, ebuild scheduled for merge) > USE="-debug -test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -pypy3 > -python3_10 -python3_8" It would, it's not avoidable per se for now. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fe8429491f99dfecb0cf195e2f96f6ae07aac1a commit 5fe8429491f99dfecb0cf195e2f96f6ae07aac1a Author: Sam James <sam@gentoo.org> AuthorDate: 2022-04-24 15:53:23 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-04-24 15:53:23 +0000 dev-python/setuptools-rust: fix build failure w/ python-distutils-extra Closes: https://bugs.gentoo.org/840122 Bug: https://github.com/PyO3/setuptools-rust/issues/221 Signed-off-by: Sam James <sam@gentoo.org> ...uptools-rust-1.2.0-fix-distutils-conflict.patch | 67 +++++++++ .../setuptools-rust-1.2.0-r2.ebuild | 158 +++++++++++++++++++++ 2 files changed, 225 insertions(+) |