MeltanoLabs / MeltanoLabs/tap-postgres

explicit plugin inheritance not working in meltano

Open
#631 9 comments 0 reactions 1 assignee View on GitHub

@edgarrmondragon is already working on this.

Since May 29, 2025.

Dominant language
Python
Stars
26
Forks
42
PR merge metrics
No merged PRs in 30d

Description

I have multiple tap-postgres-based extractors in my meltano project, so would like to name each descriptively and have them explicitly inherit from tap-postgres. According to the docs, I believe something like this ought to work:

plugins:
  extractors:
    - name: tap-postgres--some-descriptive-qualifier
      inherit_from: tap-postgres
      variant: meltanolabs
      pip_url: meltanolabs-tap-postgres~=0.2.0
      config: ...

However, this raises an error on install, and doesn't actually generate a lockfile:

$ meltano install
Extractor 'tap-postgres' is not known to Meltano. Try running `meltano lock --update --all` to ensure your plugins are up to date, or add a `namespace` to your plugin if it is a custom one.
$ meltano lock --update tap-postgres--some-descriptive-qualifier
Locking 1 plugin(s)...
Extractor tap-postgres--some-descriptive-qualifier is an inherited plugin
$ ls plugins/extractors

As a result, I can't run the plugin:

$ meltano invoke tap-postgres--some-descriptive-qualifier
2025-05-29T20:25:23.174730Z [info     ] Environment 'dev' is active
Extractor 'tap-postgres' is not known to Meltano. Try running `meltano lock --update --all` to ensure your plugins are up to date.

I've tried a half-dozen different variations in the meltano.yml file, but nothing works. Assuming this is user error, but I am stumped. I'm using meltano v3.7.6 btw.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.