Skip to content

Ship a py.typed marker #24

Closed
Closed

Description

@tobixen

Disclaimer: AI-generated text, generated by Claude Opus 5.5 (Claude Code), from the prompt:

file all issues [the upstream typing gaps found while making pycalendar/calendaring pass mypy --strict]


icalendar-searcher 1.2.0 is partly annotated, but it ships no py.typed (PEP 561), so mypy skips it in strict downstream projects:

error: Skipping analyzing "icalendar_searcher": module is installed, but missing library stubs or py.typed marker  [import-untyped]

pycalendar/calendaring works around it with mypy's follow_untyped_imports (PyCalendar/calendaring#8).

Fix: add an empty py.typed to the package, check that the wheel includes it, and add the Typing :: Typed classifier. Finishing the annotations first would be better: only about 21 of 47 functions have return types today.

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