Zanie Blue's Avatar

Zanie Blue

@zanieb.bsky.social

they/them — building Python developer tools in Rust at Astral

337 Followers  |  24 Following  |  18 Posts  |  Joined: 25.11.2024  |  1.6822

Latest posts by zanieb.bsky.social on Bluesky

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
Using `uvx uv@<version>` and hyperfine to compare uv versions

Using `uvx uv@<version>` and hyperfine to compare uv versions

uv makes it easy to benchmark uv

12.03.2025 00:52 — 👍 12    🔁 1    💬 0    📌 0

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...

12.03.2025 00:48 — 👍 2    🔁 0    💬 0    📌 0
>20% improvement on x86-64 Linux

>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

>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

12.03.2025 00:45 — 👍 54    🔁 8    💬 5    📌 0
Preview
Release 0.5.31 · astral-sh/uv Release Notes Enhancements Add uv sync --script (#11361) Allow PEP 508 requirements in tool requests (#11337) Allow source distributions to produce wheels with +local suffixes (#11429) Bring parit...

For more on the new uv release, see github.com/astral-sh/uv...

12.02.2025 22:37 — 👍 3    🔁 0    💬 0    📌 0
Preview
What’s new in Python 3.14 Editor, TBD,. This article explains the new features in Python 3.14, compared to 3.13. For full details, see the changelog. Summary – release highlights: PEP 649: deferred evaluation of annotations...

For 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    📌 0
Preview
`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

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...

12.02.2025 22:37 — 👍 2    🔁 1    💬 3    📌 0

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    📌 3

In 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    📌 0

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 :)

31.01.2025 22:05 — 👍 2    🔁 0    💬 0    📌 0
Post image

Really excited to be working on CPython and upstreaming python-build-standalone patches!

07.01.2025 01:15 — 👍 10    🔁 1    💬 0    📌 0

I see that now 🤦‍♀️ haha

06.12.2024 20:15 — 👍 1    🔁 0    💬 0    📌 0
Preview
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...

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?

05.12.2024 19:09 — 👍 6    🔁 0    💬 1    📌 0

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 :)

05.12.2024 19:09 — 👍 6    🔁 0    💬 1    📌 0
Preview
A new home for python-build-standalone Astral is taking stewardship of python-build-standalone, Gregory Szorc's foundational project for installing portable Python distributions.

Very excited about this transition and improving the distribution of Python! Reach out if you're interested in getting involved :)

astral.sh/blog/python-...

03.12.2024 22:02 — 👍 14    🔁 5    💬 0    📌 0
I'm New Here
YouTube video by Gil Scott-Heron - Topic I'm New Here

Obligatory deep cut

www.youtube.com/watch?v=TQiO...

02.12.2024 23:41 — 👍 1    🔁 0    💬 0    📌 0
Post image

I have high hopes for a new "Before posting in the issue tracker" issue in uv

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

27.11.2024 14:34 — 👍 14    🔁 1    💬 1    📌 0

@zanieb is following 19 prominent accounts