debxylen Posted May 23 Posted May 23 1. My account username: debxylen 2. Server: Tommy 3. Python version: 3.12 4. I need that the pydantic module be downgraded to <2 because mod_wsgi on Apache runs Flask apps in subinterpreters, and PyO3 doesn't support that. Thus it is essential to downgrade to pydantic v1.x which doesn't use PyO3
wolstech Posted May 23 Posted May 23 Let's see what Krydos says. Usually we don't downgrade modules, but in this case it sounds like the newer versions are useless due to how we implement Flask...
Krydos Posted May 23 Posted May 23 We don't downgrade modules because that is pretty much guaranteed to break someone else's site unless we know for certain that you're the only one who is using the module. Since the modules is already installed on Tommy that means someone is probably using the newer version. Here are your options: Move to a VPS where you have root access to install whatever version modules you want https://heliohost.org/vps/ Move to Morty where pydantic isn't currently installed so we know we won't break anyone's site by installing an old version. https://krydos3.heliohost.org/pyinfo/info3.12.py If you can use Python CGI instead of Flask we can set up a virtual environment for you using the old version.
Krydos Posted Friday at 08:19 PM Posted Friday at 08:19 PM Closing due to inactivity since there has been no response in this thread for over a week. If you're still having this issue or need help with something else please open a new ticket.
Recommended Posts