-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 2: Transition programs to Python 3 #8893
Comments
Nice! Want this pinned? |
Maintainer of aircrack-ng is @jbenden |
Added devel/asu (ping @aparcar) because while the server itself uses Python 3, it also wants to setup an imagebuilder environment on target and so is pulling in Python 2. (This is mostly speculation though, I haven't looked too deeply into the details.) If so, sounds like asu won't be resolved until OpenWrt core has moved to Python 3. |
I'm currently rewriting Danish in Rust so there will be no Python 3 version. I hope to be done with it by December and I'll call it Danish 2.0. The Python version will be abandoned and only the Rust version will be supported going forward. The current Python 2 version worked fine for its purposes, and I've been running it for over a year on my home OpenWRT box. But it was an experiment in doing middle-box DANE for HTTPS that I now want to get more serious about and also bring to a more general Linux audience, not just OpenWRT. And for that I needed to re-implement in something like Rust or C/C++. |
@smutt No problem - thanks for the update 😄 |
Samba4.10.x will only fully support python3 from here on out, so if i get over this issue #8944 we will be fine. |
@Andy2244 Thanks for the update! |
|
@aparcar So you're saying the |
radicale 1.x is never going to Python3 -- radicale2 replaces radicale package and requires Python 3 -- the reason for renaming and having both in tree was to give current radicale users a chance to transition to radicale2 (requires a database conversion, which I think has to be done from radicale 1.x later version). |
@cshoredaniel Thanks for the update - I guess I have two questions:
|
@cshoredaniel Wait, sorry I just checked the radicale package and there are Py2 and Py3 versions of the package? If this is true, we can just remove the Py2 version and keep the Py3 version... But I guess the question still is, should we keep 1.x around? |
upmpdcli's songcast web interface should be compatible with python3. Will take a look at it and update. |
@jefferyto Oh, you're right, I forgot there is a Py3 radicale, just not a Py2 radicale2...I think we should keep radicale 1.x for 19.0x but have a deprecation alert (actually there might already be such -- it's been a while since I last looked and I might be confusing with another distro). |
@ignisf Thanks for the update! |
For hplip, it should be compatible with python3 since 3.15.2. I'll test, commit and report. |
@jefferyto , hplip is clean. It didn't actually need python for OpenWrt usage. |
@luizluca thanks for the update! |
Yes, still happening 😂 I'm not sure if it will be 31 Mar or 1 Apr, but basically the plan is:
AFAIK nmap is the only outstanding package that needs work (#10162), I'm going to try to get to it soon. |
A brief update: I'm still working on the PR (I think one giant PR will do), but it may take a day or two more than expected (due to a combination of large number of packages that need editing and compile testing, and laziness 😂 ) |
Might be better to do it in 2-3 phases, so that there would be less testing for circleci at the same time. If you have packages ready for the action, just submit the first batch. Giant PRs sound always dangerous ;-) |
@hnyman You're right - funny how something can seem like a good idea until you say it out loud 😂 |
This version of danish will cease to function once Python 2 is removed from the feed. The maintainer has indicated[1] that this package will not be updated to use Python 3. This package will be added to the abandoned packages feed. [1]: openwrt#8893 (comment) Signed-off-by: Jeffery To <jeffery.to@gmail.com>
The transition for programs is complete so I'll close this issue. Thanks to everyone for your kind assistance 🙏 😂 |
We could leave it pinned for a while. |
Sure - sounds good 😂 |
Apparently no major breakage from the python2 removal yesterday. I looked at the faillogs of the first package architectures that buildbot has built after the removal (e.g. mips_24kc): https://downloads.openwrt.org/snapshots/faillogs/mips_24kc/ There seems to be only some breakage in the telephony feed:
Both fail with almost identical error: Otherwise it seems to be the usual suspects, not related to python2 removal. |
@hnyman, I will have an update to kamailio-5.x within a few days with a complete removal the python2 usage. Thank you for notifying me. |
onet thing i noticed real quick i didn't like them much and if we can remove it, i would |
Great, as there is already a new bug filed about that, as users run into that warning regularly. |
@hnyman I have updated the kamailio-5.x package in master branch. Since the python support in kamailio was not really used, I completely removed the python support. I am going to reintroduce it later. |
This version of danish will cease to function once Python 2 is removed from the feed. The maintainer has indicated[1] that this package will not be updated to use Python 3. This package will be added to the abandoned packages feed. [1]: openwrt#8893 (comment) Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This version of danish will cease to function once Python 2 is removed from the feed. The maintainer has indicated[1] that this package will not be updated to use Python 3. This package will be added to the abandoned packages feed. [1]: openwrt#8893 (comment) Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Update to v12.15.0 Support Python3 : openwrt/packages#8893 Preparing to deprecate nosnapshot builds. Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
Update to v12.15.0 Support Python3 : openwrt/packages#8893 Preparing to deprecate nosnapshot builds. Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
This version of danish will cease to function once Python 2 is removed from the feed. The maintainer has indicated[1] that this package will not be updated to use Python 3. This package will be added to the abandoned packages feed. [1]: openwrt/packages#8893 (comment) Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This version of danish will cease to function once Python 2 is removed from the feed. The maintainer has indicated[1] that this package will not be updated to use Python 3. This package will be added to the abandoned packages feed. [1]: openwrt/packages#8893 (comment) Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Update to v12.15.0 Support Python3 : openwrt/packages#8893 Preparing to deprecate nosnapshot builds. Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
This version of danish will cease to function once Python 2 is removed from the feed. The maintainer has indicated[1] that this package will not be updated to use Python 3. This package will be added to the abandoned packages feed. [1]: openwrt/packages#8893 (comment) Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This version of danish will cease to function once Python 2 is removed from the feed. The maintainer has indicated[1] that this package will not be updated to use Python 3. This package will be added to the abandoned packages feed. [1]: openwrt/packages#8893 (comment) Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Update to v12.15.0 Support Python3 : openwrt/packages#8893 Preparing to deprecate nosnapshot builds. Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
This version of danish will cease to function once Python 2 is removed from the feed. The maintainer has indicated[1] that this package will not be updated to use Python 3. This package will be added to the abandoned packages feed. [1]: openwrt/packages#8893 (comment) Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Update to v12.15.0 Support Python3 : openwrt/packages#8893 Preparing to deprecate nosnapshot builds. Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
Update to v12.15.0 Support Python3 : openwrt/packages#8893 Preparing to deprecate nosnapshot builds. Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
This is a meta-issue to track progress for transitioning programs that use Python 2 to Python 3.
These should be packages that use Python in some way, as part of their core functionality. Packages that provide a Python 2-only library or plugin will be tracked in a separate issue (TBD).
Maintainers: If your program provides a Python 2 library package, please be reminded to keep it around (if possible) until the mass removal in 2020.
Please comment on / reference this issue as things develop. I will keep this post updated "periodically" 😂
The text was updated successfully, but these errors were encountered: