Package: libapache2-mod-python / 3.5.0+git20211031.e6458ec-1+deb12u1

Metadata

Package Version Patches format
libapache2-mod-python 3.5.0+git20211031.e6458ec-1+deb12u1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01_configure.patch | (download)

configure.in | 18 10 + 8 - 0 !
1 file changed, 10 insertions(+), 8 deletions(-)

 patch configure script.

 Remove apache version check for debian package, since we don't want to
 build-depend on apache2.

Patch-Name: 01_configure.patch

02_makefile.patch | (download)

dist/Makefile.in | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 patch makefile to issue correct setup.py call.

Patch-Name: 02_makefile.patch

03_debian version.patch | (download)

dist/version.sh | 21 2 + 19 - 0 !
1 file changed, 2 insertions(+), 19 deletions(-)

 use debian package version

Upstream isn't making releases, and we can't trivially recreate the
upstream git describe output from our source package.

10_make package reproducible.patch | (download)

dist/setup.py.in | 2 0 + 2 - 0 !
1 file changed, 2 deletions(-)

 make package reproducible


11_py310_py_ssize_t_clean.patch | (download)

src/connobject.c | 2 1 + 1 - 0 !
src/filterobject.c | 2 1 + 1 - 0 !
src/include/mod_python.h | 1 1 + 0 - 0 !
src/include/mod_python.h.in | 1 1 + 0 - 0 !
src/requestobject.c | 2 1 + 1 - 0 !
5 files changed, 5 insertions(+), 3 deletions(-)

 make mod-python py_ssize_t_clean

Required for Python 3.10 support.

Bug-Debian: https://bugs.debian.org/1009243
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/libapache2-mod-python/+bug/1960088
12_py310_collections_import.patch | (download)

lib/python/mod_python/publisher.py | 4 2 + 2 - 0 !
lib/python/mod_python/util.py | 4 2 + 2 - 0 !
2 files changed, 4 insertions(+), 4 deletions(-)

 python 3.10 support: import callable from collections.abc

Bug-Debian: https://bugs.debian.org/1009243
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/libapache2-mod-python/+bug/1960088
13_py310_minor_version.patch | (download)

configure.in | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 support 2-digit python minor versions

Python 3.10 support.

Fixes: #111
Bug-upstream: https://github.com/grisha/mod_python/issues/111
14_sphinx_py3.patch | (download)

Doc/conf.py | 8 6 + 2 - 0 !
1 file changed, 6 insertions(+), 2 deletions(-)

 docs: python 3 & sphinx 4 support

15_py310_threadstate_clear.patch | (download)

src/mod_python.c | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 3.10 and up do not need a pythreadstate_clear()

Closes #100

Bug-Upstream: https://github.com/grisha/mod_python/issues/100
Bug-Debian: https://bugs.debian.org/1019299