Tag
Simon Willison shares a troubleshooting tip for Python projects using uv: when confusing dependency build errors appear (e.g., a pinned dependency lacking a Python 3.15 wheel), simply delete the uv.lock file and re-run the command.
Astral 发布 tar-codec,一个用 Rust 编写的快速且安全的 tar 解析库,自 uv 0.13 起用于解析 Python 源码分发包(sdists),速度约为 astral-tokio-tar 的两倍,同时降低了解析器差异带来的安全风险。
Astral 发布实验性的 uv 与 ty 集成,新增 `uv check` 统一命令,可自动安装 ty、同步依赖并对项目进行类型检查,同时为 PEP 723 内联元数据声明的 Python 脚本提供一等公民支持。
uv 0.13.4 has been released to update its bundled CA certificates in response to the eMudra incident, an issue affecting much of open source due to bundled CAs in certifi and webpki-root-certs. Users are urged to upgrade anything that bundles CA certificates.
Charlie Marsh 分享 Astral 团队努力确保 python-build-standalone 与 uv 能在 Python 新小版本(如 3.15)发布当天同步支持,提升开发者工具链的及时性。
Python 3.15 is now released and supported in uv 0.13.0, Astral's Python package and project manager.
Astral's GPU wheel indexes now support PyTorch 2.13 and 2.14 and Python 3.15, with updated builds of FlashAttention, FlashAttention 3, causal-conv1d, DeepSpeed and other GPU packages across CUDA versions.
In the latest uv release, you can now install directly from a uv lockfile without needing a pyproject.toml, enabling better Docker/CI layer caching since dependency layers are no longer invalidated by pyproject.toml changes.
In preview, uv will omit package metadata from the lockfile, reducing lockfile size by up to 50% on average and decreasing conflicts.
uv's ZIP extraction has been optimized by moving it to a single blocking task with synchronous filesystem operations, inspired by code from Bun, leading to faster installation of packages like Jupyter from PyPI.
uv now ships code-signed binaries for macOS and Windows, available in standalone installers and PyPI wheels, enhancing security and distribution.
Python 3.15 introduces lazy imports to enhance performance in CLI applications and code with unused imports, and the author has developed the flake8-lazy tool to simplify adoption. The article also explores the use of AI in developing this tool.
Ruff, uv, and ty installs grew over 40% from May to July, reaching 785M monthly installs, with uv alone exceeding half a billion installs in July.
uv will get faster in the next release after enabling hardware-accelerated SHA-256 for ARM, improving Trio install wall-time by up to 10%.
Charlie Marsh shares a chart showing how the binary size of uv, a Python package manager, has changed over time.
uv 0.12.0 introduces breaking changes to `uv init`, defaulting to a `src/`-based package layout, configuring the uv_build backend, and setting up a script alias. The update encourages modern Python project structure.
Charlie Marsh built a tool called 'hawk' using Codex to identify and remove dead code across Cargo workspaces, already used to delete thousands of lines from uv and Codex.
uv's lockfile size reduced by 40-50% through compression of environment markers.
An optimization in uv's resolver improves performance for Jupyter by 13% and Boto3 by 2.4x, detailed in a write-up.
Adding transitive pre-release support to uv's resolver, closing many long-standing issues.