Hi everyone, I noticed certain python packages are available for interpreters that are not technically supported. For example, the package python3Packages.wsme
is available in python39Packages, python310Packages and python311Packages, despite only working in python38Packages (trying to install it from an attrset other than the latter will throw an error).
Looking at its derivation, the attribute disabled
is set to pythonAtLeast "3.9"
, meaning that it does not support interpreters higher than 3.8 . Is it intended for packages like this one to be packaged for interpreters they are not compatible with? If so, how can I filter python3Packages to only include packages that support the interpreter they are packaged with? It looks like the attribute disabled
is not available in the final derivation.
To give a bit of context for the issue, I’m trying statically analyze the python libraries packaged in nixpkgs for research purposes, so I’m processing the whole python3Packages attrset. While evaluating derivations such as python3Packages.wsme
an error is thrown.
This is my system configuration:
- system:
"x86_64-linux"
- host os:
Linux 6.3.9-arch1-1, Arch Linux, noversion, rolling
- multi-user?:
yes
- sandbox:
yes
- version:
nix-env (Nix) 2.16.1
- channels(root):
"nixpkgs"
- channels(giuss):
""
- nixpkgs:
/nix/var/nix/profiles/per-user/root/channels/nixpkgs