I was wondering if we could get a setting to select a different python version for workflows. The newer versions have some nice improvements that would be handy, like 3.10 adds Structural Pattern Matching and Type Annotation Improvements (reducing false positive red squigglys in Python Code windows) while 3.11 sees a 10-60% speed improvement and adds Variadic Generics
Edit:
I tried defining the version in the requirements.txt file, but it doesn't seem to work as it's always auto removed: python>=3.10.0
Great suggestion. I just looked and it seems that the workflows team already has a ticket to update the default python library from 3.10 to 3.11 so I can def tag this thread onto that!
I feel that our internal policy is to just have the most up to date stable version of python be the default, due to worries that if we have users full control over their version they might do crazy stuff and use older versions and cause a whole host of crazy dependency issues that would be best kept far away by limiting users choice to only the newest and best working version
That is really cool to hear that 3.11 has that much of a speed improvement