-
Notifications
You must be signed in to change notification settings - Fork 44
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
tox complains about missing library stubs or py.typed.marker #362
Comments
What is exactly is this? What's tox (looks like a testing framework)? How do I reproduce? Did you build the package or just grab the code, if you don't pip install it you won't generate the bindings. |
Our code uses imports from tpm2_pytss. The tpm2_pytss is installed using this command: python3 -m pip install tpm2-ptss with newest version 1.2.0. As you can see in my previous log, there is a hint link missing imports, where you can read about this error. tox uses mypy package for static analysis of our code and due to this test I'm getting these errors. The command which is in tox.ini looks like that: commands =
mypy: mypy . --strict |
So, per the docs:
So we need a py.typed file I think... I need information on how to reproduce. |
Ok I have prepared fully workable docker for you with little code, which only imports from tpm2-pytss. To run and get the errors please run this command: docker-compose run test |
Like in subject during testing our code which uses pytss I'm getting this errors:
I suppose, that as the link suggests we are missing typing support in tpm2-pytss package.
The text was updated successfully, but these errors were encountered: