Skip to content

chore(deps): update dependency firebase-admin to v7 #13508

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate-bot
Copy link
Contributor

This PR contains the following updates:

Package Change Age Confidence
firebase-admin (source, changelog) ==6.6.0 -> ==7.0.0 age confidence

Release Notes

firebase/firebase-admin-python (firebase-admin)

v7.0.0: Firebase Admin Python SDK v7.0.0

Compare Source

Breaking Changes
  • Dropped support for Python 3.7 and 3.8 (#​892)
  • Deprecated support for Python 3.9. Use Python 3.10 or higher when deploying the Admin SDK (#​892)
  • Dropped AutoML support (#​894)
  • Dropped send_all() and send_multicast() FCM APIs (#​890)
  • Removed the dependency on google-api-python-client greatly reducing the SDK's bundle size. (#​890)
Bug Fixes
  • fix(functions): Remove usage of deprecated datetime.utcnow() and fix flaky unit test (#​896)
Miscellaneous
  • [chore] Release 7.0.0 (#​902)
  • chore(deps): bump astroid from 3.3.10 to 3.3.11 (#​901)
  • Upgraded Google API Core, Cloud Firestore, and Cloud Storage dependencies (#​897)
  • Bump pylint to v3.3.7 and astroid to v3.3.10 (#​895)
  • Merge v7 Feature Branch (#​900)
  • Adds send each snippets. (#​891)

v6.9.0: Firebase Admin Python SDK v6.9.0

Compare Source

New Features
  • feat(fcm): Add live_activity_token to APNSConfig (#​880)
  • feat(fcm): Add send_each_async and send_each_for_multicast_async for FCM async and HTTP/2 support (#​882)
Miscellaneous
  • [chore] Release 6.9.0 (#​885)
  • refactor: Optimize success count calculation in BatchResponse (#​837)
  • chore: Use mock time for consistent token generation and verification tests (#​881)
  • chore: Correct x-goog-api-client header logic (#​876)

v6.8.0: Firebase Admin Python SDK v6.8.0

Compare Source

New Features
  • feat(fcm): Support proxy field in FCM AndroidNotification (#​868)
Miscellaneous
  • [chore] Release 6.8.0 (#​874)
  • Python 3.8 has EoL"ed. Update README to deprecate Python 3.8 support (#​873)

v6.7.0: Firebase Admin Python SDK v6.7.0

Compare Source

New Features
  • feat(rc): Sever Side Remote Config Integration (#​863)
Miscellaneous
  • [chore] Release 6.7.0 (#​867)
  • chore: Add tests for Reference.listen() (#​851)
  • pass clinet"s params to SSEClient (#​845)
  • Revert "chore: Adding delayed response message for holidays (#​842)" (#​848)
  • chore: Adding delayed response message for holidays (#​842)
  • chore: Skip integration test for deprecated FCM API and bump pypy CI to 3.9 (#​840)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate-bot renovate-bot requested review from a team as code owners July 17, 2025 19:03
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Jul 17, 2025
@product-auto-label product-auto-label bot added samples Issues that are directly related to samples. api: run Issues related to the Cloud Run API. labels Jul 17, 2025
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary of Changes

Hello @renovate-bot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request performs a major version upgrade for the firebase-admin Python dependency. This update brings the project up to the latest stable version of the SDK, but it also introduces significant breaking changes that may require code modifications and careful testing to ensure continued functionality and compatibility with the updated library and its new Python version requirements.

Highlights

  • Dependency Update: This pull request updates the firebase-admin Python dependency from version 6.6.0 to 7.0.0.
  • Breaking Changes in firebase-admin v7.0.0: The new firebase-admin version introduces several breaking changes, including dropping support for Python 3.7 and 3.8, deprecating Python 3.9, removing AutoML support, and removing send_all() and send_multicast() FCM APIs. It also removes the google-api-python-client dependency, which significantly reduces the SDK's bundle size.
  • Python Compatibility: Due to the breaking changes in firebase-admin v7.0.0, applications using this dependency should ensure compatibility with Python 3.10 or higher, as older Python versions are no longer supported or are deprecated by the new SDK.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 17, 2025
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates firebase-admin to the new major version 7.0.0. My review focuses on the implications of the breaking changes introduced in this version. The upgrade appears safe for this project, and I've also identified a potential for dependency simplification that this upgrade enables, as well as a recommendation for the testing environment.

@@ -2,6 +2,6 @@ Flask==3.0.3
SQLAlchemy==2.0.40
pg8000==1.31.2
gunicorn==23.0.0
firebase-admin==6.6.0
firebase-admin==7.0.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Thanks for updating firebase-admin to a new major version. This is a good maintenance step.

After reviewing the v7.0.0 release notes and the project's code, I have two suggestions related to this upgrade:

  1. Dependency Simplification
    The pin for urllib3<2.0.0 on line 7 is likely no longer necessary. This was required because older versions of google-auth (a transitive dependency of firebase-admin) were incompatible with urllib3 v2. The updated dependencies in firebase-admin v7 resolve this. You can likely remove that line to simplify your requirements.txt.

  2. Test Environment Python Version
    firebase-admin v7 deprecates support for Python 3.9. The project's noxfile_config.py appears to run tests against Python 3.9. While this won't break the build now, it's good practice to align the test environment with the dependency's supported versions (>=3.10) to avoid future issues. This would be a good follow-up change.

The core breaking changes in v7 (like removed FCM APIs) don't seem to affect this application, so the upgrade itself looks safe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: run Issues related to the Cloud Run API. owlbot:run Add this label to trigger the Owlbot post processor. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants