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

Make OpenAI provider compatible with openai>=1.66.0 #47642

Closed
1 task done
kaxil opened this issue Mar 11, 2025 · 0 comments · Fixed by #47726
Closed
1 task done

Make OpenAI provider compatible with openai>=1.66.0 #47642

kaxil opened this issue Mar 11, 2025 · 0 comments · Fixed by #47726
Labels
area:providers good first issue kind:meta High-level information important to the community provider:openai

Comments

@kaxil
Copy link
Member

kaxil commented Mar 11, 2025

Body

OpenAI provider Tests are failing with:

___ ERROR collecting providers/openai/tests/unit/openai/hooks/test_openai.py ___
ImportError while importing test module '/opt/airflow/providers/openai/tests/unit/openai/hooks/test_openai.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
providers/openai/tests/unit/openai/hooks/test_openai.py:25: in <module>
    from openai.types.beta import (
E   ImportError: cannot import name 'VectorStore' from 'openai.types.beta' (/usr/local/lib/python3.9/site-packages/openai/types/beta/__init__.py

This is due to openai/openai-python#2175

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers good first issue kind:meta High-level information important to the community provider:openai
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants