Skip to content

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

Closed as not planned

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

Activity

  1. matt-aitken commented on Oct 7, 2026

    @matt-aitken
    Member

    We have a new Vouch policy, please see the discussion here: #5010

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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