New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: pip_url
not consistent between .lock
file and meltano.yml
#8217
Comments
pip_url
in meltano.yml
not updated when changed in .lock
file
pip_url
in meltano.yml
not updated when changed in .lock
filepip_url
not consistent between .lock
file and meltano.yml
It should be using
The idea of having it in |
Yeah, so can confirm Meltano is using the I think #8176 could address this, but I'm not sure in what situation you would use |
Just caught up with Office Hours. I'm not really sure what the consensus was on pinning plugins to specific versions on Meltano Hub in the end - we do seem to be the only ones actively doing this... Although, the dbt utilities are pinned (e.g. Our motivation for this is purely that it's more stable for users to be pinned to a specific version, and they can update whenever - manually or through whatever means Meltano provides. I agree that it's good to have the |
My main problem with an unpinned Also, if a plugin's |
@ReubenFrankel I was asking the question of whether its the hub/meltano's responsibility to pin the plugin vs the user's responsibility. You make a good point that its mixed right now since your variants and dbt imply that its the hub's responsibility but the majority of the other hub plugins offload that responsibility to the user. I could see it making sense to update the pip_url in the meltano.yml anytime the lockfile is updated. Even if the hub pip_url isnt pinned, if someone asks to get an updated lock file then they'd probably also want the updated plugin code to go with it since the hub definition usually tracks the latest version. If we dont update the pip_url during a |
This is actually how #8176 is implemented at the moment with
In my mind, this feels a bit off because it would mean |
Meltano Version
2.20.0
Python Version
3.8
Bug scope
CLI (options, error messages, logging, etc.)
Operating System
Linux - Ubuntu 22.04
Description
Given a plugin in a project and its upstream definition updated with a different
pip_url
, when updating the plugin in the project withthe
pip_url
for the plugin entry in themeltano.yml
is not updated (i.e a discrepancy between the plugin.lock
file andmeltano.yml
entry).This raises the following questions for me (not sure if answers to these are documented anywhere):
pip_url
from the plugin.lock
file or themeltano.yml
entry during install?pip_url
included in the pluginmeltano.yml
entry by default?Might relate to #8176
Code
No response
The text was updated successfully, but these errors were encountered: