Any advice on how to specify previous versions of ...
# troubleshooting
k
Any advice on how to specify previous versions of adswerve bigquery target in meltano.yml file, tried git+https://github.com/adswerve/target-bigquery.git@v0.10.2 and didnt work
Running command git clone --filter=blob:none -q https://github.com/adswerve/target-bigquery.git /tmp/pip-req-build-7mt2kwyh WARNING: Did not find branch or tag 'v0.11.3', assuming revision or ref. Running command git checkout -q v0.11.3 error: pathspec 'v0.11.3' did not match any file(s) known to git
ok, removing the v and this works
however pipeline fails at [error ] Loading failed code=1 job_id=postgres-to-bigquery-postgres message=pkg_resources.DistributionNotFound: The 'target-bigquery' distribution was not found and is required by the application name=meltano
j
The reason is probably because of the
v
in your version string. The tags on https://github.com/adswerve/target-bigquery/tags do not have a
v
prefix in them. so try
git+<https://github.com/adswerve/target-bigquery.git@0.10.2>
without the
v
or strangely
0.10.2
exists but also
v0.10.2
but they point at different commits
did you try
meltano install --clean
?
k
Indeed it runs a meltano install --clean but still wasnt working. This issue wasnt solved but for us it was solved by switching to meltano python 3.8 for our docker image and using the latest bigquery target.