Zanie Blue
zanieb.bsky.social
Zanie Blue
@zanieb.bsky.social
they/them — building Python developer tools in Rust at Astral
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.
March 12, 2025 at 2:21 PM
uv makes it easy to benchmark uv
March 12, 2025 at 12:52 AM
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...
March 12, 2025 at 12:48 AM
And on x86-64 Linux
March 12, 2025 at 12:45 AM
1.23x just is the geometric mean on the pyperformance benchmark suite. There are more significant speedups for some workloads!

Here's a full list, gist.github.com/zanieb/84748...
`python-build-standalone` performance 3.14.0a4 (with default interpreter) vs 3.14.0a5 (with tail call interpreter)
`python-build-standalone` performance 3.14.0a4 (with default interpreter) vs 3.14.0a5 (with tail call interpreter) - gist:84748b0ca7bff58cdfb4d0068b446d58
gist.github.com
February 12, 2025 at 10:37 PM
In the latest version, `uvx --with pyyaml python` is supported (which reads a little more clearly and can be repeated to include more dependencies)
February 1, 2025 at 5:16 PM
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 :)
January 31, 2025 at 10:05 PM
I see that now 🤦‍♀️ haha
December 6, 2024 at 8:15 PM
There was some recent discussion about this in github.com/python/cpyth...

I imagine there are other people interested in helping to upstream the changes. Maybe we can find a space to discuss collaboration on Discord?
Upstream downstream patches for allowing to make a relocatable (standalone) Python installation · Issue #119696 · python/cpython
Feature or enhancement Proposal: I am currently looking at https://github.com/indygreg/python-build-standalone/tree/main/cpython-unix This would be the first step towards python.org possibly provid...
github.com
December 5, 2024 at 7:09 PM
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 :)
December 5, 2024 at 7:09 PM