``` # emerge -1avUD @world These are the packages that would be merged, in order: Calculating dependencies \ !!! Problem resolving dependencies for sci-electronics/kicad from @selected ... done! Dependency resolution took 1.50 s (backtrack: 0/20). !!! The ebuild selected to satisfy "sci-electronics/kicad" has unmet requirements. - sci-electronics/kicad-7.0.10::gentoo USE="nls openmp -doc -examples -test" ABI_X86="(64)" PYTHON_SINGLE_TARGET="-python3_10 -python3_11" The following REQUIRED_USE flag constraints are unsatisfied: exactly-one-of ( python_single_target_python3_10 python_single_target_python3_11 ) (dependency required by "@selected" [set]) (dependency required by "@world" [argument]) ``` Reproducible: Always Steps to Reproduce: 1. Follow python 3.12 upgrade procedure (eselect news read 30). Actual Results: Kicad does not upgrade, so upgrade cannot complete. Expected Results: Major packages like kicad and blender and whatever else people actually use to get work done are pre-audited as python 3.12 friendly before this is pushed on the users.
Also fails identically with the latest versioned unstable package =sci-electronics/kicad-8.0.2-r1 ``` # echo "=sci-electronics/kicad-8.0.2-r1 ~amd64" >>/etc/portage/package.accept_keywords/kicad # emerge -av =sci-electronics/kicad-8.0.2-r1 These are the packages that would be merged, in order: Calculating dependencies - !!! Problem resolving dependencies for =sci-electronics/kicad-8.0.2-r1 ... done! Dependency resolution took 0.63 s (backtrack: 0/20). !!! The ebuild selected to satisfy "=sci-electronics/kicad-8.0.2-r1" has unmet requirements. - sci-electronics/kicad-8.0.2-r1::gentoo USE="nls openmp -doc -examples -test" ABI_X86="(64)" PYTHON_SINGLE_TARGET="-python3_10 -python3_11" The following REQUIRED_USE flag constraints are unsatisfied: exactly-one-of ( python_single_target_python3_10 python_single_target_python3_11 ) ```
Also reported here https://forums.gentoo.org/viewtopic-p-8828780.html
*** Bug 933750 has been marked as a duplicate of this bug. ***
although my bug is marked as duplicate of this one, I think the issue is not related to kicad but to the way python 3.11 is detected in my make.conf I have PYTHON_TARGETS="python3_12 python3_11" so I have both python 3.11 and python 3.12 installed
Nevertheless declares KiCAD to be compatible with Python 3.10 and 3.11 only. Since 3.12 is now the default, it breaks in the dependency resolution phase unless the user manually sets the system default back to 3.11. Since this is open for a week now and it has quite some impact on stable system, is it possible that someone besides the maintainer updates the python compat on all in-tree kicad ebuilds?
I did ping them on IRC yesterday and they said a PR was forthcoming.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c38df7f779b35d4e0752863b779ca40ad51ae65 commit 7c38df7f779b35d4e0752863b779ca40ad51ae65 Author: Paul Zander <negril.nx+gentoo@gmail.com> AuthorDate: 2024-06-11 20:18:25 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-06-11 20:42:55 +0000 sci-electronics/kicad: add 8.0.3, enable Python-3.12, fix qa_python `dosym` installs a symlink into $ED, we want to create a symlink inside $BUILD_DIR. This unbreaks the qa_python test. Bug: https://bugs.gentoo.org/931207 Closes: https://bugs.gentoo.org/933497 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> sci-electronics/kicad/Manifest | 1 + sci-electronics/kicad/kicad-8.0.3.ebuild | 185 +++++++++++++++++++++++++++++++ sci-electronics/kicad/kicad-9999.ebuild | 11 +- 3 files changed, 194 insertions(+), 3 deletions(-)
Confirmed. For others, first edit /etc/portage/make.conf to include: ------------------------------------------------------------ PYTHON_TARGETS="python3_11 python3_12" PYTHON_SINGLE_TARGET="python3_12" ------------------------------------------------------------ .. as per the relevant eselect news article. Then... ------------------------------------------------------------ emerge --sync echo "=sci-electronics/kicad-8.0.3 ~amd64" >>/etc/portage/package.accept_keywords/kicad echo "=dev-python/wxpython-4.2.1-r1 ~amd64" >>/etc/portage/package.accept_keywords/wxpython emerge -av =sci-electronics/kicad-8.0.3 emerge --depclean emerge -1vUD @world ------------------------------------------------------------