-
Notifications
You must be signed in to change notification settings - Fork 979
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
Implement dynamic versioning using poetry plugin #2869
Conversation
Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com>
9fdb66c
to
3d741c5
Compare
Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com>
Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com>
Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com>
Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com>
poetry config installer.parallel true | ||
- name: Install poetry version plugin | ||
run: | | ||
pip install -e python/plugin/poetry-version-plugin |
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.
Can we install the plug-in with poetry plugin
$ poetry plugin add poetry-version-plugin
Discussed with @andyi2it, |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andyi2it, yuzisun The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* Added poetry version plugin. Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com> * Removing tests and scripts Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com> * Added poetry plugin installation. Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com> * Fix setup-kserve script. Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com> * Added python verison 3.9 in e2e. Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com> --------- Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com> Signed-off-by: iamlovingit <freecode666@gmail.com>
What this PR does / why we need it:
This PR adds provision to install a new poetry plugin from local, thereby dynamically setting the version from a VERSION file.
The plugin should be installed along with poetry using
pip install
.The plugin would read the version from the file and dynamically use the version from it for the corresponding packages.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #2800
Type of changes
Please delete options that are not relevant.
Release note: