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
ipython: support python2 #25261
ipython: support python2 #25261
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make a separate attribute, ipython_5
(pointing to ipython/5.nix
), and move the current one to ipython_6
. Then we create a new attribute ipython = ipython_6;
.
I don't think we should have the package version depending on which package set is evaluated. In my opinion the proper solution is for the user to override the package set setting |
This is an option, but it is suboptimal because packages dependent on ipython will not be built and tested under Python 2.7, and because it is a job of each of I grant that the proposed pull request is not as generic as might be required in the future when more packages that currently support both interpreters drop support for Python 2 or Python 3, but it is better for the user and currently fulfills the intended quality of |
We can discuss having a
Only dependents of
Sure, but by adding a different version you create a whole new tree with potential issues.
That I agree. We can see for now how it goes with multiple versions. |
Ok, see the updated pull request. (I prefer
There are at least ipdb, ipdbplugin, spyder…
Ok, but is there consensus that nixpkgs should drop support for a Python 2.7 version of the package as soon as upstream releases a version of the package incompatible with Python 2.7? What if upstream still maintains a Python 2.7 branch with bugfix releases? I'd guess that quite a lot of people need IPython Notebook for Python 2.7 (maybe more than for Python 3). |
Should there be consensus? In Nixpkgs it is up to the maintainers of packages and package sets to decide what happens with the code they maintain. Of course, it is a community project, and so it makes sense they take into account the feedback from the community, but in order to do so they need to first get feedback. In this case its quite simple; as maintainer I've sent out an e-mail explaining the
That's very likely, but then they need to speak up, write expressions, and maintain them. Now, on to the details of your current PR.
If you want to discuss the naming of attributes, see #17625. In
Again, convention. Ideally, we wouldn't have multiple versions of any package in Of course, if you maintain the 5.x version you could choose to add |
+1 for having ipython that works with python 2.x as long as upstream supports it (if it's not too much work). |
I opened the issue before I noticed the email on the mailing list 😄 . Since I only use ipython for development I don't really care if it's only exposed with a version suffix, but I'd be happy to help maintain it. |
@LnL7 I have just listed you as a maintainer in the pull request. |
I have subscribed to the mailing list after reading #25234 (comment) so I hope not to miss future announcements.
I have classified the names in Single component:
Multiple components:
I believe that my pull request follows the convention, but if you'll say that the attribute(s) and the file(s) should be named otherwise, I'll rename them without asking for justification. |
Thanks! |
Motivation for this change
Fixes #25234
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)