Skip to content

Replace obsolete cgi module in parsing HTTP headers - #337

Merged
YonathanZetune merged 2 commits into
google:masterfrom
AleksMat:master
Nov 11, 2026
Merged

YonathanZetune merged 2 commits into
google:masterfrom
AleksMat:master

Conversation

@AleksMat

Copy link
Copy Markdown
Contributor

cgi was deprecated in PEP 594 (Python 3.11) and removed in Python 3.13. Migrate the usage of cgi.parse_header in tests to make apitools compatible with Python 3.14+.

@YonathanZetune
YonathanZetune self-requested a review November 10, 2026 15:44
Comment thread apitools/base/protorpclite/test_util.py Resolved
@YonathanZetune
YonathanZetune merged commit 468a297 into google:master Nov 11, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants