Open bpinsard opened 8 months ago
Installed datalad-catalog, and I got the folllowing error:
$datalad catalog-create --catalog data-cat [ERROR ] Internal error, cannot import interface 'datalad_catalog.create': ImportError(cannot import name 'Draft202012Validator' from 'jsonschema' (/usr/lib/python3/dist-packages/jsonschema/__init__.py)) usage: datalad [-c (:name|name=value)] [-C PATH] [--cmd] [-l LEVEL] [--on-failure {ignore,continue,stop}] [--report-status {success,failure,ok,notneeded,impossible,error}] [--report-type {dataset,file}] [-f {generic,json,json_pp,tailored,disabled,'<template>'}] [--dbg] [--idbg] [--version] {} ... datalad: error: invalid choice: 'catalog-create' (choose from )
updated jsonschema and it fixed the issues, so a minimum version should be pinned in the setup.cfg file.
Thanks for the issue @bpinsard! I'll look into it.
Hi @bpinsard Can you perhaps report the environment and versions of datalad and datalad-catalog for this issue. I could not reproduce this locally.
Installed datalad-catalog, and I got the folllowing error:
updated jsonschema and it fixed the issues, so a minimum version should be pinned in the setup.cfg file.