From c8dbdeec72603be45093540b4e2c5aae506054df33bf0623cbad0f5f37ecc2d4 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Tue, 23 Dec 2025 11:18:35 +0100 Subject: [PATCH] version update to 5.0.2, bsc#1255478 --- apache2-mod_wsgi.changes | 27 +++++++++++++++++++++++++++ apache2-mod_wsgi.spec | 13 ++++--------- mod_wsgi-5.0.0.tar.gz | 3 --- mod_wsgi-5.0.2.tar.gz | 3 +++ 4 files changed, 34 insertions(+), 12 deletions(-) delete mode 100644 mod_wsgi-5.0.0.tar.gz create mode 100644 mod_wsgi-5.0.2.tar.gz diff --git a/apache2-mod_wsgi.changes b/apache2-mod_wsgi.changes index 81f5e97..f4fef87 100644 --- a/apache2-mod_wsgi.changes +++ b/apache2-mod_wsgi.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Thu Nov 20 15:26:15 UTC 2025 - Wolfgang Frisch + +- Don't enable the module by default. Instead, include instructions in the + description, consistent with other comparable modules, such as + apache2-mod_fcgid, apache2-mod_jk and apache2-mod_mono. If a reverse + dependency of this module requires it, that package may execute + `a2enmod wsgi`. + +------------------------------------------------------------------- +Wed Mar 19 17:47:41 UTC 2025 - Lucas Mulling + +- Update to 5.0.2 includes changes from 5.0.1: + * Eliminate noise in logs under Python 3.13 when Python garbage collection + decides to delay destruction of objects until a second phase, resulting in + the wsgi.errors log object being accessed after the request had been + completed and the log object marked as invalid. This resulted due to changes + in garbage collection behaviour in Python 3.13. + * Internally, when using Python 3.8 or newer, the PyConfig API will now be + used due to deprecation and future removal of older C API alternatives. + This was required to support Python 3.13. + * Fix issue which could result in process crashing when values were supplied + for user/password/realm of HTTP basic authentication which weren’t + compliant with UTF-8 encoding format. + * Fix memory leak in check_password() authentication hook handler. + * Change use of deprecated thread.setDaemon to thread.daemon. + ------------------------------------------------------------------- Thu Jun 20 09:30:18 UTC 2024 - pgajdos@suse.com diff --git a/apache2-mod_wsgi.spec b/apache2-mod_wsgi.spec index a1193d5..6cd8164 100644 --- a/apache2-mod_wsgi.spec +++ b/apache2-mod_wsgi.spec @@ -1,7 +1,7 @@ # # spec file for package apache2-mod_wsgi # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,7 +27,7 @@ BuildRequires: httpd BuildRequires: httpd-devel %endif Name: apache2-mod_wsgi -Version: 5.0.0 +Version: 5.0.2 Release: 0 Summary: A WSGI interface for Python3 web applications in Apache License: Apache-2.0 @@ -57,6 +57,8 @@ adapter is written completely in C code against the Apache C runtime and for hosting WSGI applications within Apache has a lower overhead than using existing WSGI adapters for mod_python or CGI. +To load the module into Apache, run the command "a2enmod wsgi" as root. + %prep %autosetup -n %{modname}-%{version} @@ -85,13 +87,6 @@ if [ "$1" = "0" ]; then fi %endif -%if 0%{?suse_version} -%posttrans -if ! %{_sbindir}/a2enmod -q wsgi; then - %{_sbindir}/a2enmod wsgi -fi -%endif - %files %defattr(-,root,root) %doc LICENSE README.rst docs/release-notes diff --git a/mod_wsgi-5.0.0.tar.gz b/mod_wsgi-5.0.0.tar.gz deleted file mode 100644 index 61dbee1..0000000 --- a/mod_wsgi-5.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:013e788e26c27eeda99e235fc3ed94dc7ff8b62a0ad2fb5a1cb46aaa92f8f9cc -size 707590 diff --git a/mod_wsgi-5.0.2.tar.gz b/mod_wsgi-5.0.2.tar.gz new file mode 100644 index 0000000..ef438e4 --- /dev/null +++ b/mod_wsgi-5.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a0fdb61405abc300ec6b100c440dd98cf31cb5f97aeef4207390937298cad20 +size 710243 -- 2.51.1