[chirp_devel] FYI: Python 2 Deprecation
Hi, I'm currently working on the Wouxun KG-UV9D Plus driver. I was also an open source developer, particularly Linux and pNFS before I retired and I'm still connected to the community.
I'm on the Fedora Linux development distribution listserv and I received a devel list digest yesterday containing the following:
<quote> Date: Mon, 20 Aug 2018 16:41:02 -0400 From: Ben Cotton bcotton@redhat.com Subject: Fedora 30 System-Wide Change proposal: Mass Python 2 Package Removal To: devel@lists.fedoraproject.org, devel-announce@lists.fedoraproject.org Message-ID: CA+voJeVEOTQsq344WgzGoMMO7b2MhXBrHLwB8p3N_6+pJzEjEg@mail.gmail.com Content-Type: text/plain; charset="UTF-8" </quote>
The wiki page is the contents of the digest message.
https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
This proposed action is targeted for Fedora 30. For those unfamiliar with the distribution, we are currently at F28, released a few months ago. F29 will come out in mid-late Fall '18 (more or less) and F30 will come out in late Spring '19. As a proposal at this stage, it still needs to be approved by the team but given the source of the proposal and what the team has been discussing for the last few cycles, this is more than a probable action. Red Hat has already expended a lot of effort to get everything it maintains (a large part of its infrastructure) moved to Python3 and is motivated to reduce its technical debt.
What this means to Chirp is that its base interpreter infrastructure will no longer be available a year from now.
This train has been heading for end-of-track for a good while and now there is a serious date. I would not be surprised if other distributions such as Ubuntu will be doing the same given the same resource constraints. In addition, with the shakeup in the Python community with the resignation of Guido, there is not going to be a lot of mindshare/commitment to maintaining the old code base. They have already posted an EOL (Jan 1, 2020) for Python 2.x support.
The Linux distribution community is very conservative about deprecating old technologies but they are also very cautious about getting out on a limb supporting technologies/versions that upstream has abandoned.
In terms of distribution support, this means that Chirp needs to move to Python3 very soon. The pipeline for submitting packaging for Fedora 30 will close in about 6 months because F30 has code freeze milestones for packages. See:
https://fedoraproject.org/wiki/Releases/30/Schedule
for details. I have also worked for other distributions (Ubuntu) and they do the same thing. For those on other platforms such as Windows or OX/X, the situation may be even more at risk.
Jim KB6QT
+1 Also useful https://pythonclock.org/
I wonder how much of the refactoring effort can be done by crowdsourcing from casual devs like myself.
On Aug 21, 2018, at 2:01 PM, Jim Lieb via chirp_devel chirp_devel@intrepid.danplanet.com wrote:
Hi, I'm currently working on the Wouxun KG-UV9D Plus driver. I was also an open source developer, particularly Linux and pNFS before I retired and I'm still connected to the community.
I'm on the Fedora Linux development distribution listserv and I received a devel list digest yesterday containing the following:
<quote> Date: Mon, 20 Aug 2018 16:41:02 -0400 From: Ben Cotton <bcotton@redhat.com> Subject: Fedora 30 System-Wide Change proposal: Mass Python 2 Package Removal To: devel@lists.fedoraproject.org, devel-announce@lists.fedoraproject.org Message-ID: <CA+voJeVEOTQsq344WgzGoMMO7b2MhXBrHLwB8p3N_6+pJzEjEg@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" </quote>
The wiki page is the contents of the digest message.
https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
This proposed action is targeted for Fedora 30. For those unfamiliar with the distribution, we are currently at F28, released a few months ago. F29 will come out in mid-late Fall '18 (more or less) and F30 will come out in late Spring '19. As a proposal at this stage, it still needs to be approved by the team but given the source of the proposal and what the team has been discussing for the last few cycles, this is more than a probable action. Red Hat has already expended a lot of effort to get everything it maintains (a large part of its infrastructure) moved to Python3 and is motivated to reduce its technical debt.
What this means to Chirp is that its base interpreter infrastructure will no longer be available a year from now.
This train has been heading for end-of-track for a good while and now there is a serious date. I would not be surprised if other distributions such as Ubuntu will be doing the same given the same resource constraints. In addition, with the shakeup in the Python community with the resignation of Guido, there is not going to be a lot of mindshare/commitment to maintaining the old code base. They have already posted an EOL (Jan 1, 2020) for Python 2.x support.
The Linux distribution community is very conservative about deprecating old technologies but they are also very cautious about getting out on a limb supporting technologies/versions that upstream has abandoned.
In terms of distribution support, this means that Chirp needs to move to Python3 very soon. The pipeline for submitting packaging for Fedora 30 will close in about 6 months because F30 has code freeze milestones for packages. See:
https://fedoraproject.org/wiki/Releases/30/Schedule
for details. I have also worked for other distributions (Ubuntu) and they do the same thing. For those on other platforms such as Windows or OX/X, the situation may be even more at risk.
Jim KB6QT
Jim Lieb
Mobile: 831-295-9317 GPG Key: 79BB52C7BD0530F5
"If ease of use was the only requirement, we would all be riding tricycles"
- Douglas Engelbart 1925–2013
chirp_devel mailing list chirp_devel@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_devel Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers
I've been casually looking at this for a while. The main sticking point right now is that the current thinking is that we need to maintain Windows XP support, which means python 3.48 is the last version we can use. It is not easy to setup a development environment for pre 3.5 python as it requires compiling everything yourself (I did it and it is not for the faint of heart). Additionally the UI needs to be ported, and I ran into lots if issues using e.g. 2to3 and futurize. I'll try to dig out what I found and send an update on that effort.
-------- Original message -------- From: Jens via chirp_devel chirp_devel@intrepid.danplanet.com Date: 8/21/18 12:35 PM (GMT-08:00) To: chirp_devel@intrepid.danplanet.com Subject: Re: [chirp_devel] FYI: Python 2 Deprecation
+1 Also useful https://pythonclock.org/https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpythonclock.org%2F&data=02%7C01%7C%7C1dfb41d5858440c520cf08d6079d4b30%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636704769479767489&sdata=Rb1rmPAJ%2BR%2BxfuH9Zo9gFWIyO6i5MOrhgNXs4ENs2Zg%3D&reserved=0
I wonder how much of the refactoring effort can be done by crowdsourcing from casual devs like myself.
On Aug 21, 2018, at 2:01 PM, Jim Lieb via chirp_devel <chirp_devel@intrepid.danplanet.commailto:chirp_devel@intrepid.danplanet.com> wrote:
Hi,
I'm currently working on the Wouxun KG-UV9D Plus driver. I was also an open source developer, particularly Linux and pNFS before I retired and I'm still connected to the community.
I'm on the Fedora Linux development distribution listserv and I received a devel list digest yesterday containing the following:
<quote>
Date: Mon, 20 Aug 2018 16:41:02 -0400
From: Ben Cotton <bcotton@redhat.commailto:bcotton@redhat.com>
Subject: Fedora 30 System-Wide Change proposal: Mass Python 2 Package
Removal
To: devel@lists.fedoraproject.orgmailto:devel@lists.fedoraproject.org,
devel-announce@lists.fedoraproject.orgmailto:devel-announce@lists.fedoraproject.org
Message-ID:
<CA+voJeVEOTQsq344WgzGoMMO7b2MhXBrHLwB8p3N_6+pJzEjEg@mail.gmail.commailto:CA+voJeVEOTQsq344WgzGoMMO7b2MhXBrHLwB8p3N_6+pJzEjEg@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
</quote>
The wiki page is the contents of the digest message.
https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removalhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffedoraproject.org%2Fwiki%2FChanges%2FMass_Python_2_Package_Removal&data=02%7C01%7C%7C1dfb41d5858440c520cf08d6079d4b30%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636704769479767489&sdata=sQNPCpH5rwktqBFARQ95NleCAfa%2Boa3H%2FKQE%2Bnhmnuw%3D&reserved=0
This proposed action is targeted for Fedora 30. For those unfamiliar with the distribution, we are currently at F28, released a few months ago. F29 will come out in mid-late Fall '18 (more or less) and F30 will come out in late Spring '19. As a proposal at this stage, it still needs to be approved by the team but given the source of the proposal and what the team has been discussing for the last few cycles, this is more than a probable action. Red Hat has already expended a lot of effort to get everything it maintains (a large part of its infrastructure) moved to Python3 and is motivated to reduce its technical debt.
What this means to Chirp is that its base interpreter infrastructure will no longer be available a year from now.
This train has been heading for end-of-track for a good while and now there is a serious date. I would not be surprised if other distributions such as Ubuntu will be doing the same given the same resource constraints. In addition, with the shakeup in the Python community with the resignation of Guido, there is not going to be a lot of mindshare/commitment to maintaining the old code base. They have already posted an EOL (Jan 1, 2020) for Python 2.x support.
The Linux distribution community is very conservative about deprecating old technologies but they are also very cautious about getting out on a limb supporting technologies/versions that upstream has abandoned.
In terms of distribution support, this means that Chirp needs to move to Python3 very soon. The pipeline for submitting packaging for Fedora 30 will close in about 6 months because F30 has code freeze milestones for packages. See:
https://fedoraproject.org/wiki/Releases/30/Schedulehttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffedoraproject.org%2Fwiki%2FReleases%2F30%2FSchedule&data=02%7C01%7C%7C1dfb41d5858440c520cf08d6079d4b30%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636704769479767489&sdata=PhQlpoTJ8xEy6qzIpW52IyV0SsKyxedqhHNhMtkN6zY%3D&reserved=0
for details. I have also worked for other distributions (Ubuntu) and they do the same thing. For those on other platforms such as Windows or OX/X, the situation may be even more at risk.
Jim KB6QT
--
Jim Lieb
Mobile: 831-295-9317
GPG Key: 79BB52C7BD0530F5
"If ease of use was the only requirement, we would all be riding tricycles"
- Douglas Engelbart 1925–2013
_______________________________________________ chirp_devel mailing list chirp_devel@intrepid.danplanet.commailto:chirp_devel@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_develhttps://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fintrepid.danplanet.com%2Fmailman%2Flistinfo%2Fchirp_devel&data=02%7C01%7C%7C1dfb41d5858440c520cf08d6079d4b30%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636704769479767489&sdata=77%2B0Spr1sgrHK8seTaHiSp8OR6EsS7JrlJHcPOOTN1w%3D&reserved=0 Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developershttps://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fchirp.danplanet.com%2Fprojects%2Fchirp%2Fwiki%2FDevelopers&data=02%7C01%7C%7C1dfb41d5858440c520cf08d6079d4b30%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636704769479923745&sdata=ztFPQoY0rqquwqZROMHJntKqaDHutFPU4CUz7JBtH7Q%3D&reserved=0
participants (3)
-
Derek Chauran
-
Jens
-
Jim Lieb