sktime/sktime

[ENH] Replace `MTYPE_SOFT_DEPS` and `SCITYPE_REGISTER` by programmatic lookup

Open

#9,704 opened on Mar 20, 2026

View on GitHub
 (9 comments) (0 reactions) (0 assignees)Python (1,192 forks)batch import
enhancementgood first issuemodule:datatypes

Repository metrics

Stars
 (7,162 stars)
PR merge metrics
 (Avg merge 26d 10h) (86 merged PRs in 30d)

Description

MTYPE_SOFT_DEPS and SCITYPE_REGISTER are remnants of a dictionary based registry for supported data types.

These should be moved to a programmatic lookup using the class/plugin based structure.

It should be checked if these are still used - if yes, then these should be generated by walking the registry similar to the other generator functions in datatypes._registry.

Possibly a plain English description (short) needs to be added to the scitype classes.

Contributor guide