Skip to content

Package ships type stubs but no py.typed marker or __init__.pyi #141

Open

Description

@andrefranken

Version: cel-expr-python 0.1.4 (wheel from PyPI), CPython 3.12.

What happens

The wheel ships type stubs (cel.pyi and ext/*.pyi) but has no py.typed marker and no __init__.pyi. With pyright in strict mode:

from cel_expr_python import cel  # reportMissingTypeStubs

while this form resolves the stub:

import cel_expr_python.cel as cel

Expected

Both import forms resolve the bundled stubs.

Request

Add a py.typed marker and an __init__.pyi to the package, as described in PEP 561.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions