Skip to content

Relax openai version pin to support >=2.0.0#996

Open
Br1an67 wants to merge 1 commit intodatalab-to:masterfrom
Br1an67:fix/issue-976-relax-openai-pin
Open

Relax openai version pin to support >=2.0.0#996
Br1an67 wants to merge 1 commit intodatalab-to:masterfrom
Br1an67:fix/issue-976-relax-openai-pin

Conversation

@Br1an67
Copy link

@Br1an67 Br1an67 commented Mar 1, 2026

Summary

Relax the openai version constraint from ^1.65.2 (which resolves to >=1.65.2,<2.0.0) to >=1.65.2.

The current upper bound prevents users from installing marker-pdf alongside other packages that require openai>=2.0.0.

I verified that all APIs used by marker (client.beta.chat.completions.parse, AzureOpenAI, APITimeoutError, RateLimitError) are fully backward compatible in openai v2.x.

Closes #976

Changes

  • Changed openai = "^1.65.2" to openai = ">=1.65.2" in pyproject.toml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support openai >= 2.0.0 or make it an optional (extra) dependency

1 participant