Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zanie
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
zanie
1y ago
Please open an issue with some details about the memory usage. We're happy to investigate and feedback on how it's working in production is always helpful. (I work on uv)
32.
▲
by
zanie
1y ago
Thanks for the feedback!
33.
▲
by
zanie
1y ago
Yes, we let you override our detection of your hardware. Though we haven't implemented dumping detected information on one platform for use on another, it's definitely feasible, e.g., we're exploring a static metadata format
34.
▲
by
zanie
1y ago
It's actually not powered by Wheel Variants right now, though we are generally early adopters of the initiative :)
35.
▲
by
zanie
1y ago
We're hoping that building a commercial service makes it clear that we have a sustainable business model and that our tools (like uv) will remain free and permissively licensed. (I work at Astral)
36.
▲
by
zanie
1y ago
If you open even a brief issue and tag me @zanieb I'm happy to take a look!
37.
▲
by
zanie
1y ago
We consider it a breaking change to switch the default, so that's coming a bit later.
38.
▲
by
zanie
1y ago
Installation in Docker just looks like COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/ https://docs.astral.sh/uv/guides/integration/docker/#using-u... (We&#x
39.
▲
by
zanie
1y ago
ty doesn't invoke a Python interpreter to discover imports yet — so you need to either set `VIRTUAL_ENV` or pass `--python` to configure your target environment. We'll expand support here in the future, but this part of ty's
40.
▲
by
zanie
1y ago
The plan remains the same as when the company was announced ( https://astral.sh/blog/announcing-astral-the-company-behind-... ) — paid services that build on and integrate with the free tooling.
41.
▲
by
zanie
1y ago
ditto! but we gave impressively non-overlapping answers
42.
▲
by
zanie
1y ago
As in, how are we parsing the Python code into an AST? CPython uses a generated parser. The grammar is defined in https://github.com/python/cpython/blob/main/Grammar/python.g... which is used to gen
43.
▲
by
zanie
1y ago
It'll be separate (at least to start) — we want to be able to iterate on it rapidly. Long-term, a consistent toolchain is definitely important and something we're thinking about.
44.
▲
by
zanie
1y ago
:wave: Looks like you found the not-so-secret repository we're using to prepare for a broader announcement :) Please be aware this is pre-alpha software. The current version is 0.0.0a6 and the releases so far are all in service of vali
45.
▲
by
zanie
2y ago
Hi! I work on the Python distributions uv uses. Performance is really important to us and we're on the bleeding edge of performant Python builds. Our distributions use profile guided optimization (PGO) as well as post-link optimization
46.
▲
by
zanie
2y ago
Yeah uv uses a platform independent resolution for its lockfiles supports features that Poetry does not, like - Specifying a subset of platforms to resolve for - Requiring wheel coverage for specific platforms - Conflicting optional depende
47.
▲
by
zanie
2y ago
It's a joke about how Charlie didn't know Ruff was a bird. https://en.wikipedia.org/wiki/Red_knot
48.
▲
by
zanie
2y ago
Thanks!
49.
▲
by
zanie
2y ago
No, this is a language standard now (see PEP 723)
50.
▲
by
zanie
2y ago
Of course! uv run -q --with pandas==2.1.4 python -c "import pandas; print(pandas.__version__)" 2.1.4
51.
▲
by
zanie
2y ago
You can definitely do that — it's just sub-optimal when you have multiple files that share dependencies.
52.
▲
by
zanie
2y ago
I don't feel strongly, but as a uv author, I found "local dependencies" misleading. It's more like "uv's killer feature is making ad-hoc environments easy". When we talk about local dependencies in the Pyt
53.
▲
by
zanie
2y ago
As in, you think this shouldn't be possible or you think it should be written differently?
54.
▲
by
zanie
2y ago
As a pretty minor note, it's not that we _needed_ a two letter name. We considered hundreds of names and it really came down to what was available on PyPI (because it was table stakes that it could be installed from there). We are awar
55.
▲
by
zanie
2y ago
Not yet! We're thinking about it but it's hard to do in a spec-compliant way.
56.
▲
by
zanie
2y ago
e.g. $ uv venv Using CPython 3.12.6 Creating virtual environment at: .venv Activate with: source .venv/bin/activate $ uv pip install -r https://raw.githubusercontent.com/astral-sh/uv/refs/
57.
▲
by
zanie
2y ago
We're working on this! You can try it out with `uv python install --preview`. The work can be tracked in https://github.com/astral-sh/uv/issues/6265
58.
▲
by
zanie
2y ago
Thanks! There's definitely room for improvement there. I'll see what we can do — in general it's a bit of an arcane task to extract clear suggestions from the resolver's error tree.
59.
▲
by
zanie
2y ago
I work on our error messages, feel free to open an issue and we'll do our best to make it clearer
60.
▲
by
zanie
2y ago
That'd be a hard link though
More ›