Skip to content

Replace Poetry with uv for build and dependency management#14

Merged
jason810496 merged 11 commits intodevelopfrom
copilot/sub-pr-13
Dec 28, 2025
Merged

Replace Poetry with uv for build and dependency management#14
jason810496 merged 11 commits intodevelopfrom
copilot/sub-pr-13

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 28, 2025

Replace Poetry with uv for build and dependency management

Description

Migrated from Poetry to uv as the build tool and dependency manager across the entire project.

Changes

  • pyproject.toml: Converted to PEP 621 standard format

    • Build backend: poetry-corehatchling
    • Dependencies: Poetry-specific syntax → standard [project.dependencies] and [project.optional-dependencies]
    • Version constraints: Added upper bound to pytest (>=7.4.4,<8.0) for stability
  • Makefile: Updated commands to use uv

    • poetry install --with devuv sync --extra dev
    • poetry builduv build
    • poetry runuv run
  • GitHub Actions (.github/workflows/codecov.yml, .github/workflows/publish.yml):

    • Replaced Poetry installation with uv installation via curl -LsSf https://astral.sh/uv/install.sh | sh
    • Updated all dependency installation and build commands
  • Dockerfile: Replaced Poetry with uv

    • Uses uv sync with lock file for reproducible builds
    • Removed Poetry-specific environment variables
  • Lock files: poetry.lockuv.lock

  • Documentation: Updated badges in README.md and doc/index.rst

Status

  • In progress
  • Ready for review
  • Done

Checklist

  • Read the Contributing Guide
  • Passes tests
  • Linted ( we use pre-commit with ruff )
  • Updated documentation

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Dec 28, 2025

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • astral.sh
    • Triggering command: /usr/bin/curl curl -LsSf REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title [WIP] Replace poetry with uv in the project Replace Poetry with uv for build and dependency management Dec 28, 2025
Copilot AI requested a review from jason810496 December 28, 2025 03:45
@jason810496 jason810496 changed the base branch from fix/ci/docker-compose-and-codecov to develop December 28, 2025 03:58
@jason810496 jason810496 marked this pull request as ready for review December 28, 2025 03:59
@jason810496 jason810496 merged commit ddd3836 into develop Dec 28, 2025
4 checks passed
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
pgmq_sqlalchemy/queue.py 96.94% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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