diff --git a/ChangeLog.txt b/ChangeLog.txt index 7d37d175..e9d79338 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,7 @@ +4.7.5 - 04/04/2023 +BugFixed: +- Upgrade packages from repositories + 4.7.4 - 04/04/2023 Fixed: - Python typing hints diff --git a/slpkg/main.py b/slpkg/main.py index a5d13578..d51267e0 100644 --- a/slpkg/main.py +++ b/slpkg/main.py @@ -4,7 +4,6 @@ import os import sys from pathlib import Path -from typing import Generator from slpkg.checks import Check from slpkg.upgrade import Upgrade @@ -418,9 +417,9 @@ class Argparse(Configs): choices: list = [] title: str = f' Choose packages you want to {method} ' - repo_packages: Generator = SBoQueries('').sbos() + repo_packages: list = list(SBoQueries('').sbos()) if self.utils.is_option(self.flag_binaries, self.flags): - repo_packages: Generator = BinQueries('', self.binary_repo).all_package_names_by_repo() + repo_packages: list = list(BinQueries('', self.binary_repo).all_package_names_by_repo()) installed: list = self.utils.installed_packages diff --git a/slpkg/upgrade.py b/slpkg/upgrade.py index 365154d4..f060779f 100644 --- a/slpkg/upgrade.py +++ b/slpkg/upgrade.py @@ -58,7 +58,6 @@ class Upgrade(Configs): repo_version: str = SBoQueries(name).version() repo_build: str = self.utils.read_sbo_build_tag(name) - # print(f'{name} {repo_version}{repo_build} {inst_version}{inst_build}', - # parse(f'{repo_version}{repo_build}') > parse(f'{inst_version}{inst_build}')) + # print(f'{name} {repo_version}{repo_build} {inst_version}{inst_build}', parse(f'{repo_version}{repo_build}') > parse(f'{inst_version}{inst_build}')) return parse(f'{repo_version}{repo_build}') > parse(f'{inst_version}{inst_build}')