Make compatible with jsonschema 4
Hi folks,
currently cffconvert downgrades jsonschema to 3.2.0 upon pip install. This makes Jupyter notebook and lab fail with a ModuleNotFoundError: No module named 'jsonschema.protocols' error.
This means that users who have the current versions of jupyter installed need to create a new environment for cffconvert specially. This could be avoided by making the code compatible with jsonschema==4.
Hi @johentsch, thanks for the report. The jsonschema compatibility is a known issue, I just haven't been able to find some time to look into it but hopefully it won't be too long before this is fixed.
Related discussion: https://github.com/citation-file-format/cff-converter-python/pull/281#issuecomment-1622395770
Note this was updated in main, but it's not released yet.
As jupyter is no requiring jsonschema >= 4, it would be great to have a release to be able to have jupyter and cffconvert in the same environment