[pkg-uWSGI-devel] Bug#1029076: Bug#1029076: closed by Jonas Smedegaard <jonas at jones.dk> (reply to 1029076 at bugs.debian.org) (Re: Bug#1029076: uwsgi-plugin-python3: built against non-default libpython3.11 / should always build against the defalt Python in testing)

Dominik George natureshadow at debian.org
Fri Jan 27 10:17:59 GMT 2023


Hi Jonas,

> Please describe what exactly fails, to aid in understanding what we are
> talking about and aid in testing.

So, consider the following example of how to use uWSGI (it is actually
the msot common and basic example, so I would expect you to test it):

 1. Create a virtual environment: python3 -m venv /srv/fooenv
 2. Install whatever WSGI app you like into the venv
   → note that at this point, all packages isntalled into the
     venv will be versioned for python3.10 in testing!
 3. Configure a uWSGI app to use the environment (by setting
    virtualenv = /srv/fooenv and referring to a script exposing
    a WSGI app there)
 4. Start uWSGI
   → note that at this point, all imports from packages in the
     venv fail, because the WSGI script is run using Python 3.11
     while the venv uses Python 3.10, which is the default Python)

-nik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 297 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-uwsgi-devel/attachments/20230127/97543b3b/attachment.sig>


More information about the pkg-uWSGI-devel mailing list