HackerTrans
TopNewTrendsCommentsPastAskShowJobs

zanie

no profile record

comments

zanie
·2 माह पहले·discuss
I don't think it's true at all that "dropping features" makes uv fast. As an author of uv, I think that particular section of the article is way off base.
zanie
·2 माह पहले·discuss
(I work on uv)

As a note, you can set the default bounds for `uv add` in persistent configuration — no need to provide it every time. See https://docs.astral.sh/uv/reference/settings/#add-bounds

We prefer not to add upper bounds by default because it causes a lot of unnecessary conflicts in the ecosystem. I previously collected some resources on this back when I used Poetry :) see https://github.com/zanieb/poetry-relax#references
zanie
·2 माह पहले·discuss
I'm a bit confused, `uv run --with $package main --help` should do what you say with very little overhead. We won't reinstall it every time, `--with` environments are stored in the cache and retained. Even if the environment is cached, the dependency is cached and installing from the cache is very fast (<200ms for sure).

Please feel free to open a reproduction with details and we can look into it.

(I work on uv)
zanie
·2 माह पहले·discuss
fwiw `uv upgrade` is on the roadmap — we just haven't done it yet because it's hard to build a great experience for it (there are far more nuances than people expect) and we're a small team with a lot of priorities.
zanie
·3 माह पहले·discuss
We do address this in the article! It's defense in depth, not theater.

We audit all of our actions, check if they pull in mutable dependencies, contribute upstream fixes, and migrate off using any action when we can.

(I work at Astral)
zanie
·4 माह पहले·discuss
A brief note, your numbers are way off here — Astral subsequently raised a Series A and B (as mentioned in the blog post) but did not announce them. We were doing great financially.

(I work at Astral)
zanie
·7 माह पहले·discuss
Ruff wasn't named after the bird, we just think it's funny that Charlie didn't know it was a bird. He made up the word :)
zanie
·7 माह पहले·discuss
This is also documented at https://github.com/astral-sh/ty?tab=readme-ov-file#contribut... and https://github.com/astral-sh/ty/blob/main/CONTRIBUTING.md#re...
zanie
·7 माह पहले·discuss
As noted in the linked issue

> At time of writing, many of the remaining rules require type inference and/or multi-file analysis, and aren't ready to be implemented in Ruff.

ty is actually a big step in this direction as it provides multi-file analysis and type inference.

(I work at Astral)
zanie
·9 माह पहले·discuss
You're upset that uv doesn't yet support something that no other tool in the ecosystem supports?

I'd love for uv to lock build dependencies, but due to the dynamic nature of Python package metadata it's quite a hard problem. It'll be supported eventually though.

(I work on uv)
zanie
·11 माह पहले·discuss
It's intentionally distinct from the `uv tool` interface — it won't change `ruff` or `uv tool run` behaviors.
zanie
·11 माह पहले·discuss
Thanks that's helpful.

Did you try reducing the concurrency limit?
zanie
·11 माह पहले·discuss
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)
zanie
·11 माह पहले·discuss
Thanks for the feedback!
zanie
·11 माह पहले·discuss
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 as a part of the wheel variant proposal https://github.com/wheelnext/pep_xxx_wheel_variants/issues/4...
zanie
·11 माह पहले·discuss
It's actually not powered by Wheel Variants right now, though we are generally early adopters of the initiative :)
zanie
·11 माह पहले·discuss
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)
zanie
·12 माह पहले·discuss
If you open even a brief issue and tag me @zanieb I'm happy to take a look!
zanie
·पिछला वर्ष·discuss
We consider it a breaking change to switch the default, so that's coming a bit later.
zanie
·पिछला वर्ष·discuss
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'd recommend pinning the version or SHA in production)