-
Notifications
You must be signed in to change notification settings - Fork 55
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
Add vspk python module for Nuage #292
Conversation
Is this going to change our upgrade procedure? Will we need to start upgrading the pip packages in some way? Also, are there any version constraints? I know the BZ says the latest version, but that seems awfully optimistic... Are they sure that no new version will break their integration? |
These are all good questions. Can we get @Loicavenel to comment here? While, we can certainly install the latest pip and vspk, it's going to the "latest" packaged versions, which is usually super old. It would be great to know what minimum versions we need and if there are any consumers of it to help verify it still works on upgrades. "For nuage" doesn't really tell us much. |
vspk is coming straight from pypi, so it will be the latest available at the time of appliance build. I think the future plan is to use requirements.txt, and we'll be able to specify version requirement there. So the concern for now will really be if we might take packages that's newer than what we want to use. cc @miha-plesko |
Right, my bad. Only python-pip will be from a package. The means each build of manageiq may get different versions of vspk depending on how frequently it's changed. |
I think that itself isn't a problem as that's how gem (as well as rpm) works too. The only difference here is that we can't prevent breaking version coming to the build as we don't have requirements.txt yet.. @miha-plesko, I think your input will be needed here... if you'd like version constraints to be set now, we can do that, please let me know what it should be. Or we can leave it open and assume breaking change in vspk (if any) will come with code update... |
@simaishi lets lock it to |
b11bee8
to
fa8eac8
Compare
Updated to lock to |
Checked commit simaishi@fa8eac8 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM to me for now. I don't know how we track when this version needs to be changed but we can tackle that when it needs to change. What do you think @carbonin?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definitely more comfortable with this now that the version is locked. 👍
Add vspk python module for Nuage (cherry picked from commit 146dae9) https://bugzilla.redhat.com/show_bug.cgi?id=1630801
Hammer backport details:
|
https://bugzilla.redhat.com/show_bug.cgi?id=1630801
Bambou (which is also listed in the BZ) is a dependency of vspk.