Use generic type hints and new union syntax `|` with python 3.6+
conda install conda-forge::future_typing