<#2797 Warn when using python versions that plugin...
# meltano-repo-activity
g
#2797 Warn when using python versions that plugins do not yet support Issue created by MeltyBot Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2854 Originally created by @aaronsteers on 2021-07-14 201340 --- With Airflow in #2545, but likely for other python-based plugins in the future, we may need a way to release a Meltano version which is not supported by all of our dependent plugins. By adding earlier support for higher versions of Python, we can manage the messaging and warning messages as and when a specific python version is not supported. Something like:
meltano add orchestrator airflow
ERROR: Airflow is not yet supported in Python 3.9. To use the Airflow plugin, please downgrade to an earlier version of Python and then try again. For more information: https://hub.meltano/plugins/airflow#supported-python-versions Alternatives Considered An alternative (but probably a LOT more work) would be to use some kind of abstraction on top of
pyenv
during install so we can decouple the version of python running the plugin from the version of python used by Meltano. Related Threads Discussed in https://gitlab.com/meltano/meltano/-/merge_requests/2291#note_666834305: From @edgarrmondragon:
For future similar scenarios, I wonder if instead of constraining Meltano itself, we can add a warning on the installation of dbt (or any plugin for that matter) if the system Python is not compatible. That would require adding an
known_incompatibilities
or something similar to the
discovery.yml
plugin spec.
meltano/meltano