Fix DeprecationWarning with patched python-json-logger Running tests with https://github.com/nhairs/python-json-logger 3.1.0 produces: . DeprecationWarning: pythonjsonlogger.jsonlogger has been moved to pythonjsonlogger.json . It's easy enough to be compatible with both.
Update to handle pythonjsonlogger version 3.x The (not-yet-on-PyPI) python-json-logger version 3.0.0 includes the new "taskName" in the list of standard LogRecord attributes, so the jupyter_event tests should not expect to see it.