-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Bazel
-
None
-
Fully Compatible
-
Build OnDeck
-
200
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
- Summary
- Add `site_init_windows_long_paths.patch` to update `rules_python` site initialization.
- Force extended-length paths only for Bazel `imports-strs` roots, covering drive-letter and UNC paths.
- Add `site_init_windows_long_paths_test.py` to validate `_force_windows_long_path` behavior.
-
- Motivation
Windows Evergreen SBOM validation failed when `jsonschema_specifications.schemas.draft201909.metaschema.json` exceeded `MAX_PATH`. The change keeps nested Python package resources accessible without changing standard-library or zip-path handling.
-
- Testing
- `bazel run format`
- `bazel test //bazel/rules_python:site_init_windows_long_paths_test`
- `bazel run //buildscripts/tests/sbom_linter:sbom_linter – --check-metadata buildscripts/sbom/metadata.cdx.yaml`