Skip to content

uwsgi-cgi: use python3 hostpkg not system python3#9843

Merged
neheb merged 1 commit into
masterfrom
unknown repository
Aug 28, 2019
Merged

uwsgi-cgi: use python3 hostpkg not system python3#9843
neheb merged 1 commit into
masterfrom
unknown repository

Conversation

@danielfdickinson

Copy link
Copy Markdown
Contributor

On a Debian system without python3-distutils install, uwsgi-cgi was
failing to build because it couldn't import sysconfig from distutils.
OpenWrt packages should be using the OpenWrt python not the system
python. In addition we need to use python3 not python2, even when
both are available.

Signed-off-by: Daniel F. Dickinson cshored@thecshore.com

Maintainer: me / @Ansuel
Compile tested: ath79, CR5000, latest snapshot, master openwrt/packages (today)
Run tested: same, used luci-ssl-nginx (which requires uwsgi-cgi to work) to operate LuCI including a custom config with client certificate verification.

On a Debian system without python3-distutils install, uwsgi-cgi was
failing to build because it couldn't import sysconfig from distutils.
OpenWrt packages should be using the OpenWrt python not the system
python. In addition we need to use python3 not python2, even when
both are available.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
@neheb

neheb commented Aug 28, 2019

Copy link
Copy Markdown
Contributor

This should probably get a PKG_RELEASE bump.

@danielfdickinson

Copy link
Copy Markdown
Contributor Author

Doesn't affect the binary (or shouldn't). Just fixes the build machinery.

@neheb neheb merged commit 3ebb643 into openwrt:master Aug 28, 2019
@danielfdickinson danielfdickinson deleted the pr-fix-uwsgi-cgi-python branch December 20, 2019 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants