Repository navigation
chore(billing-cost-management-mcp-server): require Python 3.11 and update dnspython to 2.9 - #4995
Merged
Merged
Conversation
…date dnspython to 2.9 dnspython 2.9.0 fixes GHSA-45c3-73f7-pv4m and needs Python 3.11 or later. While the server allows 3.10, the lock keeps a 3.10 branch that can only resolve dnspython 2.8.x, and CI tests that branch because .python-version is 3.10. Python 3.10 reached end of life on 2026-10-01. - requires-python >=3.11; drop the 3.10 classifier. - .python-version 3.11, so CI tests the new minimum. - README: install Python 3.11 or newer. - uv.lock: re-locked with uv 0.13.6, upgrading dnspython, authlib, certifi, joserfc, pyjwt, urllib3, virtualenv, anyio and typing-extensions. The other version changes are the ones those upgrades require.
anniewn
requested review from
a team,
Comusus,
Dinkie,
Rahul-1404,
bhatia-di,
callnmm,
chittev,
finklen-amazon,
johnwangwyx,
junaidgirkar,
mattkelsey,
shsrams,
somsubhro,
wangyuhere and
yasmeenh11
as code owners
November 2, 2026 20:33
Comusus
approved these changes
Nov 2, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4995 +/- ##
==========================================
- Coverage 93.79% 93.79% -0.01%
==========================================
Files 1080 1080
Lines 94712 94712
Branches 15442 15442
==========================================
- Hits 88833 88832 -1
Misses 3505 3505
- Partials 2374 2375 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
anniewn
enabled auto-merge
November 2, 2026 20:46
yasmeenh11
approved these changes
Nov 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes
Summary
Changes
dnspython 2.9.0 fixes GHSA-45c3-73f7-pv4m and needs Python 3.11 or later. While this server allows 3.10,
uv.lockkeeps apython_full_version < '3.11'branch that can only resolve dnspython 2.8.x, and CI tests that branch because.python-versionis 3.10. Python 3.10 reached end of life on 2026-10-01.This raises the minimum for this server only, the same way s3-tables did in #2368:
pyproject.toml:requires-python = ">=3.11"; drop thePython :: 3.10classifier..python-version: 3.11, so CI tests the new minimum.README.md: install Python 3.11 or newer.uv.lock: re-locked with uv 0.13.6, upgrading dnspython, authlib, certifi, joserfc, pyjwt, urllib3, virtualenv, anyio and typing-extensions:uv-requirements.txtand other servers are unchanged.User experience
Before: the server installs on Python 3.10, and the lock pins dnspython 2.7.0.
After: the server needs Python 3.11 or newer. On Python 3.10, pip and uvx pick the last release that supports 3.10, so nothing fails to install. The Docker image already uses Python 3.13 and is unaffected apart from the refreshed lock.
Checklist
If your change doesn't seem to apply, please leave them unchecked.
Tested on Python 3.11 in
src/billing-cost-management-mcp-server:uv lock --check,uv sync --frozen --all-extras --dev,uv run --frozen pytest(4437 passed),uv run --frozen pyright(0 errors),uv run --frozen ruff format --check .,uv run --frozen ruff check .anduv buildall pass.Is this a breaking change? (Y/N) N
RFC issue number:
Checklist:
Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.