Skip to content

Dependency conflict with tiktoken version when installing devchat alongside other AI libraries #300

Description

@yangbobo2021

While attempting to install devchat in an environment that also includes other AI libraries, a dependency conflict arises due to devchat requiring tiktoken version less than 0.5.0 (tiktoken<0.5.0), whereas other projects have moved on to depend on tiktoken versions 0.5.0 and above. This discrepancy prevents the successful installation of the needed packages due to the conflicting version requirements.

Steps to reproduce:

  1. Create a new virtual environment.
  2. Try installing devchat alongside another AI library that requires tiktoken version >= 0.5.0.

Expected behavior: Both devchat and the other AI libraries install successfully without version conflicts.

Actual behavior: The installation fails due to a version conflict with tiktoken, making it impossible to satisfy the dependency requirements of both devchat and the other AI libraries.

Possible solution: Update the tiktoken version requirement in devchat to allow for versions >= 0.5.0, if it does not break compatibility. Alternatively, a more flexible version dependency could be considered to accommodate both sets of libraries.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions