Skip to content

Make dependency lock checks line-ending independent - #79

Merged
bifrost0x merged 1 commit into
mainfrom
dev/portable-lock-check
Aug 4, 2026
Merged

Make dependency lock checks line-ending independent#79
bifrost0x merged 1 commit into
mainfrom
dev/portable-lock-check

Conversation

@bifrost0x

Copy link
Copy Markdown
Owner

What changed

  • compare generated Python locks as normalized UTF-8 text instead of raw bytes
  • keep every dependency, marker, and hash difference strict while treating CRLF and LF as equivalent
  • add a regression policy test for cross-platform checkout line endings

Root cause

Git may check out text files with CRLF on Windows, while uv emits LF. The previous byte comparison therefore reported identical locks as stale on a fresh Windows checkout.

Validation

  • dependency lock check passed with uv 0.10.9
  • 30 dependency policy tests passed
  • git diff --check passed

@bifrost0x
bifrost0x merged commit e15dc11 into main Aug 4, 2026
17 of 18 checks passed
@bifrost0x
bifrost0x deleted the dev/portable-lock-check branch August 4, 2026 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant