Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0ed5b1a

Browse files
stainless-app[bot]stainless-bot
authored andcommittedNov 4, 2024
feat(project): drop support for Python 3.7 (#1845)
3.7 has been EOL for over a year and accounts for a small number of downloads
1 parent 6e42e78 commit 0ed5b1a

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed
 

‎README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![PyPI version](https://img.shields.io/pypi/v/openai.svg)](https://pypi.org/project/openai/)
44

5-
The OpenAI Python library provides convenient access to the OpenAI REST API from any Python 3.7+
5+
The OpenAI Python library provides convenient access to the OpenAI REST API from any Python 3.8+
66
application. The library includes type definitions for all request params and response fields,
77
and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).
88

@@ -712,7 +712,7 @@ print(openai.__version__)
712712

713713
## Requirements
714714

715-
Python 3.7 or higher.
715+
Python 3.8 or higher.
716716

717717
## Contributing
718718

‎pyproject.toml

+2-3
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@ dependencies = [
1818
"tqdm > 4",
1919
"jiter>=0.4.0, <1",
2020
]
21-
requires-python = ">= 3.7.1"
21+
requires-python = ">= 3.8"
2222
classifiers = [
2323
"Typing :: Typed",
2424
"Intended Audience :: Developers",
25-
"Programming Language :: Python :: 3.7",
2625
"Programming Language :: Python :: 3.8",
2726
"Programming Language :: Python :: 3.9",
2827
"Programming Language :: Python :: 3.10",
@@ -150,7 +149,7 @@ filterwarnings = [
150149
# there are a couple of flags that are still disabled by
151150
# default in strict mode as they are experimental and niche.
152151
typeCheckingMode = "strict"
153-
pythonVersion = "3.7"
152+
pythonVersion = "3.8"
154153

155154
exclude = [
156155
"_dev",

0 commit comments

Comments
 (0)
Please sign in to comment.