Browse Source
String comparison is lexicographic, so "0.0.100" > "0.0.12" evaluates to
False ("1" < "9" by char code). A valid python-multipart==0.0.100+
installation was incorrectly rejected as too old, raising multipart_not_installed_error
on any Form() or File() endpoint.
Parse the version into an integer tuple before comparing so numeric ordering
is used instead.
pull/15556/head
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue