GitHub
08/02/2025, 4:26 AMmeltano select cannot update selected entities (upstream Click bug)
Issue created by edgarrmondragon
### Meltano Version
3.8.0
### Python Version
NA
### Bug scope
CLI (options, error messages, logging, etc.)
### Operating System
NA
### Description
A recent release of click broke (at least) how flag values work. This is causing meltano select <extractor> <stream> <property> to display the list of properties instead of updating the plugin.
The underlying problem seems to be that list_format here
meltano/src/meltano/cli/select_entities.py
Lines 122 to 139 in</meltano/meltano/commit/da6dec3c15d76f14fe1b66019c8b7b7b63ab3cbe|da6dec3>
| if list_format: |
| -------------------------------- |
| await show( |
| project, |
| extractor, |
| install_plugins=install_plugins, |
| show_all=show_all, |
| refresh=refresh_catalog, |
| output_format=list_format, |
| ) |
| else: |
| update( |
| project, |
| extractor, |
| entities_filter, |
| attributes_filter, |
| exclude=exclude, |
| remove=remove, |
| ) |
is the literal string "False" when no list format is passed.
#### Workaround
uv tool install --with 'click==8.2.1' meltano
### Related
• pallets/click#3024
### Code
# meltano select tap-readthedocs projects id lists the selected attributes
# instead of updating the plugin
plugins:
extractors:
- name: tap-readthedocs
variant: edgarrmondragon
pip_url: tap-readthedocs==0.5.9
### Link to Slack/Linen
No response
meltano/meltanoGitHub
08/02/2025, 6:52 PMmeltano select cannot update selected entities (upstream Click bug)
Issue closed as completed by edgarrmondragon
meltano/meltano