Skip to content

Commit fc9a52a

Browse files
committed
Check out the Poetry and Pipenv lock fixtures byte-exact on Windows
The Windows test leg's CRLF checkout (core.autocrlf) turned the LF-committed tests/fixtures/poetry, pipenv and pipenv-shapes locks into CRLF, so the byte-exact upstream-restore round trips (and their derived CRLF variants, which became \r\r\n) and the Poetry VEX pin-spelling test failed on Windows only. Mark them -text like the other captured-lock fixtures. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018tncU7u7FK48tubFNA12UQ
1 parent ba7034f commit fc9a52a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎.gitattributes‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ crates/socket-patch-core/tests/fixtures/redirect/** -text
66

77
crates/socket-patch-core/tests/fixtures/pdm-native/*.lock -text
88

9+
# Poetry and Pipenv locks are real `poetry lock` / `pipenv lock` output: the
10+
# upstream restore and VEX tests round-trip them byte for byte and derive
11+
# their CRLF variants from the LF bytes themselves.
12+
crates/socket-patch-core/tests/fixtures/poetry/** -text
13+
crates/socket-patch-core/tests/fixtures/pipenv/** -text
14+
crates/socket-patch-core/tests/fixtures/pipenv-shapes/** -text
15+
916
# The captured pnpm 1-12 locks are byte-real: the hosted/vendored rewriters
1017
# refuse CRLF by design (vendor_lockfile_crlf_unsupported), and the tests
1118
# derive their CRLF variants from the LF bytes themselves.

0 commit comments

Comments
 (0)