fix: missing f for fstrings in bin (#659)

This commit is contained in:
Henry Schreiner
2021-05-07 18:16:47 -04:00
committed by GitHub
parent 3e22cd9a41
commit daf850a7fc
+3 -3
View File
@@ -27,7 +27,7 @@ if "--no-docker" in sys.argv:
"--allow-unsafe", "--allow-unsafe",
"--upgrade", "--upgrade",
"cibuildwheel/resources/constraints.in", "cibuildwheel/resources/constraints.in",
"--output-file=cibuildwheel/resources/constraints-python{python_version}.txt", f"--output-file=cibuildwheel/resources/constraints-python{python_version}.txt",
], ],
check=True, check=True,
) )
@@ -39,7 +39,7 @@ else:
python_path = f"/opt/python/cp{python_version}-cp{python_version}{abi_flags}/bin/" python_path = f"/opt/python/cp{python_version}-cp{python_version}{abi_flags}/bin/"
command = ( command = (
f"{python_path}pip install pip-tools && " f"{python_path}pip install pip-tools && "
"{python_path}pip-compile --allow-unsafe --upgrade " f"{python_path}pip-compile --allow-unsafe --upgrade "
"cibuildwheel/resources/constraints.in " "cibuildwheel/resources/constraints.in "
f"--output-file cibuildwheel/resources/constraints-python{python_version}.txt" f"--output-file cibuildwheel/resources/constraints-python{python_version}.txt"
) )
@@ -49,7 +49,7 @@ else:
"run", "run",
"--rm", "--rm",
"--env=CUSTOM_COMPILE_COMMAND", "--env=CUSTOM_COMPILE_COMMAND",
"--volume={os.getcwd()}:/volume", f"--volume={os.getcwd()}:/volume",
"--workdir=/volume", "--workdir=/volume",
image_runner, image_runner,
"bash", "bash",