nautilus_trader icon indicating copy to clipboard operation
nautilus_trader copied to clipboard

RFC: Change package managament to UV

Open cjdsellers opened this issue 1 month ago • 4 comments

This RFC proposes changing the package and dependency management tooling for NautilusTrader from Poetry to UV.

Pros

  • Performance (dependency resolution, env setup, package installation, etc)
  • Improved/simplified environment setup
  • Improved/simplified python version management (could also replace the recommended pyenv for this?)
  • Potentially better design principles than Poetry - less issues, more longevity?
  • Gaining community adoption fast

Cons

I'm not currently aware of any disadvantages of using UV over Poetry?

Questions

  • Is there anything which Poetry can do right now which UV can't, specific to NautilusTrader?
  • Does anyone have any hesitations about making this change soon?
  • Does anyone have suggestions for alternatives? (e.g., pixi already suggested and is conda specific)

cjdsellers avatar Jan 09 '25 20:01 cjdsellers