mistralai / client-python

Python client library for Mistral AI platform
Apache License 2.0
487 stars 106 forks source link

[BUG CLIENT]: bad python-dateutil dependency specification #158

Open folkvir opened 1 week ago

folkvir commented 1 week ago

Python -VV

.

Pip Freeze

python-dateutil==2.9.0

Reproduction Steps

  1. Install python-dateutil==2.9.0
  2. Install latest mistralai==1.2.3

Will block with conflict: mistralai 1.2.3 requires python-dateutil==2.8.2, but you'll have python-dateutil 2.9.0 which is incompatible.

Expected Behavior

The client should allow the version 2.9.0 of the python-dateutil. If there is no reason to lock the version 2.8.2 then you should not strictly specify the version.

Additional Context

No response

Suggested Solutions

Use python-dateutil = "^2.8.2" in pyproject.toml instead of the strict 2.8.2 specification