-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
wafHook: use python3 #104701
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
wafHook: use python3 #104701
Conversation
Also see relevant discussion in #69310 |
Thanks, not sure how I missed that. While I think the direction that is going into sounds great, I also don't feel qualified to move that one forward. Perhaps 'just' the update to python3 would already be a useful (though less ambitious) change? |
What is it meant to achieve? You should already be able to add |
My short-term goal was to remove python2 from the Currently one of the ways it still depends on python2 is via the use of Now of course I could just override the wafHook specifically for |
This makes sure waf, which is used to build talloc, is ran with python3 rather than python2. (another option would be to make this the default for wafHook, see NixOS#104701)
Rather than 'python' which will be stuck on python2 for a while for compatibility reasons.
a338946
to
cc9ec41
Compare
Closing in favor of #106533. |
There will most likely be regressions in some packages, because the embedded waf scripts may still be python 2 only. |
Rather than 'python' which will be stuck on python2 for a while for
compatibility reasons.
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)