hirantha_bandara
06/10/2021, 2:57 PMtaylor
06/10/2021, 3:05 PMhirantha_bandara
06/10/2021, 3:11 PMdouwe_maan
06/10/2021, 3:39 PMhirantha_bandara
06/10/2021, 4:39 PMdouwe_maan
06/10/2021, 4:43 PMmeltano.yml
definition for tap-mycsvtap
?douwe_maan
06/10/2021, 5:33 PMmeltano --version
douwe_maan
06/10/2021, 5:34 PMmeltano install
is still trying to actually install the plugin using pip instead of skipping that step, since there's no pip_url
hirantha_bandara
06/10/2021, 5:36 PMmeltano, version 1.75.0
douwe_maan
06/10/2021, 5:37 PMmeltano.yml
you just shared over DM, you're still getting that same failed to install plugin 'tap-mycsvtap'.
error message from meltano install
?hirantha_bandara
06/10/2021, 5:37 PMdouwe_maan
06/10/2021, 5:40 PMDiscarding file:///home/hirantha/Experiments/Meltano/meltano-projects/myproject3/extract/tap-mycsvtap
, but I don't know why that would come into play at meltano install
instead of `meltano elt`/`meltano invoke`douwe_maan
06/10/2021, 5:40 PMhirantha_bandara
06/10/2021, 5:41 PMhirantha_bandara
06/10/2021, 5:42 PMdouwe_maan
06/10/2021, 5:42 PMdouwe_maan
06/10/2021, 5:43 PMhirantha_bandara
06/10/2021, 5:43 PMdouwe_maan
06/10/2021, 5:44 PMexecutable
, not pip_url
douwe_maan
06/10/2021, 5:44 PMpip_url
set currently?hirantha_bandara
06/10/2021, 5:45 PMhirantha_bandara
06/10/2021, 5:46 PMaaronsteers
06/10/2021, 5:48 PM/home/hirantha/Experiments/Meltano/meltano-projects/myproject3/.meltano/extractors/tap-mycsvtap/venv/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py
You might try removing that plugin first with meltano remove
.
You could also just bring back any valid pip_url to get through the install
step, but still use your custom shell script path, as you have it.aaronsteers
06/10/2021, 5:49 PMhirantha_bandara
06/10/2021, 5:49 PMdouwe_maan
06/10/2021, 5:49 PMmeltano install
try to reinstall in the venv when there's no pip_url
?aaronsteers
06/10/2021, 5:50 PMaaronsteers
06/10/2021, 5:59 PMI actually don’t understand how to build the tap first locally and then install it to meltano project. Assume tap project is in a different folder (cookie cutter) and the meltano project is in different folder.@hirantha_bandara - Just to touch back on these points: 1. The cookicutter and meltano projects in different folders is expected, yes. 2. There’s not really a ‘build’ step, per se, but the analagous step is the
poetry install
command being run from your custom tap’s project folder. That command installs all the tap dependencies in its own virtual environment, and it’s run automatically by the shell script (tap-mycsvtap.sh) so you can just “run” the shell script and everything gets updated automatically whenever you call it.
3. Meltano has it’s own virtual-environment management features to prevent version conflicts between plugins, but in this case we’re bypassing those so we can just call the shell-script executable directly.aaronsteers
06/10/2021, 5:59 PMhirantha_bandara
06/10/2021, 6:03 PMaaronsteers
06/10/2021, 6:04 PMhirantha_bandara
06/15/2021, 12:54 PM