- Notifications
You must be signed in to change notification settings - Fork121
Biopython pledges to drop Python 2 support in or before 2020.#84
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Copyright Patrick Kunzmann (2017), licensed under the user'schoice of the Biopython License Agreement or the BSD 3-ClauseLicense.Seehttp://biopython.org/DIST/LICENSE andhttps://opensource.org/licenses/BSD-3-Clause
takluyver commentedJul 31, 2017
Thanks, and welcome aboard! Hopefully the logo should work nicely - I'm going to merge it and find out. |
Carreau commentedJul 31, 2017
Welcome ! And thanks for the pull request ! Don't forget to look at thepracticalities page, and feel free to add anything that you feel is missing ! Also side questions are the snakes head on the logo 3' or 5' ? |
peterjc commentedAug 1, 2017
Thank you both - the logo looks good onhttp://www.python3statement.org/ - I don't recall if we ever discussed if the tail/head orientation of the logo snakes specifically match the conventional DNA ordering from 3' to 5', maybe something to add tohttp://biopython.org/wiki/Logo ? I've looked over the practicalities page, and noted we don't yet recommend updating pip and setuptools (indeed we have only just moved over to providing wheels with Biopython 1.70 and recommending pip). |
Carreau commentedAug 1, 2017
I would suggest looking onbigquerry with a request like this one to see the number of download for each version of pip. In above link I do not filter by python version, but what would (likely) matter is the number of pip < 9 user on Python 2. Here is what we got for IPython: First dashed line is release of IPython 6.0, and you can see that a large number of "old pip" user downloaded IPython 6, on Python 2, and the installation failed with a clear error message that they need to upgrade pip (or pin IPython). If you draw this graph, the less orange users you have by the time you release the less problem you will potentially have. Note that you won't see all your old pip users as if they have the latest pip will just says: Second dash line is release of 5.4 and 6.1, lighter gray line is when |
peterjc commentedAug 2, 2017
That's intriguing - I've not used Google's BigQuery before - thanks! Is it easy to show how to get your graph? I've found some other illuminating examples likehttps://langui.sh/2016/12/09/data-driven-decisions/ andhttps://gist.github.com/juanpabloaj/dffc6900f80abcfe8ce121a39cffa743 which produces much simpler graphs. It looks like over the last year most of our PyPI downloads are via pip (ignoring things like the bandersnatch PyPI mirror tool). There were 215,971 pip downloads of which only 28.8% were for Python 3: |
Carreau commentedAug 2, 2017
Yes, you can have a lookhere I'm still working on it, so the code is ugly. I'm giving a talk in ~10 days at PyBay about that and I'm still churning through the data and thinking about the best graph to show, and the one that are interesting. For IPython we are at 34.6% for the past year, 42.7% over the past month. What is important is also how many of your Python 2 user have old pip vs new pip. And you also have to wonder how many users have pinned version. I know we still have users that stuck with IPython 4, as it is still using readline by default. SO I believe it is more complex than just looking at the % of users on which Python :-) |
peterjc commentedAug 2, 2017
Thanks for the link, and good luck for your talk. I can see why the number of Python 2 users with an old version of pip will be quite important once we prepare to drop Python 2 support. You've given me (us) lots to think about - thank you! |
Carreau commentedAug 10, 2017
So small update (while I'm preparing my talks).here isa graph of the pip breakdown through time for IPython. You see that before release we are at about 65% new pip (I queried PyPI on a month of data before release). When we release there is a sharp decrease to ~45% for a week. My guess is that's because most of The second thing, is: we did not tell our users how to pin IPython in the error message in case they can't upgrade pip. Thus Ithink many pinned with (Orange: 6.0/6.1, Blue: 5.3/5.4) |
peterjc commentedAug 11, 2017
Thank you - beautiful graphs with an interesting story to tell. I hope we can read your slides after the talk, which together with the notebookhttps://github.com/Carreau/talks/blob/master/2017-08-13-pybay/IPython-dls_2.ipynb ought to be of interest to many project developers. |



Seebiopython/biopython@054f9c6
Note I have not seen the rendering of this change - please let me know if you need eg a smaller logo.