-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Fix Windows Compatibility: Symlink Handling, Permission Fixes, and Test Stability Improvements #2438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Fix Windows Compatibility: Symlink Handling, Permission Fixes, and Test Stability Improvements #2438
Conversation
…ermission/exec issues
…d against regressions
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: PraveenMudalgeri The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/release-note-none |
/assign |
What type of PR is this?
/kind bug
/kind cleanup
What this PR does / why we need it
This PR fixes multiple Windows-specific issues in the Kubernetes Python client repository to improve developer experience, test stability, and compatibility on Windows systems.
Problem: Windows environments have limited support for Unix-style symbolic links, and strict file permission semantics caused test failures. Additionally, some tests had missing imports and environment-dependent behavior that prevented Windows development.
Solution: This PR introduces targeted fixes and workarounds for these problems, enabling smooth local development and CI testing on Windows without affecting Linux/macOS compatibility.
Which issue(s) this PR fixes
Fixes #2427
Changes Made
🔧 Core Fixes
__init__.py
to replace Unix-style symlinks📝 Developer Experience
setup-windows-dev.ps1
for easy Windows development environment setupWINDOWS_DEVELOPMENT.md
with detailed setup instructions and troubleshooting🚀 CI Integration
windows-test.yml
) to prevent future regressionsTesting
Special notes for reviewers
Does this PR introduce a user-facing change?
Improved Windows development experience: Fixed symlink issues, test failures, and added comprehensive Windows setup documentation.
Additional documentation
WINDOWS_DEVELOPMENT.md
- Complete Windows setup and troubleshooting guidesetup-windows-dev.ps1
- Automated Windows development environment setup script