# uv 0.12.0: Stricter Security, Better Defaults, and Safer Python Packaging

> Hacker News story 49088887 · language: en · submitted 2026-07-28
> Web version: https://zeli.app/story/49088887
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 128 · by [hallvard](<https://news.ycombinator.com/user?id=hallvard>) · 💬 42
[original](<https://github.com/astral-sh/uv/releases/tag/0.12.0>) · [HN discussion](<https://news.ycombinator.com/item?id=49088887>)

## Summary

We are releasing uv 0.12.0 with significant improvements to correctness and safety. This update restores default build system definitions for new projects, enforces strict archive formats, and blocks malicious wheel files that could overwrite Python interpreters. We also refine pre-release resolution logic and tighten hash-checking requirements to align with security best practices. Most users can upgrade without changes, though some legacy workflows may need adjustments.

## Key quote

> Wheels could also place interpreter files in their .data/scripts directory or in paths such as .data/data/bin/python, bypassing the entry-point check and replacing the interpreter during installation.

## HN discussion (42 comments)

### [woodruffw](<https://news.ycombinator.com/item?id=49089066>)

> This is our first breaking release since March. We’re happy to answer any questions folks have about it.

### [drzhouq](<https://news.ycombinator.com/item?id=49089431>)

> When can uv install gdal?

### [yablak](<https://news.ycombinator.com/item?id=49089287>)

> thoughts on worm safety w.r.t. `exclude-newer`, and the right way to handle unpinned git repo deps?

### [XorNot](<https://news.ycombinator.com/item?id=49090070>)

> Are we likely to get an "uv upgrade" command that makes sense sometime?
>
> It's still very obtuse how to get uv to just try and make all my dependencies the highest version possible.

### [analognoise](<https://news.ycombinator.com/item?id=49089354>)

> uv fucks, especially with uv2nix.

---

## Cite

- Page: https://zeli.app/story/49088887
- Date: 2026-07-28
- Source: github.com (https://github.com/astral-sh/uv/releases/tag/0.12.0)
- Hacker News: https://news.ycombinator.com/item?id=49088887

## Other languages

- zh: https://zeli.app/zh/story/49088887 · markdown: https://zeli.app/zh/story/49088887.md
