client-python icon indicating copy to clipboard operation
client-python copied to clipboard

Lack of backward compatibility

Open K-Yo opened this issue 5 months ago • 0 comments

Problem to Solve

When using pycti, we need to use a version matching the version from our platform (for example, if I use openCTI 6.7.8, I should use pycti version 6.7.8 to ensure compatibility). Current python dependencies (specified in requirements.txt) are very restricted, using the ~= version specifier.

This can lead to compatibility issues, like a user raised in https://github.com/OpenCTI-Platform/client-python/issues/840

with pycti 6.4.5, one must use pydantic 2.8.* with pycti 6.4.6, one must use pydantic 2.10.*

if I want to upgrade pydantic in a project using pycti (for features or security or compatibility), I must upgrade OpenCTI platform, which is a lot of work and possible different teams with different priorities.

Current Workaround

I’m thinking maybe clone pycti source locally and build it with different dependencies. Did not find anything simpler for the moment…

Proposed Solution

Most teams go around these issues by releasing a backward compatible library. At least until the EOL of each version.

K-Yo avatar Jul 31 '25 14:07 K-Yo