Skip to content

build(test-celery-max-tasks-per-child): Migrate from pip to uv#65

Merged
ericapisani merged 1 commit into
mainfrom
PY-2434-test-celery-max-tasks-per-child
May 22, 2026
Merged

build(test-celery-max-tasks-per-child): Migrate from pip to uv#65
ericapisani merged 1 commit into
mainfrom
PY-2434-test-celery-max-tasks-per-child

Conversation

@ericapisani

Copy link
Copy Markdown
Member

Summary

  • Replace requirements.txt with pyproject.toml for dependency management
  • Update run.sh and run-celery.sh to use uv run instead of manual venv/pip workflow
  • Part of PY-2428 migration effort

Test plan

  • Run ./run-celery.sh and verify the celery worker starts
  • Run ./run.sh and verify the app runs correctly

🤖 Generated with Claude Code

Replace requirements.txt with pyproject.toml and update run.sh and
run-celery.sh to use uv for dependency management and script execution.

Refs PY-2434
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@linear-code

linear-code Bot commented May 22, 2026

Copy link
Copy Markdown

PY-2434

PY-2428

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit c322f0a. Configure here.

reset

# create and activate virtual environment
python -m venv .venv

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uv missing after install

Medium Severity

When uv is installed via curl | sh, the installer doesn't update the current shell's PATH. This causes the immediate uv run command to fail with "command not found" in the same script execution.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit c322f0a. Configure here.

[project]
name = "test-celery-max-tasks-per-child"
version = "0"
requires-python = ">=3.12"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Python version constraint mismatch

Medium Severity

The pyproject.toml specifies requires-python = ">=3.12", but the .python-version file in this directory is pinned to 3.10. This conflict can cause uv sync or uv run to fail or select an incorrect Python interpreter, unlike other similar projects where these versions are aligned.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit c322f0a. Configure here.

@ericapisani ericapisani merged commit 76702c7 into main May 22, 2026
11 checks passed
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