GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

@lahirumaramba

@lahirumaramba lahirumaramba commented Nov 5, 2026

Copy link
Copy Markdown
Member

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
All reactions
  • 👀 1 reaction
@lahirumaramba
chore(deps): drop Python 3.9 support and require Python 3.10+.
a9699c5
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.
@lahirumaramba
lahirumaramba requested a review from a team November 5, 2026 15:29
gemini-code-assist[bot]
gemini-code-assist Bot reviewed Nov 5, 2026
View reviewed changes

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

Copy link
Copy Markdown

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.

All reactions
Comment thread setup.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

lahirumaramba added 2 commits November 5, 2026 15:47
@lahirumaramba
chore(deps): bump pypa/gh-action-pypi-publish to v1.14.3.
222ce45
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).
@lahirumaramba
chore(deps): simplify Python version tuple check in setup.py.
61996bd
Compare `(major, minor) < (3, 10)` directly instead of checking `major != 3 or minor < 10` so the startup guard matches `python_requires='>=3.10'`.
yvonnep165
yvonnep165 approved these changes Nov 5, 2026
View reviewed changes

@yvonnep165 yvonnep165 left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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.

All reactions
@lahirumaramba lahirumaramba added the release-note label Nov 5, 2026
@lahirumaramba 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
@lahirumaramba
lahirumaramba merged commit 00e0754 into main Nov 5, 2026
23 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@lahirumaramba
lahirumaramba deleted the lm-drop-python-3.9 branch November 5, 2026 22:15
This was referenced Nov 9, 2026
chore(deps): upgrade dependencies after dropping Python 3.9. #1003
Merged
[chore] Release 7.8.0 #1005
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@yvonnep165 yvonnep165 yvonnep165 approved these changes
+1 more reviewer
@gemini-code-assist gemini-code-assist[bot] gemini-code-assist[bot] left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

release-note

Projects

None yet

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.

2 participants

@lahirumaramba @yvonnep165
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.