Skip to content
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

fix: update Uname parser to fix LooseVersion comparision error #3814

Merged
merged 4 commits into from
Aug 9, 2023

Commits on Aug 8, 2023

  1. fix: enhance Uname.fixed_by()

    Exception: TypeError: '<' not supported between instances of 'str' and 'int'
    is returned when the fixed_by or introduced_in doesn't have distribution part
    in release and version and other release parts are the same as current kernel.
    
    The detailed update is not doing comparation the distribution part in release.
    
    Signed-off-by: Ping Qin <[email protected]>
    qinpingli committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    de0712a View commit details
    Browse the repository at this point in the history
  2. fix: Update Uname.fixed_by()

    When _lv_release in self and other both or neither have the distribution
    part, compare them directly. Otherwise, removing the distribution part
    first, then doing the comparation without the distribution part and
    raising a warning.
    
    Signed-off-by: Ping Qin <[email protected]>
    qinpingli committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    041e8c8 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2023

  1. Configuration menu
    Copy the full SHA
    e768bc1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2216770 View commit details
    Browse the repository at this point in the history