Skip to content

Conversation

@1drturtle
Copy link
Contributor

@1drturtle 1drturtle commented Nov 18, 2025

Summary

Refactors Avrae's build tools to use UV instead of pip. This is a modernization.

Need to test: Deployment script. I can't test this locally!

This is a large change and involves changing the build tools as well!

  • Black has been replaced with ruff. Ruff has been run with an ignore commit added
  • Dockerfile and Dockerfile.ci updated to use new images and commands
  • Github workflows updated to use uv
  • Documentation updated to clear up dependency issues.
  • Added justfile for easier development using just

Performance Increases

Using uv instead of pip grants a sizable performance increase by reducing build times!
I ran a benchmark on docker build time without cache and got the following results:

Previous Time New Time %change
37.24s 5.57s 85% decrease

Changelog Entry

N/A - Back-end change.

Checklist

PR Type

  • This PR is a code change that implements a feature request.
  • This PR fixes an issue.
  • This PR adds a new feature that is not an open feature request.
  • This PR is not a code change (e.g. documentation, README, ...)

Other

  • This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • If code changes were made then they have been tested.
  • I have updated the documentation to reflect the changes.

@codybanman
Copy link
Contributor

I like this, it's a big change though and will likely cause conflicts with every existing PR

@1drturtle
Copy link
Contributor Author

I like this, it's a big change though and will likely cause conflicts with every existing PR

I agree! Once the other PRs get merged I'll do a rebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants