-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
treewide: Make all usage of python2Packages explicit #61142
Conversation
I mentioned this on IRC, but just so it isn't lost (and so other people can give opinions too): I wonder if the expression being @adisbladis suggested using |
I think I'll rebase this on #61139 and use |
I'm with you on this one, that's exactly the end goal.
I disagree, it's too easy to accidentally mismatch |
👎 on this approach since it adds a huge amount of clutter to |
That seems very ad hoc to me. Just because a package uses python doesn't mean I should have to use |
a2b3fc0
to
ed400ea
Compare
Fair enough. I've pushed a a commit with the nix expressions changed instead. |
This is in preparation for Python2 going EOL in 2020
ed400ea
to
e23256d
Compare
It's good that we're going to be explicit about which version is used, however, I don't think this is the right approach. In the past many expressions were modified to use The latter never happened and is unlikely to happen as well, however, by making the proposed change we may be taking a step backwards in identifying what packages can use Python 3. Therefore, I think instead we should set |
You can go ahead and try that, I think it's unlikely that this will happen and even more unlikely that it will see any significant community involvement. As it currently stands we're branching off for 19.09 in ~2 weeks, a release during which Python 2 will go EOL and Python 2 still very much a default. Since this has bit-rotted so much by now I'm closing it, even though I'm still in favour of the approach taken. I'm unlikely to do much more work on the Python package sets, it's far too demotivational. |
Which tells you how much the community really cares about it. Setting all |
@volth I agree. Having |
Motivation for this change
This is in preparation for Python2 going EOL in 2020.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)