Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

py.typed marker missing in v0.18.3 #317

Closed
ska-kialo opened this issue Apr 5, 2022 · 2 comments
Closed

py.typed marker missing in v0.18.3 #317

ska-kialo opened this issue Apr 5, 2022 · 2 comments

Comments

@ska-kialo
Copy link

Hi, I was just trying to upgrade to v0.18.3 and mypy started complaining with the following error message:

error: Skipping analyzing "pytest_asyncio": module is installed, but missing library stubs or py.typed marker

Upon investigation it seems that v0.18.2 still had this file and the new version removed it.

@seifertm
Copy link
Contributor

seifertm commented Apr 5, 2022

Indeed, there was a build error that caused py.typed to be missing from the v0.18.3 wheel (see #314).

However, the file is present in the sdist and a corrected wheel named pytest_asyncio-0.18.3-1-py3-none-any.whl was uploaded to PyPI. The new wheel supersedes the broken pytest_asyncio-0.18.3-py3-none-any.whl and should be automatically selected by pip.

Did you use pip or something else to upgrade pytest-asyncio?
Can you try and find out the exact filename of the pytest-ayncio wheel that's being installed?
Are you downloading directly from PyPI or are you using a private mirror?

@ska-kialo
Copy link
Author

Ah okay, our pip-compiled requirements file was pointing to the previous version. Recompiling it fixes the issue and the correct wheel is downloaded. Thanks for the quick response 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants