Update to newer buildlog-consultant.
This commit is contained in:
parent
c69823be6d
commit
f08ebc950b
2 changed files with 3 additions and 2 deletions
|
@ -65,7 +65,7 @@ from buildlog_consultant.common import (
|
|||
MissingLatexFile,
|
||||
MissingCargoCrate,
|
||||
)
|
||||
from buildlog_consultant.apt import UnsatisfiedDependencies
|
||||
from buildlog_consultant.apt import UnsatisfiedAptDependencies
|
||||
|
||||
from .fix_build import BuildFixer
|
||||
from .requirements import (
|
||||
|
@ -227,7 +227,7 @@ def problem_to_upstream_requirement(problem): # noqa: C901
|
|||
python_version=problem.python_version,
|
||||
minimum_version=problem.minimum_version,
|
||||
)
|
||||
elif isinstance(problem, UnsatisfiedDependencies):
|
||||
elif isinstance(problem, UnsatisfiedAptDependencies):
|
||||
from .resolver.apt import AptRequirement
|
||||
return AptRequirement(problem.relations)
|
||||
else:
|
||||
|
|
|
@ -215,6 +215,7 @@ def build_once(
|
|||
extra_repositories=None
|
||||
):
|
||||
build_log_path = os.path.join(output_directory, "build.log")
|
||||
logging.debug("Writing build log to %s", build_log_path)
|
||||
try:
|
||||
with open(build_log_path, "w") as f:
|
||||
build(
|
||||
|
|
Loading…
Add table
Reference in a new issue