Jens Geyer created THRIFT-6265:
----------------------------------

             Summary: Python: setup.py still carries the 
backports.ssl_match_hostname dependency for Python < 3.5
                 Key: THRIFT-6265
                 URL: https://issues.apache.org/jira/browse/THRIFT-6265
             Project: Thrift
          Issue Type: Improvement
          Components: Python - Library
            Reporter: Jens Geyer


{{lib/py/setup.py:107}}:

{code:python}
if sys.hexversion < 0x03050000:
    ssl_deps.append('backports.ssl_match_hostname>=3.5')
{code}

The package requires Python 3 and CI builds from 3.10 upward, so the branch 
cannot be taken by any interpreter the library supports. {{ssl.match_hostname}} 
itself was removed from the standard library in 3.12, which is the direction 
the shim was there to cover in the other direction.

h2. Suggested

Drop the branch and the {{backports.ssl_match_hostname}} dependency.

_Drafted with AI assistance (Claude Opus 5); reviewed and filed by Jens Geyer._



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to