Skip to content

Commit 9043345

Browse files
authored
Refactor warning message and link on macOS binary wheel merge (#2397)
1 parent b710701 commit 9043345

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

changes/1650.misc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Improve warning message for unmergeable files in non-universal wheels to clarify fallback behavior and link to documentation.

src/briefcase/platforms/macOS/utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,9 @@ def merge_app_packages(
243243
):
244244
self.console.warning(
245245
f"{relative_path} has different content "
246-
f"between sources; ignoring {source_app_packages.suffix[1:]} version."
246+
f"between sources; ignoring {source_app_packages.suffix[1:]} version. "
247+
f"This is usually safe if the file content is not used at runtime. "
248+
f"See https://briefcase.readthedocs.io/en/stable/reference/platforms/macOS/index.html#inconsistent-content-in-non-universal-wheels for more details."
247249
)
248250
else:
249251
# The file doesn't exist yet; copy it as is (including

0 commit comments

Comments
 (0)