You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c55b2ac
Browse filesBrowse the repository at this point in the historyBrowse files
CI: Add Windows unit test job and fix test compatibility
Adds a windows-latest job to python-ci.yml and fixes platform assumptions in tests that prevented the suite from passing on Windows.
Test fixes:
- Reduce RANDOM_LENGTH to 8 (Windows MAX_PATH is 260 chars)
- Use warehouse.as_posix() in SQLite URIs
- Use context managers for file handles (Windows file locking)
- Use os.path.abspath() in path assertions
- Use raw paths instead of file: URIs in pyarrow fixtures
- Skip Rich box-rendering tests on Windows (different terminal chars)
- Skip Kerberos tests on Windows (puresasl C lib unavailable)
- Relax error message assertion ([WinError 2] vs [Errno 2])
- Normalize backslashes in Hive path assertions
Result: 3795+ tests pass on Windows with 0 failures.
Depends on apache#3721. Closesapache#2477.
0 commit comments