graphiti icon indicating copy to clipboard operation
graphiti copied to clipboard

Migrate from Poetry to uv

Open t41372 opened this issue 8 months ago • 0 comments

This pull request migrates the project from Poetry to UV, following the discussion in #420.

Note: I have not updated the GitHub Actions workflows yet, as I’m less familiar with CI/CD pipelines. The current workflows still rely on Poetry, so we’ll need to address that before merging to ensure everything runs smoothly.

✅ What’s been done:

  • Migrated both graphiti-core and graph-service to use UV for dependency management.
  • Updated the Dockerfile to use UV. This also resolves #439; the image now builds and runs successfully.
  • Updated README and CONTRIBUTING docs to reflect the switch to UV.

🚧 What’s not done:

  • GitHub Actions workflows are still using Poetry and have not been migrated to UV.

[!IMPORTANT] Migrated project from Poetry to UV for dependency management, updating Dockerfile, Makefile, and documentation, but GitHub Actions workflows still need migration.

  • Dependency Management:
    • Migrated from Poetry to UV in graphiti-core and graph-service.
    • Updated pyproject.toml to use UV's dependency group format.
  • Dockerfile:
    • Replaced Poetry with UV for building and installing dependencies.
    • Added UV-specific environment variables for performance.
  • Makefile:
    • Replaced Poetry commands with UV commands for installing, testing, and linting.
  • Documentation:
    • Updated README.md and CONTRIBUTING.md to reflect the switch to UV.
  • Pending:
    • GitHub Actions workflows still use Poetry and need migration to UV.

This description was created by Ellipsis for be017fd369aca567002eee9a5ab1f725bec22337. You can customize this summary. It will automatically update as commits are pushed.

t41372 avatar May 04 '25 22:05 t41372