Find deprecated ssl.match_hostname()
Recipe ID
org.openrewrite.python.migrate.FindSslMatchHostnameArtifactopenrewrite-migrate-pythonFind usage of the deprecated ssl.match_hostname() function which was removed in Python 3.12. Use ssl.SSLContext.check_hostname instead.
Single recipeProprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe org.openrewrite.python.migrate.FindSslMatchHostnameIf the recipe isn’t available locally, install it with:
mod config recipes pip install openrewrite-migrate-python