-
|
Hello there, I want to know if it's possible to run stackstorm 3.9 on python3.11 on RedHat 9.4. I have already tried multiple setups but for some reason I can't get Stackstorm to use python 3.11, some things i tried:
Am I missing something or is what i want to achieve not possible? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
St2 v3.9 RPM for RedHat v9 includes a python 3.9 virtual environment. You can not switch python versions as there are 3rd party dependencies that are pinned for the specific version of Python in the virtual environment at build time. The only way I can think of to get St2 v3.9 running on RH9 with py3.11 would be to build new RPMs with python3.11 as the virtualenv interpreter. If you want to pursue such an idea you can use https://github.com/StackStorm/st2-packages repository to help. The install from source docs may be useful to understand what's involved to build st2 https://docs.stackstorm.com/development/sources.html. |
Beta Was this translation helpful? Give feedback.
-
|
Currently, the St2 project targets the last two releases of RedHat and Ubuntu. St2 v3.9 supports RH8/9 and U20.04/U22.04. St2 v3.10 will target RH9/10 and U22.04/24.04. The newer distributions will have new Python interpreters by default. Release for v3.10 will be at least 5-6 months away. |
Beta Was this translation helpful? Give feedback.
St2 v3.9 RPM for RedHat v9 includes a python 3.9 virtual environment. You can not switch python versions as there are 3rd party dependencies that are pinned for the specific version of Python in the virtual environment at build time. The only way I can think of to get St2 v3.9 running on RH9 with py3.11 would be to build new RPMs with python3.11 as the virtualenv interpreter. If you want to pursue such an idea you can use https://github.com/StackStorm/st2-packages repository to help. The install from source docs may be useful to understand what's involved to build st2 https://docs.stackstorm.com/development/sources.html.