Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passenger python bug #2399

Open
Raidm404 opened this issue Dec 5, 2021 · 3 comments
Open

Passenger python bug #2399

Raidm404 opened this issue Dec 5, 2021 · 3 comments

Comments

@Raidm404
Copy link

Raidm404 commented Dec 5, 2021

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

@gabefair
Copy link

image

Python 3.12 no longer has the imp module

@CamJN
Copy link
Contributor

CamJN commented Oct 17, 2023

@gabefair the patch to fix this is already merged, it is just waiting on a release.

@gabefair
Copy link

Duplicate of #2501 and merged with #2502

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants