https://linen.dev logo
#singer-tap-development
Title
# singer-tap-development
h

hassan_syyid

10/05/2022, 9:16 PM
Hey all, having an issue installing Singer SDK taps via Git all of a sudden. Error:
Copy code
hassansyyid@Hassans-Mac advancepro-scripts % source ~/env/test-env/bin/activate
(test-env) hassansyyid@Hassans-Mac advancepro-scripts % pip install git+<https://gitlab.com/hotglue/tap-hubspot-beta.git@v0.0.9>

Collecting git+<https://gitlab.com/hotglue/tap-hubspot-beta.git@v0.0.9>
  Cloning <https://gitlab.com/hotglue/tap-hubspot-beta.git> (to revision v0.0.9) to /private/var/folders/xm/s0jdz7fs3ss992_d8zm2spj40000gn/T/pip-req-build-uwv_qrx_
  Running command git clone --filter=blob:none --quiet <https://gitlab.com/hotglue/tap-hubspot-beta.git> /private/var/folders/xm/s0jdz7fs3ss992_d8zm2spj40000gn/T/pip-req-build-uwv_qrx_
  Running command git checkout -q f1ab79f9562ae0cfb29122fda6ba00145f7c63ba
  Resolved <https://gitlab.com/hotglue/tap-hubspot-beta.git> to commit f1ab79f9562ae0cfb29122fda6ba00145f7c63ba
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [14 lines of output]
      Traceback (most recent call last):
        File "/Users/hassansyyid/env/test-env/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
          main()
        File "/Users/hassansyyid/env/test-env/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/Users/hassansyyid/env/test-env/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 164, in prepare_metadata_for_build_wheel
          return hook(metadata_directory, config_settings)
        File "/private/var/folders/xm/s0jdz7fs3ss992_d8zm2spj40000gn/T/pip-build-env-m07608zd/overlay/lib/python3.10/site-packages/poetry/core/masonry/api.py", line 40, in prepare_metadata_for_build_wheel
          poetry = Factory().create_poetry(Path(".").resolve(), with_groups=False)
        File "/private/var/folders/xm/s0jdz7fs3ss992_d8zm2spj40000gn/T/pip-build-env-m07608zd/overlay/lib/python3.10/site-packages/poetry/core/factory.py", line 48, in create_poetry
          local_config = PyProjectTOML(path=poetry_file).poetry_config
        File "/private/var/folders/xm/s0jdz7fs3ss992_d8zm2spj40000gn/T/pip-build-env-m07608zd/overlay/lib/python3.10/site-packages/poetry/core/pyproject/toml.py", line 74, in poetry_config
          assert isinstance(config, Table)
      AssertionError
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Any ideas as to what could cause this? cc: @aaronsteers
2 Views