Skip to content

Deprecation warnings in Python 3.10 #85

Closed

Description

@mikemanger

Running the tests in Python 3.10 and upwards gives the following deprecation warnings:

\createsend-python\lib\createsend\utils.py:106: DeprecationWarning: ssl.SSLContext() without protocol argument is deprecated.
    context = ssl.SSLContext()

\createsend-python\lib\createsend\utils.py:106: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated
    context = ssl.SSLContext()

There is some documentation here:

It should be safe to update this method for all supported versions of Python.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions