summaryrefslogtreecommitdiff
path: root/CLIENTS.md
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2022-12-12 20:50:09 +0300
committerEd Tanous <edtanous@google.com>2022-12-12 21:43:35 +0300
commit204c376da9f178b8920754f3a7ebd96b136a1a14 (patch)
treeda43aa4e59a3ebdcdce0b01f420e4c1a1b44785d /CLIENTS.md
parentf8bb0ff336e0f41b3b24119286def88d41d3d010 (diff)
downloadbmcweb-204c376da9f178b8920754f3a7ebd96b136a1a14.tar.xz
Fix python packaging problem
Python packaging seems to have changed to be much more stringent about what version strings is accepts. It's not clear why this was done, but we need a fix to unbreak CI. This commit adds more parsing code into the script to parse out version numbers from the form of LogEntry.v1_2_3 to split them up into a custom class, and sort manually. Despite dropping the dependency, this ends up dropping a net 7 lines of code compared to using the library, so it seems worth it, especially given the breaking API change. One seemingly unrelated change was that we were adding schema folders to the sort lists, which don't sort well because they have no version numbers or extensions. This fixes to only add individual files to the list of things to sort. Tested: Code no longer crashes. Running update_schemas.py generates the same result (with one minor same-prefix sort order change). Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I1a792ffb4ad7bc71637ab1aa0648a245949aeeee
Diffstat (limited to 'CLIENTS.md')
0 files changed, 0 insertions, 0 deletions