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

Deprecation warning coming from pythonjsonlogger

Open gamisn opened this issue 4 months ago • 2 comments

https://github.com/OpenCTI-Platform/client-python/blob/269ec1c8d7e78515d0166bb3d49a9ab25e8a6ec8/pycti/utils/opencti_logger.py#L4

https://nhairs.github.io/python-json-logger/latest/changelog/

pythonjsonlogger.jsonlogger has been moved to pythonjsonlogger.json with core functionality moved to pythonjsonlogger.core.

gamisn avatar Jul 25 '25 11:07 gamisn

Either new import should be used, or package version should be relaxed.

gamisn avatar Jul 25 '25 11:07 gamisn

https://github.com/OpenCTI-Platform/client-python/blob/269ec1c8d7e78515d0166bb3d49a9ab25e8a6ec8/requirements.txt#L6C1-L6C26

gamisn avatar Jul 25 '25 11:07 gamisn

Fixed in https://github.com/OpenCTI-Platform/opencti/pull/13113

xfournet avatar Nov 14 '25 12:11 xfournet