Hacker News new | ask | show | jobs
by jonthepirate 597 days ago
In my experience:

Ruff is great because you need to lint your code all the time and you could save maybe 1 minute per CI.

As for Python package management, my team is migrating to Bazel which has its own way of locking in the Python dependencies and then pulling them from a remote cache. Under Bazel, we are only re-examining the dependencies when someone proposes a change to produce the lock. It's so rare, that having a new+faster thing that does this part would not present a meaningful benefit.

2 comments

> As for Python package management, my team is migrating to Bazel which has its own way of locking in the Python dependencies and then pulling them from a remote cache. Under Bazel, we are only re-examining the dependencies when someone proposes a change to produce the lock. It's so rare, that having a new+faster thing that does this part would not present a meaningful benefit.

Have you considered Pants[0], Buck[1] or Waf[2]? What ultimately made you decide to go for Bazel?

0: https://www.pantsbuild.org/

1: https://buck2.build/

2: https://waf.io/

How does bazel manage virtual envs and python versions if at all? Could bazel and uv be used together or are their feature sets mostly overlapping?