Re: Planning to drop Python 2 support by 2020?

Andrew Guy <[email protected]> Mon, 26 Jun 2017 14:46:38 +1000
Newsgroups gmane.comp.python.bio.devel
Message-ID <CAH8fNtM+peiu4kXCqX=LcoEGwpK6YZ_Ej-czdbCBnzEat3=uSA@mail.gmail.com>
--===============8635568913081481281==
Content-Type: multipart/alternative; boundary="001a113e2ec4244cff0552d5a48c"

--001a113e2ec4244cff0552d5a48c
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi all,

Just wanted to add my thoughts as someone who is a relatively new user of
Biopython (last ~3 years) and Python in general.

I thankfully started with Python 3.x when I was first learning, and have
never needed to use Python 2.7 (that I can recall) other than to check
backwards compatibility for code I've written - the bulk of the big Python
scientific modules (e.g. Numpy, Scipy, scikit-learn) are all Python 3
compatible. To add to this, using a virtual environment (e.g. pip
virtualenv) to manage dependencies is something that everyone should be
doing, and I don't think it's asking too much to require this if anyone
wants to use an older compute cluster and a new version of Biopython.

To add to sentiments that have been expressed a few times already, I also
think it would be wonderful to be able to use some of the newer Python
features in the code base going forward, especially if there is talk of
moving to a new Biopython 2.x version.

I'll add my vote to* a)* moving to Python 3.x for Biopython 2.x and* b)*
keep a Biopython 1.x version that supports *critical* bug fixes but is
otherwise considered to be unsupported. I think the move to Biopython 2.x
would mark an excellent point from which to drop Python 2.x. Old
scripts/programs will still use the final 1.x release, whereas code that
uses the new API will be written with Python 3.x in mind.

Regards,

Andrew

On 26 June 2017 at 11:51, Jo=C3=A3o Rodrigues <[email protected]=
m>
wrote:

> As we say in Portuguese, 'this discussion grew a beard'. Tiago, you are
> absolutely right.
> =E2=80=8B
> I'll say it again. My opinion is that we should move to Python 3.x for
> Biopython 2.x *but* keep a version of Biopython 1.x that we support for
> critical bug fixes for those users stuck with Python 2.x (for whatever
> reason).
>
> I think we should focus on other topics such as modularity. What do the
> proponents of the said modularity say about it? What are its advantages? =
I
> personally think a big disadvantage is that with one package install you
> get a wide array of tools for a variety of subjects. With a constellation
> of modules you might end up with an up-to-date core and an out-of-date lo=
ne
> module somewhere, which makes things much much harder not only to maintai=
n
> but also to debug in case of issues.
>
> (I have the impression I'm of the youngest here and already this guy
> <https://en.wikipedia.org/wiki/The_Old_Man_of_Restelo>)
>
> _______________________________________________
> Biopython-dev mailing list
> [email protected]
> http://mailman.open-bio.org/mailman/listinfo/biopython-dev
>



--=20
*Andrew Guy*
PhD Student
*Burnet Institute*
T +613 9282 2346 <+613+9282+2346>
M +614 1987 2670 <+614+1987+2670>
E [email protected]
W burnet.edu.au <http://www.burnet.edu.au/>
The Macfarlane Burnet Institute for Medical Research and Public Health Ltd,
85 Commercial Road, Melbourne, VIC 3004, Australia
ABN 49 007 349 984

Equity through better health
<https://www.burnet.edu.au/system/asset/file/2392/BURNET_2020_-_web_version=
.pdf>

--001a113e2ec4244cff0552d5a48c
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi all,<div><br></div><div>Just wanted to add my thoughts =
as someone who is a relatively new user of Biopython (last ~3 years) and Py=
thon in general.</div><div><br></div><div>I thankfully started with Python =
3.x when I was first learning, and have never needed to use Python 2.7 (tha=
t I can recall) other than to check backwards compatibility for code I&#39;=
ve written - the bulk of the big Python scientific modules (e.g. Numpy, Sci=
py, scikit-learn) are all Python 3 compatible. To add to this, using a virt=
ual environment (e.g. pip virtualenv) to manage dependencies is something t=
hat everyone should be doing, and I don&#39;t think it&#39;s asking too muc=
h to require this if anyone wants to use an older compute cluster and a new=
 version of Biopython.</div><div><br></div><div>To add to sentiments that h=
ave been expressed a few times already, I also think it would be wonderful =
to be able to use some of the newer Python features in the code base going =
forward, especially if there is talk of moving to a new Biopython 2.x versi=
on.</div><div><br></div><div>I&#39;ll add my vote to<b> a)</b> moving to Py=
thon 3.x for Biopython 2.x and<b> b)</b> keep a Biopython 1.x version that =
supports <i>critical</i>=C2=A0bug fixes but is otherwise considered to be u=
nsupported. I think the move to Biopython 2.x would mark an excellent point=
 from which to drop Python 2.x. Old scripts/programs will still use the fin=
al 1.x release, whereas code that uses the new API will be written with Pyt=
hon 3.x in mind.</div><div><br></div><div>Regards,</div><div><br></div><div=
>Andrew</div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote=
">On 26 June 2017 at 11:51, Jo=C3=A3o Rodrigues <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:[email protected]" target=3D"_blank">j.p.g.l.m.rod=
[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote"=
 style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><d=
iv dir=3D"ltr"><div><div>As we say in Portuguese, &#39;this discussion grew=
 a beard&#39;. Tiago, you are absolutely right.<br>=E2=80=8B<br></div>I&#39=
;ll say it again. My opinion is that we should move to Python 3.x for Biopy=
thon 2.x *but* keep a version of Biopython 1.x that we support for critical=
 bug fixes for those users stuck with Python 2.x (for whatever reason).<br>=
<br></div>I think we should focus on other topics such as modularity. What =
do the proponents of the said modularity say about it? What are its advanta=
ges? I personally think a big disadvantage is that with one package install=
 you get a wide array of tools for a variety of subjects. With a constellat=
ion of modules you might end up with an up-to-date core and an out-of-date =
lone module somewhere, which makes things much much harder not only to main=
tain but also to debug in case of issues. <br><br>(<a href=3D"https://en.wi=
kipedia.org/wiki/The_Old_Man_of_Restelo" target=3D"_blank">I have the impre=
ssion I&#39;m of the youngest here and already this guy</a>)<br></div>
<br>______________________________<wbr>_________________<br>
Biopython-dev mailing list<br>
<a href=3D"mailto:[email protected]">Biopython-dev@mailman=
.open-<wbr>bio.org</a><br>
<a href=3D"http://mailman.open-bio.org/mailman/listinfo/biopython-dev" rel=
=3D"noreferrer" target=3D"_blank">http://mailman.open-bio.org/<wbr>mailman/=
listinfo/biopython-dev</a><br></blockquote></div><br><br clear=3D"all"><div=
><br></div>-- <br><div class=3D"gmail_signature" data-smartmail=3D"gmail_si=
gnature"><div dir=3D"ltr"><table style=3D"font-family:Verdana,Geneva,Tahoma=
,sans-serif;width:1904px"><tbody><tr><td style=3D"font-family:Verdana,Genev=
a,Tahoma,sans-serif;font-size:12px;line-height:14.4px"><strong style=3D"col=
or:rgb(189,12,17)">Andrew Guy</strong></td></tr><tr><td style=3D"font-famil=
y:Verdana,Geneva,Tahoma,sans-serif;font-size:12px;line-height:14.4px"><span=
 style=3D"color:rgb(74,107,126)">PhD Student</span></td></tr><tr><td style=
=3D"font-family:Verdana,Geneva,Tahoma,sans-serif;font-size:12px;line-height=
:14.4px"><strong style=3D"color:rgb(74,107,126)">Burnet Institute</strong><=
/td></tr></tbody></table><br style=3D"color:rgb(0,0,0);font-family:Verdana,=
Geneva,Tahoma,sans-serif;font-size:12px"><table style=3D"font-family:Verdan=
a,Geneva,Tahoma,sans-serif;margin:0px"><tbody><tr><td style=3D"font-family:=
Verdana,Geneva,Tahoma,sans-serif;font-size:12px;line-height:14.4px;color:rg=
b(89,111,128);width:15px">T</td><td style=3D"font-family:Verdana,Geneva,Tah=
oma,sans-serif;font-size:12px;line-height:14.4px"><a href=3D"tel:+613+9282+=
2346" style=3D"color:rgb(89,111,128);text-decoration:none" target=3D"_blank=
">+613 9282 2346</a></td></tr><tr><td style=3D"font-family:Verdana,Geneva,T=
ahoma,sans-serif;font-size:12px;line-height:14.4px;color:rgb(89,111,128);wi=
dth:15px">M</td><td style=3D"font-family:Verdana,Geneva,Tahoma,sans-serif;f=
ont-size:12px;line-height:14.4px"><a href=3D"tel:+614+1987+2670" style=3D"c=
olor:rgb(89,111,128);text-decoration:none" target=3D"_blank">+614 1987 2670=
</a></td></tr><tr><td style=3D"font-family:Verdana,Geneva,Tahoma,sans-serif=
;font-size:12px;line-height:14.4px;color:rgb(89,111,128);width:15px">E</td>=
<td style=3D"font-family:Verdana,Geneva,Tahoma,sans-serif;font-size:12px;li=
ne-height:14.4px"><a href=3D"mailto:[email protected]" style=3D"colo=
r:rgb(89,111,128);text-decoration:none" target=3D"_blank">andrew.guy@burnet=
.edu.au</a></td></tr><tr><td style=3D"font-family:Verdana,Geneva,Tahoma,san=
s-serif;font-size:12px;line-height:14.4px;color:rgb(89,111,128);width:15px"=
>W</td><td style=3D"font-family:Verdana,Geneva,Tahoma,sans-serif;font-size:=
12px;line-height:14.4px"><a href=3D"http://www.burnet.edu.au/" style=3D"col=
or:rgb(89,111,128);text-decoration:none" target=3D"_blank">burnet.edu.au</a=
></td></tr></tbody></table><br style=3D"color:rgb(0,0,0);font-family:Verdan=
a,Geneva,Tahoma,sans-serif;font-size:12px"><table style=3D"font-family:Verd=
ana,Geneva,Tahoma,sans-serif;width:1904px"><tbody><tr><td style=3D"font-fam=
ily:Verdana,Geneva,Tahoma,sans-serif;font-size:12px;line-height:14.4px;colo=
r:rgb(172,166,160)">The Macfarlane Burnet Institute for Medical Research an=
d Public Health Ltd,<br>85 Commercial Road, Melbourne, VIC 3004, Australia<=
br><span style=3D"font-size:10px">ABN 49 007 349 984</span><br><br><span st=
yle=3D"font-style:italic"><a href=3D"https://www.burnet.edu.au/system/asset=
/file/2392/BURNET_2020_-_web_version.pdf" style=3D"text-decoration:none;col=
or:rgb(172,166,160)" target=3D"_blank">Equity through better health</a></sp=
an></td></tr></tbody></table></div></div>
</div>

--001a113e2ec4244cff0552d5a48c--

--===============8635568913081481281==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Biopython-dev mailing list
[email protected]
http://mailman.open-bio.org/mailman/listinfo/biopython-dev
--===============8635568913081481281==--