Add a (potentially temporary) py.typed file? #11945
Labels
needs-decision
Items that need further discussion before they are merged or closed
static typing
Items related to static typing
Milestone
This came up in #11936 (comment).
As of right now type checkers would ignore an installed version of SciPy because we don't have a
py.typed
file per PEP 561:https://www.python.org/dev/peps/pep-0561/#packaging-type-information
This makes it harder for downstream projects that want to test out the types we are adding. What do people think about adding that
py.typed
file now so that people can try the types out, and then removing for the next release if the types aren't ready? (Though I hope at least a rudimentary form of them will be.)This might mean that downstream experimenters have to ignore some errors in their configs, but that seems like a reasonable trade-off.
The text was updated successfully, but these errors were encountered: