Zanie Blue
@zanieb.bsky.social
360 followers 24 following 19 posts
they/them — building Python developer tools in Rust at Astral
Posts Media Videos Starter Packs
Reposted by Zanie Blue
crmarsh.com
Today, we're announcing our first hosted infrastructure product: pyx, a Python-native package registry.

We think of pyx as an optimized backend for uv: it’s a package registry, but it also solves problems that go beyond the scope of a traditional "package registry".
zanieb.bsky.social
You can use `uv python install 3.13 --reinstall` and we'll replace the existing one. Virtual environments just contain a reference to the distribution.
zanieb.bsky.social
uv makes it easy to benchmark uv
Using `uvx uv@<version>` and hyperfine to compare uv versions
zanieb.bsky.social
These numbers are for CPython 3.13.2.

The benchmark is a simple one — pulled from a report that the conda-forge distribution was more performant than ours. (Now, we're looking ~20% faster than conda-forge on macOS.)

The benchmark is available at gist.github.com/zanieb/551ed...
zanieb.bsky.social
And on x86-64 Linux
>20% improvement on x86-64 Linux
zanieb.bsky.social
In the latest version of uv, we've updated the build system for our managed Python versions to use the latest LLVM version and cherry-picked an extra fix for a performance bug (github.com/llvm/llvm-pr...) and the early benchmarks are pretty exciting!

On M3 macOS
>40% improvement on aarch64 macOS
zanieb.bsky.social
Python 3.14.0a5 is out today in uv 0.5.31 and includes a new tail calling interpreter which, from some quick benchmarks, looks like a 1.23x performance improvement !
zanieb.bsky.social
In the latest version, `uvx --with pyyaml python` is supported (which reads a little more clearly and can be repeated to include more dependencies)
zanieb.bsky.social
Thanks for sharing it! We look at those every once and a while. I wish we could break it down into monthly amounts like the PyPI stats :)
zanieb.bsky.social
Really excited to be working on CPython and upstreaming python-build-standalone patches!
zanieb.bsky.social
I see that now 🤦‍♀️ haha
zanieb.bsky.social
I'm very interested in this! My next step was to find CPython developers willing to mentor the work — it's great to hear that you're willing to review the changes.

It's a bit of a struggle to find time, but we're investing more resources into this project and upstream support is motivating :)
zanieb.bsky.social
I have high hopes for a new "Before posting in the issue tracker" issue in uv

github.com/astral-sh/uv...