Skip to content

Commit

Permalink
Fix name
Browse files Browse the repository at this point in the history
  • Loading branch information
Erotemic committed Dec 22, 2021
1 parent a50a6fd commit b70d9de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cibuildwheel/options.py
Expand Up @@ -419,7 +419,7 @@ def build_options(self, identifier: Optional[str]) -> BuildOptions:
test_requires = self.reader.get("test-requires", sep=" ").split()
test_extras = self.reader.get("test-extras", sep=",")
build_verbosity_str = self.reader.get("build-verbosity")
container_engine = self.reader.get("container_engine")
container_engine = self.reader.get("container-engine")

build_frontend: BuildFrontend
if build_frontend_str == "build":
Expand Down
4 changes: 3 additions & 1 deletion unit_test/docker_container_test.py
Expand Up @@ -92,9 +92,11 @@ def basis_container_kwargs():
# print("SETUP temp_test_dir = {!r}".format(temp_test_dir))

HAVE_DOCKER = bool(shutil.which("docker"))
HAVE_PODMAN = bool(shutil.which("podman"))

if HAVE_DOCKER:
yield {"container_engine": "docker", "docker_image": DEFAULT_IMAGE}
HAVE_PODMAN = bool(shutil.which("podman"))

if HAVE_PODMAN:
# Basic podman usage
yield {"container_engine": "podman", "docker_image": DEFAULT_IMAGE}
Expand Down

0 comments on commit b70d9de

Please sign in to comment.