Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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:
Dependency Simplification
The pin for
urllib3<2.0.0
on line 7 is likely no longer necessary. This was required because older versions ofgoogle-auth
(a transitive dependency offirebase-admin
) were incompatible withurllib3
v2. The updated dependencies infirebase-admin
v7 resolve this. You can likely remove that line to simplify yourrequirements.txt
.Test Environment Python Version
firebase-admin
v7 deprecates support for Python 3.9. The project'snoxfile_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.