I was on version 2.0.0, but there is no patched version 2.0.1 fixing the issue, so I downgraded to version 1.5.3 as stated in the comment linked above.
I guess this is a question of whether patched versions are provided, or in other words the fix is backported to any older version than the latest release.
As can be seen in https://github.com/ryantam626/jupyterlab_code_formatter/issues/193#issuecomment-1488742233 the
jupyterlab-code-formatter
extension was not actually compatible with Python>=3.7
as was stated in https://github.com/ryantam626/jupyterlab_code_formatter/blob/e136c324171b897b3e18174946836dd08d73932e/pyproject.toml#L9.I was on version
2.0.0
, but there is no patched version2.0.1
fixing the issue, so I downgraded to version1.5.3
as stated in the comment linked above.I guess this is a question of whether patched versions are provided, or in other words the fix is backported to any older version than the latest release.