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,
|
MissingLatexFile,
|
||||||
MissingCargoCrate,
|
MissingCargoCrate,
|
||||||
)
|
)
|
||||||
from buildlog_consultant.apt import UnsatisfiedDependencies
|
from buildlog_consultant.apt import UnsatisfiedAptDependencies
|
||||||
|
|
||||||
from .fix_build import BuildFixer
|
from .fix_build import BuildFixer
|
||||||
from .requirements import (
|
from .requirements import (
|
||||||
|
@ -227,7 +227,7 @@ def problem_to_upstream_requirement(problem): # noqa: C901
|
||||||
python_version=problem.python_version,
|
python_version=problem.python_version,
|
||||||
minimum_version=problem.minimum_version,
|
minimum_version=problem.minimum_version,
|
||||||
)
|
)
|
||||||
elif isinstance(problem, UnsatisfiedDependencies):
|
elif isinstance(problem, UnsatisfiedAptDependencies):
|
||||||
from .resolver.apt import AptRequirement
|
from .resolver.apt import AptRequirement
|
||||||
return AptRequirement(problem.relations)
|
return AptRequirement(problem.relations)
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -215,6 +215,7 @@ def build_once(
|
||||||
extra_repositories=None
|
extra_repositories=None
|
||||||
):
|
):
|
||||||
build_log_path = os.path.join(output_directory, "build.log")
|
build_log_path = os.path.join(output_directory, "build.log")
|
||||||
|
logging.debug("Writing build log to %s", build_log_path)
|
||||||
try:
|
try:
|
||||||
with open(build_log_path, "w") as f:
|
with open(build_log_path, "w") as f:
|
||||||
build(
|
build(
|
||||||
|
|
Loading…
Add table
Reference in a new issue