mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-11-19 09:29:29 +00:00
update dependencies before build (#91)
Old implementation has used add step in order to fetch dependencies, which could lead to build errors in case if dependency list was updated. New solution uses dependencies which are declared at current version and fetch them (if required and if enabled) before update process. Closes #90
This commit is contained in:
1 parent
ab9e1fb1bd
commit
aae3c82f3d
12 files changed
+159
-125
No files matched your search
@@ -125,6 +125,14 @@ def test_licenses(package_ahriman: Package) -> None:
|
||||
assert sorted(package_ahriman.licenses) == package_ahriman.licenses
|
||||
|
||||
|
||||
def test_packages_full(package_ahriman: Package) -> None:
|
||||
"""
|
||||
must return full list of packages including provides
|
||||
"""
|
||||
package_ahriman.packages[package_ahriman.base].provides = [f"{package_ahriman.base}-git"]
|
||||
assert package_ahriman.packages_full == [package_ahriman.base, f"{package_ahriman.base}-git"]
|
||||
|
||||
|
||||
def test_from_archive(package_ahriman: Package, pyalpm_handle: MagicMock, mocker: MockerFixture) -> None:
|
||||
"""
|
||||
must construct package from alpm library
|
||||
|
||||
Reference in new issue
Block a user