Skip to content

google-api-python-client dependency adds 50+MB to the application #674

Open
@tibbe

Description

@tibbe

[READ] Step 1: Are you in the right place?

  • For issues related to the code in this repository file a GitHub issue.
  • If the issue pertains to Cloud Firestore, report directly in the
    Python Firestore GitHub repo. Firestore
    bugs reported in this repo will be closed with a reference to the Python Firestore
    project.
  • For general technical questions, post a question on StackOverflow
    with the firebase tag.
  • For general Firebase discussion, use the firebase-talk
    google group.
  • For help troubleshooting your application that does not fall under one
    of the above categories, reach out to the personalized
    Firebase support channel.

[REQUIRED] Step 2: Describe your environment

  • Operating System version: Amazon Linux 2
  • Firebase SDK version: unknown
  • Firebase Product: messaging
  • Python version: 3.9
  • Pip version: 22.1.2

[REQUIRED] Step 3: Describe the problem

This library's dependency on all of google-api-python-client pulls in 50+MB of code, causing our AWS Lambda deployment to be over AWS's package size limit.

Does this library really need to depend on all of google-api-python-client? As per https://pypi.org/project/google-api-python-client/ "There is a separate client library for each API, so you can choose which client libraries to download. Whereas, google-api-python-client is a single client library for all APIs. As a result, the total package size for google-api-python-client exceeds 50MB."

Steps to reproduce:

Depend on this library.

Relevant Code:

N/A

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions