-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Use packaging
for version parsing. looseversion
when needed only.
#63383
Conversation
142fdf9
to
3e0899b
Compare
re-run full all |
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.
Wondering about that comparison to needed_version, might be a logic error in the original Salt.
8ed2f2d
to
f9fcc26
Compare
re-run full all |
f9fcc26
to
e6b53c8
Compare
44eecdf
to
506af57
Compare
c243975
to
7508c70
Compare
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
Instead use `salt/_version.txt` which only contains the version string. Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
7508c70
to
b38fade
Compare
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.
Just one question:
Are we still generating _version.py
. If not, my concern is that other people are relying on this file.
No, the only generated file now is As for someone using So, adjust their workflow if anyone is relying on Happy to be to convinced otherwise. |
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.
We need to specify what the format of _version.txt is somewhere, to ensure in the future that the file is being written correctly.
Do not see anywhere specification for the format of _version.txt, relying on code to document, doesn't work since code can have errors and be modified incorrectly.
There is no format, its the |
What does this PR do?
See title