Losing my mind over here. No matter what I do I ca...
# troubleshooting
t
Losing my mind over here. No matter what I do I can't get the MELTANO__PYTHON_VERSION variable to not be 3.13
1
Copy code
[tanner@sato ubb-meltano]$ python --version
Python 3.10.17
[tanner@sato ubb-meltano]$ pyenv local 3.12.10
[tanner@sato ubb-meltano]$ python --version
Python 3.12.10
[tanner@sato ubb-meltano]$ mel add airflow
Added utility 'airflow' to your project
Variant:	apache (default)
Repository:	<https://github.com/apache/airflow>
Documentation:	<https://hub.meltano.com/utilities/airflow--apache>

2025-08-11T19:40:38.526491Z [info     ] Installing utility 'airflow'  
2025-08-11T19:40:38.809453Z [info     ] Logged uv pip install output to /home/tanner/Projects/ubb-meltano/.meltano/logs/pip/utilities/airflow/pip.log
2025-08-11T19:40:38.809589Z [error    ] Utility 'airflow' could not be installed: Failed to install plugin 'airflow'. details='error: Error while accessing remote requirements file: `<https://raw.githubusercontent.com/apache/airflow/constraints-2.10.5/constraints-no-providers-3.13.txt>`\n'
2025-08-11T19:40:38.810001Z [error    ] Need help fixing this problem? Visit <http://melta.no/> for troubleshooting steps, or to join our friendly Slack community.

Failed to install plugin(s)
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /home/tanner/.local/share/pipx/venvs/meltano/lib64/python3.13/site-packages/meltano/cli/__init__ │
│ .py:105 in _run_cli                                                                              │
│                                                                                                  │
│   102 │   """                                                                                    │
│   103 │   try:                                                                                   │
│   104 │   │   try:                                                                               │
│ ❱ 105 │   │   │   cli(obj={"project": None})                                                     │
│   106 │   │   except ProjectReadonly as err:                                                     │
│   107 │   │   │   raise CliError(                                                                │
│   108 │   │   │   │   f"The requested action could not be completed: {err}",  # noqa: EM102      │
│                                                                                                  │
│ /home/tanner/.local/share/pipx/venvs/meltano/lib64/python3.13/site-packages/click/core.py:1161   │
│ in __call__                                                                                      │
│                                                                                                  │
│   1158 │                                                                                         │
│   1159 │   def __call__(self, *args: t.Any, **kwargs: t.Any) -> t.Any:                           │
│   1160 │   │   """Alias for :meth:`main`."""                                                     │
│ ❱ 1161 │   │   return self.main(*args, **kwargs)                                                 │
│   1162                                                                                           │
│   1163                                                                                           │
│   1164 class Command(BaseCommand):                                                               │
│                                                                                                  │
│                                     ... 13 frames hidden ...                                     │
│                                                                                                  │
│ /usr/lib64/python3.13/asyncio/base_events.py:725 in run_until_complete                           │
│                                                                                                  │
│    722 │   │   if not future.done():                                                             │
│    723 │   │   │   raise RuntimeError('Event loop stopped before Future completed.')             │
│    724 │   │                                                                                     │
│ ❱  725 │   │   return future.result()                                                            │
│    726 │                                                                                         │
│    727 │   def stop(self):                                                                       │
│    728 │   │   """Stop running the event loop.                                                   │
│                                                                                                  │
│ /home/tanner/.local/share/pipx/venvs/meltano/lib64/python3.13/site-packages/meltano/cli/add.py:2 │
│ 22 in add                                                                                        │
│                                                                                                  │
│   219 │                                                                                          │
│   220 │   if success is False:                                                                   │
│   221 │   │   tracker.track_command_event(CliEvent.failed)                                       │
│ ❱ 222 │   │   raise CliError("Failed to install plugin(s)")  # noqa: EM101                       │
│   223 │                                                                                          │
│   224 │   _print_plugins(plugins)                                                                │
│   225 │   tracker.track_command_event(CliEvent.completed)                                        │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
CliError: Failed to install plugin(s)
The above command puts this into my meltano.yml
Copy code
- name: airflow
    variant: apache
    pip_url: git+<https://github.com/meltano/airflow-ext.git@main> apache-airflow==2.10.5 --constraint <https://raw.githubusercontent.com/apache/airflow/constraints-2.10.5/constraints-no-providers-${MELTANO__PYTHON_VERSION}.txt>
Notice the URL in the console output is 3.13.txt
If I force the URL to use 3.12 rather than 3.13 I get errors because the install is trying to use 3.13
t
t
Looks like I'm not setting it at all
Okay I added
python 3.12.10
to the airflow section and it worked. Thank you
Mind no longer being lost
melty bouncy 2
t
Glad I could help 🙂