Skip to content

feat: support uv-managed Python Actors in apify create#1274

Open
vdusek wants to merge 1 commit into
masterfrom
feat/create-uv-support
Open

feat: support uv-managed Python Actors in apify create#1274
vdusek wants to merge 1 commit into
masterfrom
feat/create-uv-support

Conversation

@vdusek

@vdusek vdusek commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

apify create hard-coded pip install -r requirements.txt for Python Actors, so creating a uv-managed template — which ships pyproject.toml + uv.lock and no requirements.txt — failed during dependency install with Could not open requirements file.

create now detects uv-managed Python/Scrapy projects by the presence of a committed uv.lock and installs their dependencies with uv sync instead. The check runs before the system-Python detection, since uv provides the interpreter pinned in .python-version itself, and falls back to a warning with install instructions when the uv executable isn't found.

This unblocks the upcoming python-uv template (apify/actor-templates#800).

@vdusek vdusek added adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. labels Jul 10, 2026
@vdusek vdusek self-assigned this Jul 10, 2026
@vdusek vdusek marked this pull request as ready for review July 13, 2026 08:28
@vdusek vdusek requested review from DaveHanns and l2ysho as code owners July 13, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants