Multiple python2Packages
fail the evaluation due to dependencies
in the environment.
#340183
Labels
python2Packages
fail the evaluation due to dependencies
in the environment.
#340183
Affected packages are at least:
Changes like #335112 broke the evaluation for
pythonPackages
. Example failure:This is a "syntactic" error of a non-catchable exception.
Note that this specific package used to fail with a catchable excaption:
Expected behavior
The exception should be catchable and report unsupported interpreter.
Additional context
My naive attempts to move attrsets out of the environment were rejected in:
And the suggestion was: #338559 (comment)
"""
You can fix buildPythonPackage instead.
You'd have to replicate b9138b7c072f5 in pkgs/development/interpreters/python/python2/mk-python-derivation.nix.
"""
I don't think I can pull it out without investing some time to understand how python wraps and filters attributes just to restore the evaluation of packages.
Notify maintainers
Maybe python team: @mweinelt @natsukium
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: