astral-sh
uv
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Allow configuring preview features in `uv.toml` and `pyproject.toml` (#18437) ## Summary This is a continuation of the excellent work by @j-helland in #16452 and #17202 and closes #15767. This PR adds `preview-features` to `uv.toml` and `pyproject.toml`. This field can be set to a boolean or to a list of features. It is intended to supersede the `preview` setting itself, and conflicts with it. There's a little bit of complexity required to ensure that setting either `preview` or `preview-features` is combined at the right point, but it's also necessary to leave them split to accurately warn when a `uv.toml` masks a `pyproject.toml` in the same directory. Additionally there's complexity involved in making things work with `deny_unknown_fields` and `flatten` (they're incompatible so require manual flattening) and also this improves error messages somewhat. Also (supersedes) closes #16452 and (supersedes) closes #17202. ## Test Plan Tests taken from the original PR with some alterations and a bunch of additional tests. --------- Co-authored-by: j-helland <jonathan.w.helland@gmail.com> Co-authored-by: Zanie Blue <contact@zanie.dev>
main
3 hours ago
Document previously undocumented preview features
tk/preview-features-toml
4 hours ago
Lock project environments during uv venv
tk/fix-uv-venv-mutex
15 hours ago
Enforce wheels-before-sdists when publishing (#19831) ## Summary This addresses a small papercut: high-activity projects that publish to PyPI generally prefer to have their wheels published first, so that installations degrade gracefully (falling back to an older release) rather than failing because the sdist fails to build. This matches twine's behavior. ## Test Plan One line change, added a test demonstrating upload order. --------- Signed-off-by: William Woodruff <william@yossarian.net> Co-authored-by: Charlie Marsh <charlie.r.marsh@gmail.com>
main
18 hours ago
Validate PEP 517 backend paths (#19834) ## Summary Prior to this change, we added `backend-path` entries to `sys.path` without checking that they existed in the current source tree. When an in-tree backend was omitted from an sdist, the subsequent wheel build failed with `ModuleNotFoundError` and suggested that the backend was an undeclared build dependency. This validates each `backend-path` entry before resolving or invoking the backend. Missing directories now produce a direct error explaining that the configured path does not exist, matching the behavior of PyPA's `build` frontend. The regression test builds an sdist with a Flit wrapper in `backend_dir`, intentionally omits that directory from the sdist, and verifies the diagnostic during the wheel-from-sdist build. Closes https://github.com/astral-sh/uv/issues/19771.
main
20 hours ago
Use uv quoting in backend path errors
charlie/validate-backend-path
20 hours ago
Sort published wheels by filename
ww/publish-order
20 hours ago
Update string marker ordering semantics (#19808) ## Summary Prior to this change, we used lexicographic ordering for pure string-valued environment markers. For example, with `os_name = "posix"`, both `os_name > "nt"` and `os_name >= "nt"` evaluated to true. The [current dependency specification](https://packaging.python.org/en/latest/specifications/dependency-specifiers/#marker-comparisons), updated by [pypa/packaging.python.org#1988](https://github.com/pypa/packaging.python.org/pull/1988), defines strict string comparisons (`>` and `<`) as always false, while inclusive comparisons (`>=` and `<=`) are equivalent to equality. This applies those rules to every pure String marker field, including reversed operand forms. `platform_release` and `platform_version` remain on their existing comparison path because the specification types them as `Version | String` rather than pure strings.
main
20 hours ago
Latest Branches
CodSpeed Performance Gauge
-1%
Allow configuring preview features in `uv.toml` and `pyproject.toml`
#18437
2 days ago
44023dd
tk/preview-features-toml
CodSpeed Performance Gauge
-1%
Take project environment lock when using `uv venv` in a project
#19837
16 hours ago
a269a5e
tk/fix-uv-venv-mutex
CodSpeed Performance Gauge
0%
Validate PEP 517 backend paths
#19834
20 hours ago
0a22245
charlie/validate-backend-path
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs