Haidra-Org / horde-worker-reGen

The default client software to create images for the AI-Horde
https://aihorde.net/
GNU Affero General Public License v3.0
93 stars 42 forks source link

Fix installed python deps #310

Closed HPPinata closed 1 month ago

HPPinata commented 1 month ago

This was incomplete and masked by 22.04 also using 3.11 as it's Python version. python3.11-dev is technically optional, but included because it's needed on the AMD side. venv creation HAS to be called with the full version, otherwise the dist default is used. pip only needs to be updated inside the venv.

This should be rather straight forward and just makes the dependencies explicit. The current behavior won't change, but if the base python version (either of the OS, or what reGen is using) ever changes, this version won't break. The old one would throw errors when trying to use the venv.