mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 23:38:20 +04:00
Setting __PYVENV_LAUNCHER__ for Python package builds was added ina91a992abb, but neither the commit message nor the pull request[1] explain its purpose in detail. My guess is this was done to set the shebang for installed Python scripts. We now have a Makefile recipe to set the shebang, so it would be unnecessary to set this variable for this purpose. It appears that Python 3.11 has changed the handling of this (internal) environment variable, and setting it appears to be causing build errors for all Python packages. This removes setting __PYVENV_LAUNCHER__ for Python package builds. [1]: https://github.com/openwrt/packages/pull/525 Fixes: https://github.com/openwrt/packages/issues/21162 Signed-off-by: Jeffery To <jeffery.to@gmail.com> (cherry picked from commit9e95dff9ac)
8.1 KiB
8.1 KiB