Conversation
If uv.lock was not updated, the commit will be stopped.
Version 0.4 supports the new format introduced by Asciinema 3
Clarify how to use `uv` to manage dependencies
|
Great work, @ggalloni! I tested the code on my Linux machine and everything works fine. I made a few minor changes, but I think the PR is ready for review by others. It would be good if a couple more people could test it, since the workflow change might not be smooth for everyone. |
The information is redundant, as it is already present in `pyproject.toml`. However, my experience shows that people do not usually check this, especially if they are students who have little experience with Python!
|
Yeah, that would be very useful! Also, I would like to have a look at the current workflows to check whether they can be optimized with |
|
@ziotom78, while working on this, I found some issues with the caching system of PySM, so I worked a bit on that. Essentially, there was a typo in the cache hit variable, which is now solved ( Triggered by that, I added a cache of the venv created by
Instead, comparing with the latest master builds, so summing the effect of the new cache and
Of course, these numbers oscillate a lot from run to run, so they should be taken with a grain of salt. Still, they show a clear improvement in optimizing our CI tests as you suggested. Also, there is a single negative number, which was probably just a bad oscillation. So I am adding two new entries in the |
Add and update actions
|
@ziotom78, I merged the new actions in here. If not, and if you're OK with this, I'll merge everything into |
I do not expect much feedback: it has been almost two weeks since we mentioned this PR at the last telecon. I think it’s ok to merge it. Many thanks! |
This PR is a first attempt at using
uvinstead ofpoetryto managelitebird_sim.Copilot gave a huge hand in setting this up, but probably this needs some refinement.
I think this could be a good place to test the performance of tests using
uvand eventually leverage it to add more workflows. I am thinking of an automatic Build&Publish workflow, for example.