From 75e37167ead9ff781a8bca6a78d2b380f53cb14b Mon Sep 17 00:00:00 2001 From: mbs9 <66876095+MBS9@users.noreply.github.com> Date: Sun, 13 Aug 2023 12:14:42 +0200 Subject: [PATCH] fix: path construction when testing linux wheels --- cibuildwheel/linux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cibuildwheel/linux.py b/cibuildwheel/linux.py index 88bd201b5..a4d7c184d 100644 --- a/cibuildwheel/linux.py +++ b/cibuildwheel/linux.py @@ -185,7 +185,7 @@ def build_in_container( constraints_file = build_options.dependency_constraints.get_for_python_version( config.version ) - container_constraints_file = PurePath("/constraints.txt") + container_constraints_file = PurePosixPath("/constraints.txt") container.copy_into(constraints_file, container_constraints_file) dependency_constraint_flags = ["-c", container_constraints_file]