Hi everyone :wave: I'm trying to follow the tutor...
# getting-started
m
Hi everyone 👋 I'm trying to follow the tutorial to create my own extractor (https://docs.meltano.com/tutorials/custom-extractor). But either I or the tutorial fails in step 3. The commando
poetry install
fails with the error message:
Copy code
Thus, singer-sdk (>=0.17.0,<0.18.0) is incompatible with tox (>=4.1.3,<5.0.0).
So, because tap-jsonplaceholder depends on both singer-sdk (^0.17.0) and tox (^4.1.3), version solving failed.
How I got here: - pip3 install pipx - pipx ensurepath - pipx install meltano - pipx install cookiecutter - pipx install poetry -
cookiecutter <https://github.com/meltano/sdk> --directory="cookiecutter/tap-template"
and copied the configuration in the tutorial (this is step 2) In step 3 I do
poetry install
and get the error message above. As far as I can understand, it's because
tox (4.2.5) depends on importlib-metadata (>=5.2)
and
singer-sdk (0.17.0) depends on importlib-metadata (<5.0.0)
- and to me that seems to be a conflict.
a
It looks like this may be a new bug in the tutorial and/or the cookie cutter template. Can you try
poetry remove tox
and then retry
poetry install
?
m
Nicely done @aaronsteers clapping that was fast. And it worked!
a
Woohoo! I am glad!
m
You should be 🙂
a
😁 Let us know if we can help with anything else! I'll open a bug report for this when I'm back at my laptop.
c
I also raised a bug report for this here: https://github.com/meltano/sdk/issues/1311
a
You beat me to it @christoph! Thanks, man 🙏