#2730·instructor

Update OpenAI and Jiter Version Constraints

Author: sazzad1779-devCreated Oct 1, 2026Updated Oct 1, 2026

Currently, the project restricts the openai package to version 2.54.0 due to a dependency constraint on jiter being limited to 0.14.0.

However, the latest openai version is currently 3.22.1, and other libraries in the ecosystem have already moved to newer jiter versions. For example, langchain-openai supports jiter 0.16.0.

This restriction can cause compatibility issues when using libraries that generate or depend on code targeting newer versions of the OpenAI Python SDK.

Current situation

  • openai: restricted to 2.54.0
  • jiter: restricted to 0.14.0
  • Latest openai: 3.22.1
  • langchain-openai: supports jiter >= 0.16.0

Problem

Because of the current jiter constraint, users cannot upgrade to newer versions of the OpenAI SDK. This can result in dependency conflicts when integrating other libraries that already support the latest OpenAI SDK.

For example, a library may provide code or functionality compatible with the latest OpenAI SDK, but installing it alongside this project can lead to dependency resolution failures because of the older jiter constraint.

Suggested Solution

It would be helpful to update the dependency constraints to support newer versions of jiter and, consequently, newer versions of the openai package.

Ideally, the dependency constraints could be relaxed/updated to support the latest compatible versions rather than pinning jiter to 0.14.0.

This would improve compatibility with the current OpenAI ecosystem and libraries such as langchain-openai.

Expected Benefit

  • Support newer OpenAI Python SDK versions
  • Reduce dependency conflicts
  • Improve compatibility with LangChain and other OpenAI integrations
  • Allow users to use newer OpenAI SDK features without manually overriding dependency constraints