#9409 freeipa uses ssl.match_hostname() which was removed from Python 3.12
Closed: fixed by frenaud. Opened by churchyard.

See details here: https://github.com/python/cpython/pull/94224#issuecomment-1621097418

This was deprecated by @cheimes in Python 3.7 and later removed by @vstinner from Python 3.12.

The DeprecationWarning was covered up with # pylint: disable=deprecated-method in https://pagure.io/freeipa/issue/9117

@adamwill proposes to use the urllib3 version.

This is blocking the merge of the Python 3.12 side tag into Fedora 39 which needs to happen before the mass rebuild 2023-07-19


Added https://src.fedoraproject.org/rpms/freeipa/pull-request/17 downstream to unblock the OpenQA tests.

Metadata Update from @rcritten:
- Issue assigned to rcritten

The upstream patch appears to be ok. I'm going to submit it as a PR and see what CI thinks about it.

PR https://github.com/freeipa/freeipa/pull/6912

master:

  • d2ed490ff446d96520b89ea47387ce8ee33c1c7d Use ssl.match_hostname from urllib3 as it was removed from Python 3.12

ipa-4-10:

  • 0481c6a1958da15f080aed000d62a0fc3c80f023 Use ssl.match_hostname from urllib3 as it was removed from Python 3.12

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata