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.
12.03.2025 14:21 — 👍 3 🔁 1 💬 0 📌 0@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.
12.03.2025 14:21 — 👍 3 🔁 1 💬 0 📌 0Using `uvx uv@<version>` and hyperfine to compare uv versions
uv makes it easy to benchmark uv
12.03.2025 00:52 — 👍 12 🔁 1 💬 0 📌 0These 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...
>20% improvement on x86-64 Linux
And on x86-64 Linux
12.03.2025 00:45 — 👍 4 🔁 0 💬 0 📌 0>40% improvement on aarch64 macOS
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
For more on the new uv release, see github.com/astral-sh/uv...
12.02.2025 22:37 — 👍 3 🔁 0 💬 0 📌 0For more on the tail calling interpreter, see docs.python.org/3.14/whatsne... and github.com/python/cpyth...
12.02.2025 22:37 — 👍 3 🔁 2 💬 1 📌 01.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 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 !
12.02.2025 22:37 — 👍 80 🔁 17 💬 4 📌 3In the latest version, `uvx --with pyyaml python` is supported (which reads a little more clearly and can be repeated to include more dependencies)
01.02.2025 17:16 — 👍 4 🔁 0 💬 1 📌 0Thanks 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 :)
31.01.2025 22:05 — 👍 2 🔁 0 💬 0 📌 0Really excited to be working on CPython and upstreaming python-build-standalone patches!
07.01.2025 01:15 — 👍 10 🔁 1 💬 0 📌 0I see that now 🤦♀️ haha
06.12.2024 20:15 — 👍 1 🔁 0 💬 0 📌 0There 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?
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 :)
Very excited about this transition and improving the distribution of Python! Reach out if you're interested in getting involved :)
astral.sh/blog/python-...
Obligatory deep cut
www.youtube.com/watch?v=TQiO...
I have high hopes for a new "Before posting in the issue tracker" issue in uv
github.com/astral-sh/uv...