can_ada icon indicating copy to clipboard operation
can_ada copied to clipboard

Type definitions not included in sdist or wheel

Open layday opened this issue 1 year ago • 2 comments

The following two files are missing from both the sdist and the wheel:

  • py.typed
  • can_ada.pyi

layday avatar Mar 25 '24 15:03 layday

Weirdly more difficult then it should be to fix this! Old-style manifests no longer seem to work, including it in the pyproject.toml caused a bug in some versions of pip, and in switching fully over to poetry to just use the pyproject.toml approach I ran into poetry bugs with pure extensions (no Python code).

I will most likely fully switch over to poetry + pyproject.toml and will fix the upstream bug in poetry.

TkTech avatar Mar 29 '24 17:03 TkTech

You could try creating a stubs-only package if that's easier, renaming can_ada.pyi to can_ada-stubs/__init__.pyi - see https://peps.python.org/pep-0561/#stub-only-packages.

layday avatar Mar 29 '24 20:03 layday

Resolved with 1.3.0

TkTech avatar Jun 21 '24 09:06 TkTech