if im am developing a tap.. and the singer spec go...
# singer-tap-development
e
if im am developing a tap.. and the singer spec got updated.. what's the best way to upgrade my tap? is there a meltano call I just make or ..? obviously I will git commit and tag before I try this
a
Is it safe to assume the tap is built on the SDK? If so: •
poetry add singer-sdk==1.0
(or whatever the latest version is) •
poetry update && poetry lock
(updates all dependencies) •
poetry run pytest
(or however you are running tests) • and then push/republish and done
The SDK is built to automatically send out Singer Spec-compliant messages and behaviors. So, except when there are breaking changes in the SDK itself, it should just be as simple as updating to the latest SDK version.
Does that help?
e
awesome, yes! Just wanting to get the latest in prep for a small demo this thursday for the channel
I will give this a run tomorrow. Thanks as always AJ
Copy code
[[package]]
390 name = "singer-sdk"
391 version = "0.3.8"
392 description = "A framework for building Singer taps"
393 category = "main"
394 optional = false
395 python-versions = ">=3.6.1,<3.10"
396
this is what my lock file has right now.. no upgrade.. sounds like I can grab 0.3.10 then
when I hit pytest it complained because it cannot find
meltano.yml
but I will ignore this.. I do not do anything exotic yet and likely this upgrade will go fine.. will test a bunch before the office hours / demo thursday