henryiii,
@henryiii@fosstodon.org avatar

Build 1.1 is out, and in some cases it's over 2x faster than 1.0, such as in my favorite way to use it, "pipx run build"! #python #release https://github.com/pypa/build/releases/tag/v1.1.0

video/mp4

gaborbernat,
@gaborbernat@fosstodon.org avatar

@henryiii I guess it is worth pointing out that in case you installed the build with the virtualenv backend/extra the performance benefit is likely more around half a second.

hugovk,
@hugovk@mastodon.social avatar

@henryiii

A welcome 25->21 seconds for @pillow:

pipx run build==1.0.3 18.78s user 3.90s system 92% cpu 24.597 total

pipx run build==1.1.1 16.07s user 3.41s system 94% cpu 20.693 total

henryiii,
@henryiii@fosstodon.org avatar

@hugovk @pillow Nice, the savings is a constant, so the effect is fractionally largest if you have a small package (pure Python plus hatchling or other simple backend). It basically skips installing pip in the temporary env, and pip is large/slow to install and has to be installed twice (since there are two envs). We might provide backend options in the future, allowing something like uv to be used. ;) But this was a good first step!

henryiii,
@henryiii@fosstodon.org avatar

@hugovk @pillow build 1.2 is a hair faster, and offers —installer=uv, which is even faster. :)

hugovk,
@hugovk@mastodon.social avatar

@henryiii For @pillow:

29s- > 25s -> 24s -> 23s

Like you say, more noticeable for a small package, but all in the right direction :)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • python
  • Durango
  • magazineikmin
  • mdbf
  • thenastyranch
  • khanakhh
  • rosin
  • Youngstown
  • ethstaker
  • slotface
  • modclub
  • kavyap
  • DreamBathrooms
  • everett
  • ngwrru68w68
  • JUstTest
  • InstantRegret
  • tacticalgear
  • GTA5RPClips
  • cubers
  • normalnudes
  • osvaldo12
  • tester
  • anitta
  • cisconetworking
  • megavids
  • Leos
  • provamag3
  • lostlight
  • All magazines