openai-python icon indicating copy to clipboard operation
openai-python copied to clipboard

Drop support of Python 3.7

Open ericwb opened this issue 1 year ago • 1 comments

Confirm this is an issue with the Python library and not an underlying OpenAI API

  • [X] This is an issue with the Python library

Describe the bug

Python 3.7 is already end-of-life as of 2023-06-27 as you see from the PSF here: https://devguide.python.org/versions/, yet this client is still supporting it.

I recommend dropping support as further fixes to the Python 3.7 runtime won't be made and could affect usage of this client.

To Reproduce

  1. Go to https://devguide.python.org/versions/
  2. Notice Python 3.7 end support as of 2023-06-27
  3. Notice in https://github.com/openai/openai-python/blob/main/pyproject.toml#L24 this client still claims support.

Code snippets

n/a

OS

macOS

Python version

Python 3.7.x

Library version

openai v1.14.3

ericwb avatar Mar 28 '24 16:03 ericwb

Thanks @ericwb ! We do indeed plan to do this at the next major version.

rattrayalex avatar Mar 29 '24 03:03 rattrayalex