Skip to content

Commit 0a05d76

Browse files
authored
Merge pull request #10215 from uranusjr/locations-framework-user-redo
Correctly ignore osx_framework_user mismatches
2 parents 310c9ad + 02fcce2 commit 0a05d76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pip/_internal/locations/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ def get_scheme(
185185
user
186186
and is_osx_framework()
187187
and k == "headers"
188-
and old_v.parent == new_v
189-
and old_v.name.startswith("python")
188+
and old_v.parent.parent == new_v.parent
189+
and old_v.parent.name.startswith("python")
190190
)
191191
if skip_osx_framework_user_special_case:
192192
continue

0 commit comments

Comments
 (0)