diff --git a/ChangeLog.txt b/ChangeLog.txt index 0b55ef6e..02ef6ee0 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,7 @@ +4.7.2 - 02/04/2023 +Updated: +- Packaging parse versions + 4.7.1 - 02/04/2023 Fixed: - TypeError: can only concatenate str (not "NoneType") to str diff --git a/slpkg/upgrade.py b/slpkg/upgrade.py index b87677e9..93848b9a 100644 --- a/slpkg/upgrade.py +++ b/slpkg/upgrade.py @@ -55,4 +55,4 @@ class Upgrade(Configs): repo_version: str = SBoQueries(name).version() repo_build: str = self.utils.read_sbo_build_tag(name) - return parse(repo_version + repo_build) > parse(inst_version + inst_build) + return parse(f'{repo_version}{repo_build}') > parse(f'{inst_version}{inst_build}')