Jump to content

Recommended Posts

Posted

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

Posted

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...

Posted

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:

  1. Move to a VPS where you have root access to install whatever version modules you want https://heliohost.org/vps/
  2. 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
  3. If you can use Python CGI instead of Flask we can set up a virtual environment for you using the old version.
  • Krydos changed the title to Requesting fixed version of Pydantic which would run on HelioHost properly
Guest
This topic is now closed to further replies.
×
×
  • Create New...