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

EBcL release 1.5 #57

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ebcl/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.3.11"
__version__ = "1.3.12"
4 changes: 2 additions & 2 deletions ebcl/common/apt.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,12 +409,12 @@ def ebcl(cls, arch: CpuArch, dist: str, release: str, components: list[str]) ->
)

@classmethod
def ebcl_apt(cls, arch: CpuArch, release: str = '1.4') -> Self:
def ebcl_apt(cls, arch: CpuArch, release: str = '1.5') -> Self:
"""Get the EBcL apt repo for EB components."""
return cls.ebcl(arch, "ebcl", release, ['prod', 'dev'])

@classmethod
def ebcl_primary_repo(cls, arch: CpuArch, release: str = '1.4') -> Self:
def ebcl_primary_repo(cls, arch: CpuArch, release: str = '1.5') -> Self:
"""Get the EBcL apt repo for upstream jammy components."""
return cls.ebcl(arch, "jammy", release, ['main'])

Expand Down
4 changes: 2 additions & 2 deletions tests/test_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def test_find_linux_image_generic(self) -> None:

def test_find_bootstrap_package(self) -> None:
""" Test that bootstrap-root-ubuntu-jammy package is found. """
proxy = Proxy([Apt.ebcl_apt(CpuArch.AMD64, '1.4')])
proxy = Proxy([Apt.ebcl_apt(CpuArch.AMD64, '1.5')])

vds = parse_depends('bootstrap-root-ubuntu-jammy', CpuArch.AMD64)
assert vds
Expand All @@ -125,7 +125,7 @@ def test_find_bootstrap_package(self) -> None:
assert p.name == 'bootstrap-root-ubuntu-jammy'
assert p.arch == CpuArch.AMD64

proxy = Proxy([Apt.ebcl_apt(CpuArch.ARM64, '1.4')])
proxy = Proxy([Apt.ebcl_apt(CpuArch.ARM64, '1.5')])

vds = parse_depends('bootstrap-root-ubuntu-jammy', CpuArch.ARM64)
assert vds
Expand Down
Loading