Hi, can I somewhere find Python version requiremen...
# python
p
Hi, can I somewhere find Python version requirements for the Pulumi provider Python SDK? I've just upgraded the pulumi-aws-tags package to Pulumi v3 (and Pulumi AWS v4) but the tests fail for Python 3.6 with:
Copy code
args = (), kwargs = {}

    def wrapper(*args, **kwargs):
        from .. import Output  # pylint: disable=import-outside-toplevel
>       _sync_await(run_pulumi_func(lambda: _sync_await(Output.from_input(fn(*args, **kwargs)).future())))

/opt/hostedtoolcache/Python/3.6.13/x64/lib/python3.6/site-packages/pulumi/runtime/mocks.py:37: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
...shortened...
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

arg = ~T, tvars = (~T, ~T), args = [<class 'str'>]

    def _replace_arg(arg, tvars, args):
        """An internal helper function: replace arg if it is a type variable
        found in tvars with corresponding substitution from args or
        with corresponding substitution sub-tree if arg is a generic type.
        """
    
        if tvars is None:
            tvars = []
        if hasattr(arg, '_subs_tree') and isinstance(arg, (GenericMeta, _TypingBase)):
            return arg._subs_tree(tvars, args)
        if isinstance(arg, TypeVar):
            for i, tvar in enumerate(tvars):
                if arg == tvar:
>                   return args[i]
E                   IndexError: list index out of range

/opt/hostedtoolcache/Python/3.6.13/x64/lib/python3.6/typing.py:566: IndexError
r
Hey! We do support python 3.6 - can you please open an issue with the details?
p
Will do, thanks @red-match-15116