astral-sh
uv
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Filter compiled files to site-packages and document recompile fallback - Only compile .py files that resolve within site-packages, skipping RECORD entries like ../bin/script.py that would leave orphaned .pyc files outside the uninstaller's cleanup scope. - Add comment explaining the full-recompile fallback tradeoff for uv run --compile-bytecode vs pip sync --compile. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
paddymul:targeted-bytecode-compilation
3 minutes ago
Fix clippy implicit_clone and increase CI test timeouts Remove redundant .to_path_buf() on owned PathBuf in pip_sync test. Add nextest timeout override for Windows bytecode compile tests and increase Linux timeout period from 120s to 180s. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
paddymul:bytecode-compilation-cache
3 minutes ago
Fix clippy implicit_clone and increase CI test timeouts Remove redundant .to_path_buf() on owned PathBuf in pip_sync test. Add nextest timeout override for Windows bytecode compile tests and increase Linux timeout period from 120s to 180s. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
paddymul:bytecode-compilation-cache
27 minutes ago
Fix deadlock: spawn workers before sending files into bounded channel The refactored compile_tree was sending files into the bounded channel before spawning workers. When the number of .py files exceeded the channel buffer (worker_count * 10), the sender would block forever waiting for consumers that hadn't been spawned yet. This caused python_install_compile_bytecode tests to hang because the Python stdlib has thousands of .py files. Fix by extracting spawn_workers() which is called before the send loop, matching the original code's order of operations. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
paddymul:targeted-bytecode-compilation
28 minutes ago
Fix deadlock: spawn workers before sending files into bounded channel The refactored compile_tree was sending files into the bounded channel before spawning workers. When the number of .py files exceeded the channel buffer (worker_count * 10), the sender would block forever waiting for consumers that hadn't been spawned yet. This caused python_install_compile_bytecode tests to hang because the Python stdlib has thousands of .py files. Fix by extracting spawn_workers() which is called before the send loop, matching the original code's order of operations. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
paddymul:pr1-clean
48 minutes ago
fix: Workspace members with conflicts have empty uv export output (#18635) Fixes #18608 ## Summary `uv export --package <member>` returns empty output when the package is part of a workspace `conflicts` group. Root cause: `ExportableRequirements::from_lock()` tracks activated extras and groups in `known_conflicts`, but never adds the root package itself as a `ConflictItem::Project`. When `resolve_conflicts()` encounters a package-level conflict marker like `extra == 'project-name'`, it fails to find the item in `known_conflicts` and sets the marker to `FALSE`, filtering out all dependencies. Fix: Insert the root package into `known_conflicts` with `MarkerTree::TRUE` right after resolving the dist, following the same pattern used for extras and groups. ## Test Plan Added `export_package_conflicting_workspace_members` integration test that creates a workspace with two conflicting members depending on different versions of `sortedcontainers`, then verifies `uv export --package` produces correct output for each member. Ran both the new test and the existing `cyclonedx_export_all_packages_conflicting_workspace_members` test — both pass. Signed-off-by: majiayu000 <1835304752@qq.com>
main
49 minutes ago
Fix clippy implicit_clone and increase CI test timeouts Remove redundant .to_path_buf() on owned PathBuf in pip_sync test. Add nextest timeout override for Windows bytecode compile tests and increase Linux timeout period from 120s to 180s. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
paddymul:pr2-clean
49 minutes ago
fix: add root packages to known conflicts in uv export When exporting with `--package` for workspace members in a conflicts group, the output was empty because root packages were never added as project-level conflict items to `known_conflicts`. This caused `resolve_conflicts()` to evaluate all dependency markers as FALSE, filtering out every dependency. Add root packages to `known_conflicts` in `from_lock()`, matching the existing pattern used for extras and groups. Closes #18608 Signed-off-by: majiayu000 <1835304752@qq.com>
majiayu000:fix/issue-18608-export-conflicting-workspace-members
1 hour ago
Latest Branches
CodSpeed Performance Gauge
0%
Cache compiled bytecode (.pyc) across installs per package/version/python
#18637
3 hours ago
898f0f8
paddymul:bytecode-compilation-cache
CodSpeed Performance Gauge
0%
Compile bytecode only for newly installed packages via RECORD
#18636
60 minutes ago
f35f09e
paddymul:targeted-bytecode-compilation
CodSpeed Performance Gauge
-1%
Only compile bytecode for newly installed packages
#18633
60 minutes ago
f35f09e
paddymul:pr1-clean
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs