Is there a way for pulumi to check the version of ...
# python
s
Is there a way for pulumi to check the version of python is at least 3.9 and print or show a warning if the stack is performing up or preview when its not?
m
You could do something like this in your program:
Copy code
import sys
import pulumi

if sys.version_info[:2] < (3, 9):
    pulumi.warn("your warning here")
s
in the main.py?
That makes sense.. thank you