amazon-linux-2023
amazon-linux-2023 copied to clipboard
[Package Request] - mod_wsgi
What package is missing from Amazon Linux 2022? Please describe and include package name. mod_wsgi 4.9.4
Is this an update to existing package or new package request? New package request
Is this package available in Amazon Linux 2? Yes it was.
Number of users impacted ?
Crazy that this is not included - Django, Flask, etc. on Apache require it, and Amazon is forcing the OS migration.
We have the following workaround using latest mod_wsgi from pypi
python3.11 -m venv .venv
source .venv/bin/activate
pip install mod_wsgi==5.0.0
ln -sf /root/.venv/lib64/python3.11/site-packages/mod_wsgi/server/mod_wsgi-py311.cpython-311-aarch64-linux-gnu.so /etc/httpd/modules/mod_wsgi.so
echo "LoadModule wsgi_module modules/mod_wsgi.so" > /etc/httpd/conf.modules.d/mod_wsgi.conf
I see that there is another duplicate: https://github.com/amazonlinux/amazon-linux-2023/issues/532