python3Packages.shiboken2: reverse dependencies have to use python312#417345
python3Packages.shiboken2: reverse dependencies have to use python312#417345dotlambda merged 8 commits intoNixOS:staging-nextfrom
Conversation
Shiboken2, and thus pyside2, is broken on Python 3.13.
Shiboken2, and thus pyside2, is broken on Python 3.13.
Shiboken2 is broken on Python 3.13.
Shiboken2, and thus pyside2, is broken on Python 3.13.
|
cc @pbsds who recently wanted to unpin python 3.11 and also (unknowingly) ran into this exact thing for some packages |
Shiboken2 is broken on Python 3.13.
|
I'll go through the full list soon. pythonPackages' =
# lib.meta.availableOn does not respect meta.broken?
if python3Packages.shiboken2.meta.available then python3Packages else python312Packages;See #416726 for source A hard-pin on 3.12 seems fine, shiboken2 getting 3.13 support is very unlikely. A soft-pin like this is an option, as that will then silently update python once shiboken updates. |
|
napari/napari-npe2 also depend on shiboken2 via shiboken2 -> pyside2 -> magicgui Those probably need similar treatment. However, napari is buildPythonPackage for whatever reason...
|
It seems to have a Python API: https://github.com/napari/napari?tab=readme-ov-file#simple-example |
Shiboken2, and thus magicgui, is broken on Python 3.13.
|
SuperQT depends on pyside2 -> shiboken: However it is marked optional - can we just disable pyside2 for python 3.13+ on superqt? Otherwise, these might go wonky: |
|
Other than |
|
A simple-ish check is to remove the broken on shiboken2 and make the hash change for python3.13-only, then run nixpkgs-review against this PR. Actually i might try to do just that... |
|
Typstwriter works fine.
Shiboken2 is only an optional dependency of superqt. |
|
Damn you work fast :) |
|
At a glance this looks fine, but i'll wait for the build to finish. |
|
Building the 3.13 rev deps of shiboken2 (which of course all fail):
|
|
Great, so this PR is complete. |
LordGrimmauld
left a comment
There was a problem hiding this comment.
Considering nothing that attempts to use shiboken2 on python 3.13 is an application, only unused libraries, this looks fine to me.
|
The reason i went for a soft-pin was not because i assumed it would be fixed, but because i wanted to adhere to Considering it's not merged yet means i don't consider it a blocker, but documenting these python312 pins would help when the time to drop python312 comes. |
That makes sense and I guess |
python313.pkgs.shiboken2fails to build withIt was marked broken in #407932.
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.