passenger
passenger copied to clipboard
Passenger python bug
HI, I am using passenger 6.0.12 . There is a python warning bug with passenger python module. The imp module is depreciated. So if you use a python app with passenger your server log files will be filled with the following warning.
App 514754 output: /usr/share/passenger/helper-scripts/wsgi-loader.py:26: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
App 514754 output: import sys, os, re, imp, threading, signal, traceback, socket, select, struct, logging, errno
Please some one can patch this module to use importlib instead of imp
Python 3.12 no longer has the imp module
@gabefair the patch to fix this is already merged, it is just waiting on a release.
Duplicate of #2501 and merged with https://github.com/phusion/passenger/pull/2502