Skip to content

curl_httpclient: Require pycurl 7.44.1 and drop the PROTOCOLS fallback - #3939

Open
bdarnell wants to merge 1 commit into
tornadoweb:masterfrom
bdarnell:claude/project-thread-vrr3ex
Open

bdarnell wants to merge 1 commit into
tornadoweb:masterfrom
bdarnell:claude/project-thread-vrr3ex

Conversation

@bdarnell

Copy link
Copy Markdown
Member

pycurl 7.44.1 is the oldest version that builds on Python 3.11, our oldest supported Python, so nothing older can be in use. Update the documented minimum (which still said 7.18.2) and the stale libcurl minimum in the httpclient docstring (raised to 7.81 in 6.6.0), and set PROTOCOLS and REDIR_PROTOCOLS unconditionally instead of only when pycurl exposes them.

Also make test_non_ascii_redirect accept lowercase percent-encoding, which some libcurl versions (such as 8.5.0 in Ubuntu 24.04) produce.

Claude-Session: https://claude.ai/code/session_01VamvWmWLxHXEQitxALRmry

pycurl 7.44.1 is the oldest version that builds on Python 3.11, our
oldest supported Python, so nothing older can be in use. Update the
documented minimum (which still said 7.18.2) and the stale libcurl
minimum in the httpclient docstring (raised to 7.81 in 6.6.0), and set
PROTOCOLS and REDIR_PROTOCOLS unconditionally instead of only when
pycurl exposes them.

Also make test_non_ascii_redirect accept lowercase percent-encoding,
which some libcurl versions (such as 8.5.0 in Ubuntu 24.04) produce.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VamvWmWLxHXEQitxALRmry

This branch has not been deployed

No deployments
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