Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin OpenAI Python client to <1.66.0 #47643

Merged
merged 1 commit into from
Mar 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion generated/provider_dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@
"openai": {
"deps": [
"apache-airflow>=2.9.0",
"openai[datalib]>=1.32.0"
"openai[datalib]>=1.32.0,<1.66.0"
],
"devel-deps": [],
"plugins": [],
Expand Down
8 changes: 4 additions & 4 deletions providers/openai/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ The package supports the following python versions: 3.9,3.10,3.11,3.12
Requirements
------------

=================== ==================
=================== ====================
PIP package Version required
=================== ==================
=================== ====================
``apache-airflow`` ``>=2.9.0``
``openai[datalib]`` ``>=1.32.0``
=================== ==================
``openai[datalib]`` ``>=1.32.0,<1.66.0``
=================== ====================

The changelog for the provider package can be found in the
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-openai/1.5.2/changelog.html>`_.
2 changes: 1 addition & 1 deletion providers/openai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ requires-python = "~=3.9"
# After you modify the dependencies, and rebuild your Breeze CI image with ``breeze ci-image build``
dependencies = [
"apache-airflow>=2.9.0",
"openai[datalib]>=1.32.0",
"openai[datalib]>=1.32.0,<1.66.0", # Pinned due to https://github.com/apache/airflow/issues/47642
]

[dependency-groups]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ def get_provider_info():
"connection-type": "openai",
}
],
"dependencies": ["apache-airflow>=2.9.0", "openai[datalib]>=1.32.0"],
"dependencies": ["apache-airflow>=2.9.0", "openai[datalib]>=1.32.0,<1.66.0"],
"devel-dependencies": [],
}
Loading