You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A new version of python-json-logger breaks compatibility with kopf, causing kopf to crash with the error No module named 'pythonjsonlogger.jsonlogger' due to the dependency not being pinned. This issue is documented here: nhairs/python-json-logger#29. Pinning python-json-logger to version 2.0.7 resolves the problem.
Kopf version
1.37.3
Kubernetes version
v1.28.7+6e2789b
Python version
3.12
Code
No response
Logs
Traceback (most recent call last):
File "/usr/local/bin/kopf", line 5, in <module>
from kopf.cli import main
File "/usr/local/lib/python3.12/site-packages/kopf/__init__.py", line 111, in <module>
from kopf._core.actions.loggers import (
File "/usr/local/lib/python3.12/site-packages/kopf/_core/actions/loggers.py", line 16, in <module>
import pythonjsonlogger.jsonlogger
ModuleNotFoundError: No module named 'pythonjsonlogger.jsonlogger'
Additional information
No response
The text was updated successfully, but these errors were encountered:
Long story short
A new version of python-json-logger breaks compatibility with kopf, causing kopf to crash with the error No module named 'pythonjsonlogger.jsonlogger' due to the dependency not being pinned. This issue is documented here: nhairs/python-json-logger#29. Pinning python-json-logger to version 2.0.7 resolves the problem.
Kopf version
1.37.3
Kubernetes version
v1.28.7+6e2789b
Python version
3.12
Code
No response
Logs
Additional information
No response
The text was updated successfully, but these errors were encountered: