Skip to content

Deploying Python Cloud Functions fails since v15.5.0 #9855

@vipshek

Description

@vipshek

Environment info

firebase-tools: v15.5.0

Platform: Ubuntu Docker image

Steps to reproduce

Run firebase deploy --only functions in a project containing Python Functions.

Expected behavior

Firebase deploy runs and inspects Python source to determine what to deploy, logging lines like this:

functions: Loading and analyzing source code for codebase python to determine what to deploy

Actual behavior

Firebase deploy fails, in my case with a variety of strange errors.

In our case we have a script to validate that Python 3.12 is present before running Firebase deploy, and we now see that Python is no longer present in the Docker image at all, preventing the code discovery features

Root cause

It appears Python was removed from the firebase-cli Docker image in #9767, which seems to be the root cause here. I'll make a PR to add this back, and include a comment for why the Python dep is necessary.

Other issues

Maybe related: #9853

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions