amazon-linux-2023 icon indicating copy to clipboard operation
amazon-linux-2023 copied to clipboard

[Package Request] - mod_wsgi

Open matejsp opened this issue 2 years ago • 2 comments

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 ?

matejsp avatar Feb 09 '23 11:02 matejsp

Crazy that this is not included - Django, Flask, etc. on Apache require it, and Amazon is forcing the OS migration.

QuadrupleA avatar Jul 18 '24 21:07 QuadrupleA

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

matejsp avatar Jul 19 '24 07:07 matejsp