Skip to content

1.15.0 has no py.typed #436

Closed
Closed

Description

@jorenham

This leads to complaints from mypy and basedpyright in scipy-stubs:

scipy-stubs/_lib/_array_api.pyi:11: error: Skipping analyzing "array_api_compat": module is installed, but missing library stubs or py.typed marker  [import-untyped]
scipy-stubs/_lib/_array_api.pyi:11: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
Found 1 error in 1 file (checked 821 source files)
/home/joren/Workspace/scipy-stubs/scipy-stubs/_lib/_array_api.pyi
  /home/joren/Workspace/scipy-stubs/scipy-stubs/_lib/_array_api.pyi:11:6 - error: Stub file not found for "array_api_compat" (reportMissingTypeStubs)
1 error, 0 warnings, 0 notes

Activity

  1. lucascolley commented on Jun 8, 2026

    @lucascolley
    Member
  2. jorenham commented on Jun 8, 2026

    @jorenham
    MemberAuthor

    I think it's just not being packaged or something.

  3. jorenham commented on Jun 8, 2026

    @jorenham
    MemberAuthor

    Here's what the wheel looks like:

    Image
  4. lucascolley commented on Jun 8, 2026

    @lucascolley
    Member

    Ohh okay I missed it out of the meson definition, apologies

  5. jorenham commented on Jun 8, 2026

    @jorenham
    MemberAuthor

    But it's the most important file 😲!

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