Skip to content

Vouch Request - Add pythonVersion option to pythonExtension (#3154) #3156

@manthankhawse

Description

@manthankhawse

Why do you want to contribute?

I came across issue #3154 while exploring the trigger.dev codebase and noticed it's a well-scoped, beginner-friendly fix. The pythonExtension() function currently hardcodes python3 installation without any version pinning, which causes compatibility problems for users who need a specific Python version (e.g., 3.12 for newer packages or 3.10 for legacy dependencies).

The fix is straightforward, adding a pythonVersion option to PythonOptions and conditionally generating Dockerfile instructions using the deadsnakes PPA. I've already traced through the relevant code in packages/python/src/extension.ts and have a clear implementation plan. I'd love to get this merged as my first contribution to trigger.dev.

Prior contributions or relevant experience

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions