Skip to content

Commit

Permalink
sort by str, not Path
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Nov 23, 2024
1 parent 73a23ae commit 16260bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda_build/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2021,7 +2021,7 @@ def compute_content_hash(
"""
log = get_logger(__name__)
hasher = hashlib.new(algorithm)
for path in sorted(Path(directory).rglob("*")):
for path in sorted(Path(directory).rglob("*"), key=str):
relpath = path.relative_to(directory)
relpathstr = str(relpath).replace("\\", "/")
if skip and any(
Expand Down

0 comments on commit 16260bf

Please sign in to comment.