Skip to content

Missing py.typed on pypi.org #121

@gnuletik

Description

@gnuletik

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Expected Behavior

PR #74 added py.typed empty files on the project's packages according to PEP 561 to allow mypy to lint the SDK call's.

On this repo, the file is located here : https://github.com/alexa/alexa-skills-kit-sdk-for-python/blob/master/ask-sdk-core/ask_sdk_core/py.typed

On the Github's release, the file is located here: /alexa-skills-kit-sdk-for-python-1.11.0/ask-sdk-core/ask_sdk_core/py.typed
https://github.com/alexa/alexa-skills-kit-sdk-for-python/archive/1.11.0.zip

On pypi.org, the last release (1.11.0) of ask-sdk-core package should have a py.typed file.

Current Behavior

The py.typed file is not in the pypy.org release as you can see here: https://pypi.org/project/ask-sdk-core/1.11.0/#files

Possible Solution

Are empty files removed during the deployment pipeline / CD ?

Steps to Reproduce (for bugs)

$ python3 -m venv py-typed-test
$ source py-typed-test/bin/activate
$ pip install 'ask-sdk-core>=1.11.0'
$ ls py-typed-test/lib/python3.7/site-packages/ask_sdk_core/py.typed
ls: cannot access 'py-typed-test/lib/python3.7/site-packages/ask_sdk_core/py.typed': No such file or directory

Context

Trying to use mypy.

Your Environment

  • ASK SDK for Python used: 1.11.0
  • Operating System and version: Debian 10

Python version info

  • Python version used for development:
    Python 3.7.3
    pip 18.1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions