Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #12070 > unrolled thread
| Started by | Osamu Aoki <osamu@debian.org> |
|---|---|
| First post | 2019-11-13 16:30 +0100 |
| Last post | 2019-11-13 18:40 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.maint.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Bug#936604: FYI: Python 3 migration of distributuion Osamu Aoki <osamu@debian.org> - 2019-11-13 16:30 +0100
Re: FYI: Python 3 migration of distributuion Charles Cazabon <search-web-for-address@pyropus.ca> - 2019-11-13 18:40 +0100
| From | Osamu Aoki <osamu@debian.org> |
|---|---|
| Date | 2019-11-13 16:30 +0100 |
| Subject | Bug#936604: FYI: Python 3 migration of distributuion |
| Message-ID | <z22KJ-4xx-1@gated-at.bofh.it> |
Hi, This is just FYI on situation. Currently, getmail is a candidate for removal from the upcoming Debian release if it is not updated to support python 3 by someone (not necessary by upstream). Here is the background .... Debian and Ubuntu are pushing to remove python2 in next 2020 release. https://wiki.debian.org/Python/2Removal https://lists.ubuntu.com/archives/ubuntu-devel/2019-November/040842.html You can see its progress for Debian at: http://sandrotosi.me/debian/py2removal/py2removal_progress.png They converted packages to support python3 for almost the half of the problematic python2 packages in 3 months. With this pace, they think they can remove python2. Ubuntu also has list: https://people.canonical.com/~ubuntu-archive/transitions/html/python2-rm.html Some migration activities were implemented by Debian maintainers patching the upstream package without upstream help. So something like that may happen on getmail if some other Debian developers take actions. (I, for one, will not do this considering getmail being a security sensitive mail application and needs upstream support of python3 code.) Please also note Fedora seems to be doing the similar: https://pagure.io/releng/issue/8221 https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal Please don't expect some major distros to be supporting python2 after 2020. If you convert python 2 code for 2.7 style, then we can support both python 2 and 3. If some code needs to be made compatible with pre=2.7 version, may be making that section of code conditional to python version may accommodate it without causing python 3 compatibility problem. If you update package to support python 3, I will upload it to Debian. Regards, Osamu
[toc] | [next] | [standalone]
| From | Charles Cazabon <search-web-for-address@pyropus.ca> |
|---|---|
| Date | 2019-11-13 18:40 +0100 |
| Subject | Re: FYI: Python 3 migration of distributuion |
| Message-ID | <z24My-5I3-9@gated-at.bofh.it> |
| In reply to | #12070 |
Osamu Aoki <osamu@debian.org> wrote: > > Currently, getmail is a candidate for removal from the upcoming Debian > release if it is not updated to support python 3 by someone (not > necessary by upstream). Thanks for the update, Osamu. I have actually been playing with a prototype refactoring of getmail to not just support but require a recent Python 3.x version. Such a project would give me the opportunity to remove a lot of historical cruft and backwards-compatibility code that getmail has accumulated over 20+ years. Unfortunately, it's difficult to find the hours to devote to this task. I don't know when, or even if, I could have a beta release ready. > If you convert python 2 code for 2.7 style, then we can support both > python 2 and 3. I'm not very interested in doing this, as it means not using a lot of 3.x features, or not using them in the most Pythonic way. My thought was that this project would target at least Python 3.7; anyone who didn't want to run 3.7 could still run "legacy" getmail under Python 2.7. Charles -- ----------------------------------------------------------------------- Charles Cazabon GPL'ed software available at: http://pyropus.ca/software/ -----------------------------------------------------------------------
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.maint.python
csiph-web