Hello guys, I'm running into an issue that I can't...
# troubleshooting
b
Hello guys, I'm running into an issue that I can't solve. I was using the following tap-gitlab extractor version, by pinning it to the main branch and v2.0.0 release.
Copy code
- name: tap-gitlab
  variant: meltanolabs
  pip_url: git+<https://github.com/MeltanoLabs/tap-gitlab.git@v2.0.0>
However, I can't make it work anymore, I get the following errors when trying to re-install it or add it:
Copy code
Running command git clone --filter=blob:none --quiet <https://github.com/MeltanoLabs/tap-gitlab.git> /private/var/folders/ym/1w1x3qld4b9bqhl937fs9tnw0000gn/T/pip-req-build-fy7vr49y
  Running command git checkout -q aea50e8dfbbe22db279db8e3a9cf2c4ae1302354
  error: subprocess-exited-with-error

  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [20 lines of output]
      Collecting poetry-core@ git+<https://github.com/python-poetry/poetry-core.git@master>
        Cloning <https://github.com/python-poetry/poetry-core.git> (to revision master) to /private/var/folders/ym/1w1x3qld4b9bqhl937fs9tnw0000gn/T/pip-install-ohm0315i/poetry-core_0c9da48f9a7544ac87a14101bfb3ce10
        Running command git clone --filter=blob:none --quiet <https://github.com/python-poetry/poetry-core.git> /private/var/folders/ym/1w1x3qld4b9bqhl937fs9tnw0000gn/T/pip-install-ohm0315i/poetry-core_0c9da48f9a7544ac87a14101bfb3ce10
        WARNING: Did not find branch or tag 'master', assuming revision or ref.
        Running command git checkout -q master
        error: pathspec 'master' did not match any file(s) known to git
        error: subprocess-exited-with-error

        × git checkout -q master did not run successfully.
        │ exit code: 1
        ╰─> See above for output.

        note: This error originates from a subprocess, and is likely not a problem with pip.
      error: subprocess-exited-with-error

      × git checkout -q master did not run successfully.
      │ exit code: 1
      ╰─> See above for output.

      note: This error originates from a subprocess, and is likely not a problem with pip.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
It seems that Meltano can't find this version of the plugin: https://github.com/MeltanoLabs/tap-gitlab/releases/tag/v2.0.0 Thank you
e
I think the issue is the build backend pointing to a branch https://github.com/MeltanoLabs/tap-gitlab/blob/84509528b7d127025cd0bb257ecae795b0fa9e2b/pyproject.toml#L41. This PR should fix it.
b
Thx Edgar, will wait for the PR to be approved and merged then. In the meantime, do you know if I can work around the issue?
FYI, while waiting for the PR to be merged, I simply forked the repo, applied the change in my fork, and I'm using my personal pip_url.