Skip to content

Deploying Python Cloud Functions fails since v15.5.0 #9855

Closed

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

Activity

  1. aalej commented on Feb 2, 2026

    @aalej
    Contributor

    Thanks for the report and opening opening up a PR @vipshek! I'll raise this to our engineering team so they can take a look.

    I don't think that issue #9853 is related, the error from that issue seems to be a Node.js module import(firebase-functions/v2/https).

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

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