Repository navigation
fix: make the documented checks pass on Windows checkouts - #50
Merged
Merged
Conversation
On a default Windows checkout (core.autocrlf=true) three tests failed on master: the research fixture SHA-256 changed with CRLF, the catalog mode assertion expected POSIX bits, and curate.py crashed writing non-ASCII JSON to a redirected cp1252 stdout. - .gitattributes forces LF checkouts for text files. - curate.py writes UTF-8 output; tests decode subprocess output as UTF-8. - The mode test compares with the mode the platform actually stored. - CI adds a Windows / Python 3.14 job; Linux job names are unchanged so the master ruleset's required checks still match. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reader problem and change
The README says the checks need only "Python 3.11+" with no installs, but on a default Windows checkout (
core.autocrlf=true)python -m unittest discover -s testsfails onmasterwith 3 failures:test_fixture_integrity_matches_documented_sha256(and the nested-regressions wrapper)observations.csv.gitattributes:* text=auto eol=lftest_valid_unicode_output_and_mode_are_preserved(438 != 416)chmodonly toggles the read-only bitchmodtest_unicode_paths_and_encoded_characters_are_supported(UnicodeEncodeError: 'charmap')curate.pyprinted through a cp1252 stdout when redirectedcurate.pyreconfigures stdout to UTF-8; tests decode subprocess output as UTF-8CI only ran on Ubuntu, so none of this was visible. This PR adds a
Python 3.14 (Windows)job. The Linux jobs keep their names (Python 3.11,Python 3.14), which the newmasterruleset requires.Evidence
python -m unittest discover -s tests:Ran 221 tests ... OK (skipped=5)(it wasFAILED (failures=3)onmaster)python tools/catalog.py,python tools/docs_links.pyandpython tools/html_navigation.pyall printOK.python examples/curated-starter/curate.py --format json > out.jsonnow succeeds.git ls-files --eol: 93 ×i/lf), so.gitattributeschanges no committed content.Verification
Limitations
git rm --cached -r . && git reset --hardon a clean tree). A fresh clone needs nothing.🤖 Generated with Claude Code