astral-uv:ag/prototype-universal-lock

Last commit made on 2024-04-18
Get this branch:
git clone -b ag/prototype-universal-lock https://git.launchpad.net/astral-uv

Branch merges

Branch information

Name:
ag/prototype-universal-lock
Repository:
lp:astral-uv

Recent commits

7f2b401... by Andrew Gallant <email address hidden>

progress

2cf788f... by Andrew Gallant <email address hidden>

progress

3523a00... by Andrew Gallant <email address hidden>

progress

c1dc590... by Andrew Gallant <email address hidden>

progress

27cdeb7... by Andrew Gallant <email address hidden>

progress

0246b22... by Andrew Gallant <email address hidden>

progress

a73466c... by Andrew Gallant <email address hidden>

HACK: drop optional deps completely

dba209e... by Andrew Gallant <email address hidden>

gitignore: add /build to gitignore

I'm not sure if this is quite right (i.e., whether this .gitignore is
actually from elsewhere), but without this I was getting a dirty `git
status` after running `cargo test`. An alternative would be to put this
rule in a `.gitignore` higher up in the directory tree.

a831720... by Andrew Gallant <email address hidden>

HACK: uv-resolver: skip marker evaluation

This is a hack to skip marker evaluation in and around the resolver.

This doesn't apply to every single marker evaluation in `uv`. For
example, I think the marker evaluation that is done as part of `uv pip
install` is fine for now. (Although eventually I think that will need to
get refactored.)

ba8a980... by Andrew Gallant <email address hidden>

uv-resolver: slightly simplify marker evaluation

We can almost use `Option::as_slice` here, but because we have a `Option<&T>`
instead of a `&Option<T>`, we can't. But we can still simplify things a
bit with `std::slice::from_ref`.