Skip to content

fix(windows): cross-platform portability#68

Merged
cdeust merged 2 commits into
mainfrom
fix/windows-portability
Jun 26, 2026
Merged

fix(windows): cross-platform portability#68
cdeust merged 2 commits into
mainfrom
fix/windows-portability

Conversation

@cdeust

@cdeust cdeust commented Jun 26, 2026

Copy link
Copy Markdown
Owner

Résumé

Portage Windows : corrections de compatibilité cross-platform. La compatibilité macOS/Linux est préservée.

🤖 Generated with Claude Code

Add shared/platform.py abstraction (home_dir, python_executable, to_posix,
IS_WINDOWS) and route install lock (fcntl/msvcrt), pipeline discovery
(exec-bit bypass + .exe), doctor, and wiki path handling through it.
Add Windows event-loop policy in conftest, .gitattributes (eol=lf), and a
test-windows CI job (SQLite backend). New unit tests for platform,
staleness drive-absolute regex, and install lock.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Comment thread tests_py/core/test_staleness.py Fixed
Replace substring check ("example.com" in r) — flagged by CodeQL
py/incomplete-url-substring-sanitization — with a stronger empty-list
assertion. extract_file_references already excludes URLs entirely.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cdeust cdeust merged commit 0ba0290 into main Jun 26, 2026
13 checks passed
@cdeust cdeust deleted the fix/windows-portability branch June 26, 2026 11:36
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.

2 participants