Get the latest tech news

Solving Wordle with uv's dependency resolver


mildbyte.xyz

We could produce version constraints on possible position packages directly from the feedback we get for our guesses, but that would be doing too much work outside of uv. Instead of using a devpi instance like I did with the Poetry solver, I managed to make uv output wheels to a single directory (hence the build-system stanza in every package). I found a neat trick to debug these, in case anyone ever gets stuck turning uv into a SAT solver and needs help.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Wordle

Wordle

Photo of dependency resolver

dependency resolver

Related news:

News photo

Show HN: Daily Jailbreak – Prompt Engineer's Wordle

News photo

Show HN: Matle – A Daily Chess Puzzle Inspired by Wordle

News photo

A mysterious language, secret powers… you don't get that in Wordle