-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple python2Packages
fail the evaluation due to dependencies
in the environment.
#340183
Labels
Comments
13 tasks
As long as we don't recurse into these package sets we cannot guarantee things won't break all the time. And for that we'd need someone to care about pypy a lot. |
FWIW I think
|
This comment was marked as duplicate.
This comment was marked as duplicate.
pythonPackages
fail the evaluation due to dependencies
in the environment.python2Packages
fail the evaluation due to dependencies
in the environment.
A few more fresh eval regressions with the same cause:
|
This comment has been minimized.
This comment has been minimized.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: