deepset-ai / haystack

AI orchestration framework to build customizable, production-ready LLM applications. Connect components (models, vector DBs, file converters) to pipelines or agents that can interact with your data. With advanced retrieval methods, it's best suited for building RAG, question answering, semantic search or conversational agent chatbots.
https://haystack.deepset.ai
Apache License 2.0
17.72k stars 1.92k forks source link

ci: upgrade Hatch to 1.13.0 and adopt uv as installer #8313

Closed anakin87 closed 1 month ago

anakin87 commented 2 months ago

Proposed Changes:

The speed-up is relevant.

Just an example:

Job Current uv
format 34s 20s
lint 1m 32s 38s
unit / Ubuntu 7m 23s 2m 42s
unit / Macos 7m 33s 3m 18s
unit / Windows 11m 50s 5m 50s
integration / /
Total duration 20m 33s 14m 8s

Integration test times are the same because we are reusing the cached environment (no fresh installation).

See https://github.com/deepset-ai/haystack/actions/runs/11365724746?pr=8447 vs https://github.com/deepset-ai/haystack/actions/runs/11373763493.

How did you test it?

CI

Checklist

coveralls commented 1 month ago

Pull Request Test Coverage Report for Build 11372943570

Details


Totals Coverage Status
Change from base Build 11363969823: 0.0%
Covered Lines: 7469
Relevant Lines: 8270

💛 - Coveralls
coveralls commented 1 month ago

Pull Request Test Coverage Report for Build 11381003724

Details


Totals Coverage Status
Change from base Build 11363969823: 0.0%
Covered Lines: 7469
Relevant Lines: 8270

💛 - Coveralls
silvanocerza commented 1 month ago

Lets's goooo! 🚀

davidsbatista commented 1 month ago

this is going to be fast! 👍🏽

vblagoje commented 1 month ago

Cool, what's the CI speedup?