Fix Windows Compatibility: Symlink Handling, Permission Fixes, and Test Stability Improvements#2438
Open
PraveenMudalgeri wants to merge 9 commits intokubernetes-client:masterfrom
Open
Conversation
…ermission/exec issues
…d against regressions
Contributor
|
[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. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Author
|
/release-note-none |
Member
|
/assign |
|
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
Author
|
/remove-lifecycle stale |
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.
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__.pyto replace Unix-style symlinks📝 Developer Experience
setup-windows-dev.ps1for easy Windows development environment setupWINDOWS_DEVELOPMENT.mdwith 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