[OpenWrt-Devel] [PATCH] wireless-regdb: Make it build with python2

Alberto Bursi bobafetthotmail at gmail.com
Sun Nov 17 21:45:53 EST 2019

On 18/11/19 08:42, Etienne Champetier wrote:
> Hi Hauke,
> Le dim. 17 nov. 2019 à 15:00, Hauke Mehrtens <hauke at hauke-m.de> a écrit :
>> This backports a patch to build it work with python2 in addition to
>> python3.
> Why not make the scripts "/usr/bin/env python3" and require python 3 in 19.07 ?
> (I'm stuborn but I don't understand trying to keep python2 alive or
> using unversionned python)
> Cheers
> Etienne

I read some discussion about this on a Github PR.

Other scripts that were ported to python3 had issues with python3 later 
and had to be fixed.

They decided that switching all python scripts to python3 in 19.07 
release was too risky,

especially because it is late already so they are just making sure they 
are run with python2.

Scripts in master are migrated to python3 and will have a lot of time to 
find bugs and be fixed before

next stable release.


openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list