True, but poetry still has a long startup time (probably reading the lock file?) before it gets to the network parts. Also, a lot of the time spent in our projects is compiling/installing dependencies, not downloading them, and at least the install part could probably be sped up (I’m guessing async Rust is faster than whatever Poetry is doing).
But yeah, I’m not expecting huge wins here, but if it saves me a minute or so when rebuilding my docker images (currently takes >5 min in the poetry part alone), that’s worth taking the time to switch.
I’m a lot more excited about projects like Ruff though, but any part of the Python tooling ecosystem is interesting.
It does for us, ymmv. pip wasn’t that much faster, so the version resolution isn’t our main bottleneck, we just have a lot of packages (like 30 direct deps, and they have their own deps; seems like ~140 packages in our biggest microservice).
Well, I don’t need to reinstall deps very often, like every 2 weeks at most. My regular workflow is like a 5s restart of the container, and that’s if something breaks with the auto-reload.
But I still wouldn’t say no to some speed improvements. It’s way better than our FE codebase, which takes way longer.
True, but poetry still has a long startup time (probably reading the lock file?) before it gets to the network parts. Also, a lot of the time spent in our projects is compiling/installing dependencies, not downloading them, and at least the install part could probably be sped up (I’m guessing async Rust is faster than whatever Poetry is doing).
But yeah, I’m not expecting huge wins here, but if it saves me a minute or so when rebuilding my docker images (currently takes >5 min in the poetry part alone), that’s worth taking the time to switch.
I’m a lot more excited about projects like Ruff though, but any part of the Python tooling ecosystem is interesting.
Damn. Poetry alone takes 5 minutes in Docker rebuilds? That’s good to know.
It does for us, ymmv. pip wasn’t that much faster, so the version resolution isn’t our main bottleneck, we just have a lot of packages (like 30 direct deps, and they have their own deps; seems like ~140 packages in our biggest microservice).
Damn
Well, I don’t need to reinstall deps very often, like every 2 weeks at most. My regular workflow is like a 5s restart of the container, and that’s if something breaks with the auto-reload.
But I still wouldn’t say no to some speed improvements. It’s way better than our FE codebase, which takes way longer.
FE?
Frontend (Javascript).
Ah. Thanks for clarifying, and apologies if I appeared stupid.
No worries, always happy to clarify. 😀