nginx / unit

NGINX Unit - universal web app server - a lightweight and versatile open source server that simplifies the application stack by natively executing application code across eight different programming language runtimes.
https://unit.nginx.org
Apache License 2.0
5.29k stars 325 forks source link

Python 3.11 Package for Ubuntu 22.04 (Jammy) #966

Closed acnebs closed 9 months ago

acnebs commented 9 months ago

Hi, I noticed there is a unit-python3.11 package for Ubuntu 23.04 (Lunar) but not for Ubuntu 22.04 (Jammy). Because Jammy is the LTS version I would prefer to use that, but I would also like to use Python 3.11.

Would it be possible to add a 3.11 package to the jammy repo?

lcrilly commented 9 months ago

Hi @acnebs, we build with the default version provided by the platform. Jammy is Python 3.10.

It's quite easy to build a python module for the version of your choosing. Have you tried that? https://unit.nginx.org/howto/source/#modules-python

acnebs commented 9 months ago

Gotcha, makes sense. I had not seen that, I will give that a go! Thanks for pointing me in the right direction.

vishgyana commented 3 months ago

Hey there, The same I'm using Ubuntu 22.04 (Jammy) and I require using Python3.11.