Skip to content

Migrate from Poetry to uv for package management#3

Merged
colesmcintosh merged 1 commit intomainfrom
migrate-to-uv
Dec 27, 2025
Merged

Migrate from Poetry to uv for package management#3
colesmcintosh merged 1 commit intomainfrom
migrate-to-uv

Conversation

@colesmcintosh
Copy link
Owner

Summary

  • Replace Poetry with uv for faster, more modern Python package management
  • Convert pyproject.toml to PEP 621 format with hatchling build backend
  • Update CI workflows to use the official astral-sh/setup-uv action
  • Update Makefile commands to use uv run instead of poetry run

Changes

  • pyproject.toml: Converted to PEP 621 format, using [dependency-groups] for dev dependencies
  • CI workflows: Replaced snok/install-poetry with astral-sh/setup-uv@v4
  • Makefile: All poetry run commands changed to uv run
  • README.md: Updated development instructions
  • Added .python-version file (3.11)
  • Replaced poetry.lock with uv.lock

Replace Poetry with uv for faster, more modern Python package management:
- Convert pyproject.toml to PEP 621 format with hatchling build backend
- Use dependency-groups for dev dependencies
- Update CI workflows to use astral-sh/setup-uv action
- Update Makefile to use uv run instead of poetry run
- Add .python-version file for consistent Python version
@github-actions
Copy link

👋 Welcome to langchain-salesforce!

Thank you for contributing! Your pull request will be automatically checked for:

  • Code formatting (ruff format)
  • Import sorting (ruff)
  • Linting (ruff check)
  • Type checking (mypy)
  • Spelling (codespell)
  • Unit tests (pytest)

🔍 Required Checks

All pull requests must pass the following checks before merging:

  • Pull Request Checks workflow must complete successfully
  • All required status checks must be green

🧪 Integration Tests

Integration tests will run automatically on pushes to main. For pull requests, add the integration-tests label to trigger them.

🚀 Getting Started

If you need to fix any issues:

  1. Format code: make format
  2. Check linting: make lint
  3. Run tests: make test

The CI checks will update automatically when you push new commits.

📚 Documentation


This comment was automatically generated by GitHub Actions.

@colesmcintosh colesmcintosh merged commit 50bebbf into main Dec 27, 2025
8 checks passed
@colesmcintosh colesmcintosh deleted the migrate-to-uv branch December 27, 2025 22:28
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.

1 participant