Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
bazel-contrib
/
rules_python
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
716
Star
686
Code
Issues
230
Pull requests
54
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
fix(bootstrap): remap stdlib sys.path entries to runfiles during site init
- #4104
#4104
Merged
rickeylev
merged 16 commits into
bazel-contrib:main
bazel-contrib/rules_python:main
from
rickeylev:reproduce_stdlib_symlink_path_bug
rickeylev/rules_python:reproduce_stdlib_symlink_path_bug
Copy head branch name to clipboard
Sep 3, 2026
Conversation
Commits
16
(16)
Checks
Files changed
Merged
fix(bootstrap): remap stdlib sys.path entries to runfiles during site init
#4104
rickeylev
merged 16 commits into
bazel-contrib:main
bazel-contrib/rules_python:main
from
rickeylev:reproduce_stdlib_symlink_path_bug
rickeylev/rules_python:reproduce_stdlib_symlink_path_bug
Copy head branch name to clipboard
Commits
Commits on Aug 23, 2026
test(bootstrap_impls): add reproduction test for stdlib symlink sys.path bug
Show description for 6144182
rickeylev
committed
6144182
View commit details
Copy full SHA for 6144182
Browse repository at this point
fix(bootstrap): remap stdlib sys.path entries to runfiles during site init
Show description for 193752a
rickeylev
committed
193752a
View commit details
Copy full SHA for 193752a
Browse repository at this point
fix(bootstrap): only remap stdlib paths if runtime root contains a stdlib
Show description for 300c206
rickeylev
committed
300c206
View commit details
Copy full SHA for 300c206
Browse repository at this point
fix(bootstrap): normalize path casing for Windows runfiles matching
Show description for f740b9e
rickeylev
committed
f740b9e
View commit details
Copy full SHA for f740b9e
Browse repository at this point
fix(bootstrap): do not remap sys.prefix in virtual environments
Show description for 1ad8e1e
rickeylev
committed
1ad8e1e
View commit details
Copy full SHA for 1ad8e1e
Browse repository at this point
docs: add news fragment for stdlib sys.path runfiles remapping fix
Show description for 6c77569
rickeylev
committed
6c77569
View commit details
Copy full SHA for 6c77569
Browse repository at this point
docs: recategorize news entry for sys.path runfiles behavior as changed
Show description for a39b5bb
rickeylev
committed
a39b5bb
View commit details
Copy full SHA for a39b5bb
Browse repository at this point
docs: clarify news entry to specify Python runtime in runfiles
Show description for f4ab83d
rickeylev
committed
f4ab83d
View commit details
Copy full SHA for f4ab83d
Browse repository at this point
refactor(bootstrap): unconditionally remap stdlib paths and simplify attrs flow
Show description for 9d32dc2
rickeylev
committed
9d32dc2
View commit details
Copy full SHA for 9d32dc2
Browse repository at this point
fix(bootstrap): filter non-runfiles sys prefixes for Bazel markers before remapping
Show description for 8e11863
rickeylev
committed
8e11863
View commit details
Copy full SHA for 8e11863
Browse repository at this point
Commits on Aug 27, 2026
fix(bootstrap): dynamically resolve interpreter symlink chain to match runtime roots
Show description for 19089f0
rickeylev
committed
19089f0
View commit details
Copy full SHA for 19089f0
Browse repository at this point
docs(plans): add discarded alternatives section to stdlib syspath remap rationale
Show description for 6987d01
rickeylev
committed
6987d01
View commit details
Copy full SHA for 6987d01
Browse repository at this point
docs(plans): update stdlib syspath remap plan and discarded alternatives
Show description for 448225b
rickeylev
committed
448225b
View commit details
Copy full SHA for 448225b
Browse repository at this point
Commits on Aug 28, 2026
fix(bootstrap): remap stdlib paths based on target existence in runfiles
Show description for 7cb6c16
rickeylev
committed
7cb6c16
View commit details
Copy full SHA for 7cb6c16
Browse repository at this point
Commits on Sep 3, 2026
chore: remove transient agent plan
Show description for 6852d07
rickeylev
committed
6852d07
View commit details
Copy full SHA for 6852d07
Browse repository at this point
Merge branch 'upstream/main' into reproduce_stdlib_symlink_path_bug
rickeylev
committed
552e4bb
View commit details
Copy full SHA for 552e4bb
Browse repository at this point
You can’t perform that action at this time.