opendatacube / eo-datasets

Easily write, validate and convert EO datasets and metadata.
Apache License 2.0
49 stars 26 forks source link

serialise.py:183: DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0 #345

Open pjonsson opened 3 months ago

pjonsson commented 3 months ago

I submitted a PR to datacube-explorer and got this warning in the tests:

  /usr/local/lib/python3.10/dist-packages/eodatasets3/serialise.py:183: DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
    ref_resolver = jsonschema.RefResolver.from_schema(

which I'm guessing is this repository.