Skip to content

DeprecationWarning when using snakemake.utils.validate #2468

@pontushojer

Description

@pontushojer

Snakemake version

7.32.4

Describe the bug

DeprecationWarning when using snakemake.utils.validate to validate a YAML config with a schema file.

Logs

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.
    from jsonschema import validators, RefResolver

Minimal example

Additional context

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions