GeezerVison is showing github.com — change(deps): drop Python 3.9 support and require Python 3.10+. by lahirumaramba · Pull Request #1001 · firebase/firebase-admin-python
Conversation
Python 3.9 reached upstream end-of-life in October 2025, has been marked deprecated in README.md since v7.0.0, and is no longer available on GitHub Actions ubuntu-latest (ubuntu-26.04) runners. Keeping Python 3.9 as our minimum runtime breaks CI workflows on ubuntu-latest and blocks upgrading upstream Google Cloud dependencies that have already dropped Python 3.9.
This PR raises the minimum supported Python version to 3.10 (python_requires='>=3.10') and updates our CI, nightly, and release workflows to run on Python 3.10+ and PyPy 3.11. Existing users on Python 3.9 who install firebase-admin with pip will continue resolving to v7.7.0 without broken builds.
Technical Details
- Package metadata (
setup.py) now enforces python_requires='>=3.10' and drops the Python 3.9 PyPI classifier; README.md and CONTRIBUTING.md reflect Python 3.10+ support with Python 3.10 marked deprecated.
- GitHub Actions workflows (
.github/workflows/ci.yml, nightly.yml, and release.yml) move the baseline Python runner from 3.9 to '3.10' and upgrade the PyPy CI entry from 'pypy3.9' to 'pypy3.11'.
- Keeps the
cryptography < 44.0.0; platform.python_implementation == "PyPy" and python_version < "3.11" environment marker intact while Python 3.10 remains supported so PyPy 3.10 installs continue resolving cleanly.
- Testing: Verified unit tests (
pytest) and full linter suite (./lint.sh all) locally.
Context Sources Used:
- id: firebase-admin-python
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
gemini-code-assist[bot] reacted with eyes emoji
Python 3.9 reached upstream end-of-life in October 2025, has been marked
deprecated in README.md since v7.0.0, and was removed from GitHub Actions
ubuntu-latest runners. Require Python >= 3.10 in setup.py and update CI,
nightly, and release workflows to Python 3.10+ and PyPy 3.11.
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.
Code Review
This pull request updates the minimum supported Python version from 3.9 to 3.10 across the project's documentation and package configuration. Feedback on the changes suggests improving the Python version check in setup.py by comparing the version tuple directly, which future-proofs the code for potential major releases like Python 4.0.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Upgrade pypa/gh-action-pypi-publish from v1.13.0 to v1.14.3 in release.yml
to resolve zizmor known-vulnerable-actions check (GHSA-5xjx-3w67-w9x9).
Compare `(major, minor) < (3, 10)` directly instead of checking `major != 3 or minor < 10` so the startup guard matches `python_requires='>=3.10'`.
yvonnep165
left a comment
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
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.
LGTM pending successful build!
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
lahirumaramba
changed the title
chore(deps): drop Python 3.9 support and require Python 3.10+.
change(deps): drop Python 3.9 support and require Python 3.10+.
Nov 5, 2026
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 9, 2026
Reviewers
+1 more reviewer
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.