GitHub
06/26/2025, 6:49 PMmeltano invoke <plugin> ... (backport of #9330)
Pull request opened by edgarrmondragon
Backport of #9330.
## Description
Noticed this thanks to this Hub workflow:
$ meltano invoke tap-peopleware --help | tee help-output.txt
2025-06-26T165157.692118Z [info ] Environment 'dev' is active
Traceback (most recent call last):
File "/home/runner/work/hub/hub/project/.meltano/extractors/tap-peopleware/venv/bin/tap-peopleware", line 8, in <module>
sys.exit(TapPeopleware.cli())
File "/home/runner/work/hub/hub/project/.meltano/extractors/tap-peopleware/venv/lib/python3.10/site-packages/singer_sdk/cli/__init__.py", line 35, in get
return self.method(owner)
File "/home/runner/work/hub/hub/project/.meltano/extractors/tap-peopleware/venv/lib/python3.10/site-packages/singer_sdk/plugin_base.py", line 690, in cli
_setup_console_logging(log_level=_plugin_log_level(plugin_name=cls.name))
File "/home/runner/work/hub/hub/project/.meltano/extractors/tap-peopleware/venv/lib/python3.10/site-packages/singer_sdk/_logging.py", line 47, in _setup_console_logging
logging.config.dictConfig(_load_yaml_logging_config(log_config_path))
File "/home/runner/work/hub/hub/project/.meltano/extractors/tap-peopleware/venv/lib/python3.10/site-packages/singer_sdk/_logging.py", line 24, in _load_yaml_logging_config
with path.open() as f:
File "/opt/hostedtoolcache/Python/3.10.18/x64/lib/python3.10/pathlib.py", line 1119, in open
return self._accessor.open(self, mode, buffering, encoding, errors,
FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/hub/hub/project/.meltano/run/tap-peopleware/tap.singer_sdk_logging.json'
https://github.com/meltano/hub/actions/runs/15902542043/job/44867108635
## Related Issues
• Fixes a bug introducted in #9077
## Summary by Sourcery
Bug Fixes:
• Remove the exec_args guard so that Singer logging config is created even when arguments are provided to the invoke command.
## Description
## Related Issues
• Closes #XXXX
## Summary by Sourcery
Bug Fixes:
• Always create the Singer logging config by removing the exec_args guard in the setup hook.
meltano/meltanoGitHub
06/26/2025, 6:49 PMGitHub
06/26/2025, 7:00 PM