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

Latest version fails to install on Python 3.7

Open codeofdusk opened this issue 1 year ago • 2 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

Due to dependency conflicts, the latest versions of the library fail to install on Python 3.7.

To Reproduce

  1. Using Python 3.7, attempt to install the openai package:
$ py -3.7-32 -m pip install openai

This fails due to jiter and typing_extensions.

Please either drop support for 3.7 officially (3.8 works) or loosen the dependency constraints.

Code snippets

No response

OS

Windows 11 26100.1882

Python version

3.7.9

Library version

1.51.x

codeofdusk avatar Oct 09 '24 06:10 codeofdusk

It appears that the last working version is 1.39.0.

codeofdusk avatar Oct 09 '24 07:10 codeofdusk

Thanks for the report, I'm investigating.

RobertCraigie avatar Oct 09 '24 12:10 RobertCraigie

Closed in #1845.

codeofdusk avatar Nov 05 '24 02:11 codeofdusk