Managing dropping python2 support

Hi all, PyCon is going on right now in Portland. One of the talks today was about how IPython managed dropping support for python2 in IPython 6.0. You can watch the talk here: https://youtu.be/2DkfPzWWC2Q Some takeaways from me (all opinions my own): IPython probably did this a bit too early. Since they're relying on features in pip and setuptools that were only added a few months ago, users are unlikely to have up-to-date versions that will behave nicely. On the other hand, IPython is a big enough package that they are actually driving people to update their pip installation after hitting some breakage. We can do things now to minimize pain in the future if we do drop support for some python versions we support right now: * Define requires_python in our setup.py * Update our documentation and scripts to use "pip install ." or "pip install -e ." instead of "python setup.py install" or "develop" Nathan

Thanks for sending this on, Nathan. Also at PyCon, Katy Huff gave a (really really good) keynote that mentions yt: https://www.youtube.com/watch?v=kaGS4YXwciQ On Sat, May 20, 2017 at 10:41 PM, Nathan Goldbaum <nathan12343@gmail.com> wrote:
Hi all,
PyCon is going on right now in Portland. One of the talks today was about how IPython managed dropping support for python2 in IPython 6.0. You can watch the talk here:
Some takeaways from me (all opinions my own):
IPython probably did this a bit too early. Since they're relying on features in pip and setuptools that were only added a few months ago, users are unlikely to have up-to-date versions that will behave nicely.
On the other hand, IPython is a big enough package that they are actually driving people to update their pip installation after hitting some breakage.
We can do things now to minimize pain in the future if we do drop support for some python versions we support right now:
* Define requires_python in our setup.py * Update our documentation and scripts to use "pip install ." or "pip install -e ." instead of "python setup.py install" or "develop"
Nathan
_______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
participants (2)
-
Matthew Turk
-
Nathan Goldbaum