[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#768117: debian-policy: WSGI API must distinguish between Python 2 and 3



Package: debian-policy
Severity: normal

The httpd-wsgi virtual name was added in response to #588497.

However, as per the following email:

https://lists.debian.org/debian-devel/2014/09/msg00719.html

"WSGI is an API, not a wire protocol. The Python version of the WSGI
server would also be the Python version the code is run under, so we
must distinguish between Python 2 and 3. The best way would probably be
to specify that httpd-wsgi is for Python 2 and create a httpd-wsgi3
virtual package for Python 3."

This means, as currently written, Python2 packages that depend on
httpd-wsgi might get a Python3 implementation of WSGI, which won't work.

Similarly, Python3 packages that depend on httpd-wsgi might get a
Python2 implementation of WSGI which also won't work.

We need two virtual package names, one for Python2 and one for Python3.

I raised this issue on debian-devel, but unfortunately got noreponse, so
am raising it here.

Thanks


Reply to: